History log of /freebsd/tests/sys/netinet/libalias/perf.c (Results 1 – 10 of 10)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# 6fde0662 07-Jul-2023 Alfonso Gregory <gfunni234@gmail.com>

Mark usage function as __dead2 in programs where it does not return

In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dea

Mark usage function as __dead2 in programs where it does not return

In most cases, usage does not return, so mark them as __dead2. For the
cases where they do return, they have not been marked __dead2.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/735

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0
# 5434ebd2 28-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Measure cleanup time separatly

After long test runs, a lot of ressouces can be allocated. Freeing
them takes a considerable amount of time.


# f4c460da 26-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Fix build error due to wrong prototype


# fef99da6 26-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Add missing prototype to fix build error


# d62e1ecb 24-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Add port forwardings

Add port forwardings to the performance tests. This will cause random
incoming packets to match the random port forwardings opends beforehand.

MFC after: 1 wee

tests/libalias: Add port forwardings

Add port forwardings to the performance tests. This will cause random
incoming packets to match the random port forwardings opends beforehand.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30443

show more ...


# 6e87898a 23-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Improve testing

gettimeofday(3) is almost as expensive as the calls to libalias.
So the call frequency for this call is reduced by a factor of 1000 in
order to neglect it's influence

tests/libalias: Improve testing

gettimeofday(3) is almost as expensive as the calls to libalias.
So the call frequency for this call is reduced by a factor of 1000 in
order to neglect it's influence.

Using NAT entries became more realistic: A communication of a random
length of up to 150 packets (10% outgoing, 90% incoming) is applied
for each entry.

Precision of the execution time is raised to see the trends better.

Reviewed by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30405

show more ...


# f1462ab0 24-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Factor out common primitives

Rework the tests to check the correct layer in a single test.
Factor out tests for reuse in other modules.

MFC after: 1 week
Differential Revision: http

tests/libalias: Factor out common primitives

Rework the tests to check the correct layer in a single test.
Factor out tests for reuse in other modules.

MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30412

show more ...


# 7b8696bf 24-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Add missing copyright statements


# ccac04ca 23-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

test/libalias: Fix build errors on various platforms

struct timeval has an unspecified integral type, which needs to be
canonfied before beeing usable by printf(3).


# 33c1bdfc 21-May-2021 Lutz Donnerhacke <donner@FreeBSD.org>

tests/libalias: Add perfomance test utility

In order to compare upcoming changes for their effectivness, measure
performance by counting opertions and the runtime of each operation
over the time. A

tests/libalias: Add perfomance test utility

In order to compare upcoming changes for their effectivness, measure
performance by counting opertions and the runtime of each operation
over the time. Accumulate all tests in a single instance, so make it
complicated over the time. If you wait long enough, you will notice
the expiry of old flows.

Reviewed by: kp (earlier version)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30379

show more ...