Re: relationship between cpu_affinity and Packet RX Processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux