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 understand a report that iperf2 seems to automatically Do The 
Right Thing (tm) with respect to getting threads on the right CPU cores 
(particularly on multiple CPU package systems). But by contrast, good 
performance with iperf3 needs either the -A option for CPU affinity or running 
iperf3 within an invocation of numactl. I haven't yet had the opportunity to 
experiment with iperf2 much in this kind of environment.

Is there some magic that iperf2 does to automatically figure out a good 
placement for the threads it spawns? I've looked through the source code (in 
particular compat/Thread.c) but I can't find anything applicable. I'd love to 
do something similar, if indeed this exists, in iperf3.

Thanks!

Bruce.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to