From mboxrd@z Thu Jan 1 00:00:00 1970 From: gmate.amit@gmail.com (Kumar amit mehta) Date: Tue, 26 Mar 2013 12:05:21 -0700 Subject: relationship between cpu_affinity and Packet RX Processing In-Reply-To: References: <20130326183133.GA6146@gmail.com> Message-ID: <20130326190521.GB6868@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Tue, Mar 26, 2013 at 08:35:56PM +0200, Rami Rosen wrote: > 1) Regarding rx queues: what does > "ls /sys/class/net/eth0/queues" > show ? > $ ls /sys/class/net/eth0/queues rx-0 tx-0 > 2) can you try setting affinity for working only with CPU3 > and see what happens after some traffic is sent by > cat /proc/interrupts? > # echo 8 > /proc/irq/19/smp_affinity # cat /proc/irq/19/smp_affinity 08 $ cat /proc/interrupts |grep eth0 19: 20635 78 387 1857 IO-APIC-fasteoi eth0 $ cat /proc/interrupts |grep eth0 19: 20635 78 387 3041 IO-APIC-fasteoi eth0 Now only, CPU3 is processing the packets. So, i think, this driver(pcnet32) is not using multiple Rx Queue.