relationship between cpu_affinity and Packet RX Processing

Kumar amit mehta gmate.amit at gmail.com
Tue Mar 26 14:54:56 EDT 2013


On Tue, Mar 26, 2013 at 11:45:55AM -0700, Arlie Stephens wrote:
> I don't know for sure what linux does, but the NICs I've seen with
> multiple queues tend to select queues by hashing incoming packets
> based on source IP, sourse port, destination IP, destination port and
> (if TCP) protocol.  
> 
> This is done because you generally want all packets for a given
> connection in the same queue. 
> 
> For a single ping, always to the same destination, all packets will
> hash the same, and so wind up in the same queue. 
>

I think what you are referring to is called RSS(Recieve side scalling), which
I think is a different feature. IIRC, windows ndis driver implements this
feature.



More information about the Kernelnewbies mailing list