From mboxrd@z Thu Jan 1 00:00:00 1970 From: gmate.amit@gmail.com (Kumar amit mehta) Date: Tue, 26 Mar 2013 11:54:56 -0700 Subject: relationship between cpu_affinity and Packet RX Processing In-Reply-To: <20130326184555.GA23561@worldash.org> References: <20130326183133.GA6146@gmail.com> <20130326184555.GA23561@worldash.org> Message-ID: <20130326185456.GA6868@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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.