Re: [Iperf-users] Threading and CPU affinity in iperf2/iperf3

2023-09-26 Thread Bob McMahon via Iperf-users
Hi Bruce, We do -c localhost testing to help isolate performance issues too. I think there are a few classes of bottlenecks that you and your team are aware of: - Core frequencies or cycle times, i.e. cpu limits - On chip accesses, including L1/L2 cache accesses - Pin i/o access, off chi

Re: [Iperf-users] Threading and CPU affinity in iperf2/iperf3

2023-09-26 Thread Bruce A. Mah
Hrm, no not doing zero-copy. We probably need to do some more testing to try to nail this stuff down a bit. The latest results we've been seeing (not by me personally) are less clear. I'll let the people who were actually doing this testing (or are closer to it) chime in if and when they feel l

Re: [Iperf-users] Threading and CPU affinity in iperf2/iperf3

2023-09-25 Thread Bruce A. Mah
Thanks Bob! Yes the effects of CPU affinity were new to us before testing the multi-threading code. At least that's when I started noticing their effects (or rather, a couple colleagues pointed this out to me). This coincided with us getting results from some different test environments, so it m

Re: [Iperf-users] Threading and CPU affinity in iperf2/iperf3

2023-09-25 Thread Bob McMahon via Iperf-users
Iperf2 doesn't support zero copy. Are your tests using that? Did you try Iperf2 on your system? I can add an affinity option if you find it helpful. Bob On Mon, Sep 25, 2023, 7:14 AM Bruce A. Mah wrote: > Thanks Bob! Yes the effects of CPU affinity were new to us before testing > the multi-thre

Re: [Iperf-users] Threading and CPU affinity in iperf2/iperf3

2023-09-22 Thread Bob McMahon via Iperf-users
I should note that I mostly test on WiFi networks or 10G. There may be improvements on 100G+ with CPU affinity and I just haven't tried it. Bob On Fri, Sep 22, 2023, 10:52 AM Bob McMahon wrote: > Hi Bruce, > > Iperf 2 doesn't support CPU affinity. It lets the OS schedule threads on > cores. I t

Re: [Iperf-users] Threading and CPU affinity in iperf2/iperf3

2023-09-22 Thread Bob McMahon via Iperf-users
Hi Bruce, Iperf 2 doesn't support CPU affinity. It lets the OS schedule threads on cores. I tried to use CPU affinity a few years ago and I didn't notice any performance impact. I was kinda of surprised by this. I have no idea why there is different behavior between 2 & 3 per this. Bob On Fri, S

[Iperf-users] Threading and CPU affinity in iperf2/iperf3

2023-09-22 Thread Bruce A. Mah
Hey Bob-- As we're doing some testing of the multi-threaded iperf3 in various environments, we've observed (not surprisingly) that CPU pinning of threads can have a significant impact on the throughput of tests. Generally we're running on some recent Ubuntu distribution of Linux. I'm trying to

[Iperf-users] Threading

2014-07-21 Thread arrows Himma
Hi,This is arrows.I want to have multiple simultaneous connections from different clients to a single server using -P in iperf . but first , i am required to enable threading in the client and the server.How to do it? I appreciate your helpThank you,Siham ---