From b5e0a0a0a6c8d5b904742cc3f324e03776809645 Mon Sep 17 00:00:00 2001 From: Martin Siegumfeldt Date: Tue, 25 Mar 2025 18:23:06 +0100 Subject: [PATCH] iperf3: upgrade 3.17.1 -> 3.18 drop backported patch Signed-off-by: Martin Siegumfeldt Signed-off-by: Khem Raj --- ...-not-listen-to-old-udp-prot-listener.patch | 30 ------------------- .../{iperf3_3.17.1.bb => iperf3_3.18.bb} | 3 +- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch rename meta-oe/recipes-benchmark/iperf3/{iperf3_3.17.1.bb => iperf3_3.18.bb} (90%) diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch deleted file mode 100644 index da1664ddcf..0000000000 --- a/meta-oe/recipes-benchmark/iperf3/iperf3/do-not-listen-to-old-udp-prot-listener.patch +++ /dev/null @@ -1,30 +0,0 @@ -From ac6b9f7fd335ddebc5212eed40083ef4cd3cb86d Mon Sep 17 00:00:00 2001 -From: David Bar-On -Date: Sun, 2 Jun 2024 11:52:03 +0300 -Subject: [PATCH] Do not listen to old pro_listener - -Clear old UDP prot_listener from read_set, as currently the server's select() -always return when data (that is relevant only to the worker thread) is -received. This makes the main thread consume a lot of unnecessary CPU, which -reduces the total throughput - especially when only one stream is used. - -In my single machine environment, with the this fix the throughput is -increased by about 40% for one stream test. ---- -Upstream-Status: Backport [3.18] - - src/iperf_udp.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/iperf_udp.c b/src/iperf_udp.c -index a603236df..40f2b1ca7 100644 ---- a/src/iperf_udp.c -+++ b/src/iperf_udp.c -@@ -446,6 +446,7 @@ iperf_udp_accept(struct iperf_test *test) - /* - * Create a new "listening" socket to replace the one we were using before. - */ -+ FD_CLR(test->prot_listener, &test->read_set); // No control messages from old listener - test->prot_listener = netannounce(test->settings->domain, Pudp, test->bind_address, test->bind_dev, test->server_port); - if (test->prot_listener < 0) { - i_errno = IESTREAMLISTEN; diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.17.1.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb similarity index 90% rename from meta-oe/recipes-benchmark/iperf3/iperf3_3.17.1.bb rename to meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb index c84ce5e630..77b441e506 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.17.1.bb +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb @@ -15,11 +15,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9873a72f714e240530e759e103ac7b2" SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ file://0002-Remove-pg-from-profile_CFLAGS.patch \ file://0001-configure.ac-check-for-CPP-prog.patch \ - file://do-not-listen-to-old-udp-prot-listener.patch \ file://0001-fix-build-with-gcc-15.patch \ " -SRCREV = "2acfcfe94e928e74542c9f107e02aa6dd4748a79" +SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" S = "${WORKDIR}/git"