Ah,
Say you have 4-port NIC and you are running 4 instances of iperf ...
One instance on one port to achieve max bandwidth....
Also assume that you have quad core processor....

So, my settings would be to assign
core-0 to iperf-instance-0
core-1 to iperf-instance-1
core-2 to iperf-instance-2
core-3 to iperf-instance-3
through smp_affinity

maybe not a proper write-up.... but should makes sense...

Thanks,
Viral


> -----Original Message-----
> From: kernelnewbies-bou...@nl.linux.org [mailto:kernelnewbies-
> bou...@nl.linux.org] On Behalf Of Robert P. J. Day
> Sent: Friday, July 16, 2010 4:33 PM
> To: Kernel Newbies
> Subject: why change the irq smp_affinity of a process?
>
>
>   one of my current students observes the following -- that the proc
> files /proc/irq/<PID>/smp_affinity are not only readable, but writable
> and wonders why one would want to *change* the smp_affinity of IRQs
> for a given process (if that's actually what that would mean).
>
>   i've never looked closely at that.  any thoughts?
>
> rday
>
> --
>
> =======================================================================
> =
> Robert P. J. Day                               Waterloo, Ontario,
> CANADA
>
>         Top-notch, inexpensive online Linux/OSS/kernel courses
>                         http://crashcourse.ca
>
> Twitter:
> http://twitter.com/rpjday
> LinkedIn:
> http://ca.linkedin.com/in/rpjday
> =======================================================================
> =
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecar...@nl.linux.org
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>
> ______________________________________________________________________

This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to