[SiByte] Re: SiByte-users digest, Vol 1 #11 - 1 msg

Haitao Zhang hzhang@ch.mvista.com
Thu, 09 Sep 2004 18:08:42 +0800


Hi, Yunhong


Since 2.4.20(?) mips kernel, you can assign specific interrupt to CPU1.
that's called 'SMP IRQ affinity'. so you can configure it freely via
'/proc' fs.
please see 'kernel//Documentation/IRQ-affinity.txt' for more details.

enjoy :)



Haitao Zhang

>Date: Tue, 7 Sep 2004 18:35:26 -0700
>From: "Yunhong Li" <YLi@tarari.com>
>To: <sibyte-users@bitmover.com>
>Subject: [SiByte] SMP Issue -- Why all packets are processed by CPU0 for the network stack?
>
>Hi, All:
> 
>I have a BCM91250A board (two CPU cores) and am running MV Linux Previewkit. I noticed that all incoming TCP packets are processed by CPU0 for the network stack (by examing /proc/net/softnet_stat). CPU1 does not process any incoming packets at all in the network stack. I don't belive that it is the nature of the Linux kernel. Does anyone know what is the reason and how to fix it?
> 
>Thanks.
>--Yunhong
> 
>
>
>
>--__--__--
>
>_______________________________________________
>SiByte-users mailing list
>SiByte-users@bitmover.com
>http://www.bitmover.com/mailman/listinfo/sibyte-users
>
>
>End of SiByte-users Digest
>  
>