[netperf-talk] affinitizing netserver threads

Alexander Duyck alexander.h.duyck at intel.com
Mon Dec 19 09:04:51 PST 2011


Have you guys looked at the "-T" option in netperf?  That should control 
CPU affinity for both the netperf and netserver thread.

Thanks,

Alex

On 12/18/2011 03:47 AM, Matthew Faulkner wrote:
> A couple of years ago I had the same requirement, but at the time 
> netperf couldn't do this.
>
> I remember reading that the new version (4?) was going to support it, 
> but I couldn't wait for it. So a colleague and I wrote a similar 
> application to netperf which supported threaded affinity.
>
> Details about this project are at:
>
> http://bramp.net/blog/threadnetperf-v1-0
>
> It was submitted to github and is available at:
>
> https://github.com/bramp/threadnetperf
>
> Hope this helps.
>
> Dr. Matthew Faulkner
>
> On 18 December 2011 00:12, Vishal Ahuja <vahuja4 at gmail.com 
> <mailto:vahuja4 at gmail.com>> wrote:
>
>     Hi All,
>
>     netserver spawns one thread per connection. Is there a way to
>     affinitize the individual threads to specific cores.
>
>     Thank you,
>     Vishal
>
>     _______________________________________________
>     netperf-talk mailing list
>     netperf-talk at netperf.org <mailto:netperf-talk at netperf.org>
>     http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-talk
>
>
>
>
> _______________________________________________
> netperf-talk mailing list
> netperf-talk at netperf.org
> http://www.netperf.org/cgi-bin/mailman/listinfo/netperf-talk



More information about the netperf-talk mailing list