Re: SMP in regards to routing/filtering

Linux Advanced Routing and Traffic Control

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

 



On Fri, Aug 30, 2002 at 10:11:46PM -0500, Phil Doroff wrote:
> Hey, quick (stupid) question..
> 
> 	Is the routing/filtering code in the linux kernel able to take much
> advantage of SMP?  I'm building a router that I'd like to be able to handle
> at least 450mbit/sec (64bit 66mhtz PCI slots of course) and be able to apply
> QoS (basic prio queues) and htb/etc. traffic shaping to.

Under some circumstances, a second CPU can be very useful. It depends on
what you are doing, but the Linux networking core is completely able to
paralelly use processors. 

You may need to do some work to give each network adaptor a dedicated CPU
and you will also want to have multiple PCI busses.

> Just wondering if it's worth grabbing an extra processor for the box, or if
> it will largely go unused.

It will see use but if you mess things up, it will not help. So make sure
that you search on 'irq affinity' and the utility of multiple PCI busses.
Perhaps a 64-bit 66MHz bus is fast enough to get by with one.

Regards,

bert hubert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux