Hi All,
I have a box with 12 bridges on it, each of which has 2 ports.
When the traffic level on the box reaches around 15-20Mbps on each
bridge, my CPU utilisation gets to about 90-95%.
I would like to avoid working the CPU that hard. Is there anything which
can be done to get the CPU utlilisation down a bit? I have plans for an
even bigger bridge, but these results indicate that it may not scale
quite that well.
Regards,
Leigh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.linux-foundation.org/pipermail/bridge/attachments/20071101/8d295fc9/attachment.html
On Thu, 1 Nov 2007 09:00:07 +1100 "Leigh Sharpe" <lsharpe@pacificwireless.com.au> wrote:> Hi All, > I have a box with 12 bridges on it, each of which has 2 ports. > When the traffic level on the box reaches around 15-20Mbps on each > bridge, my CPU utilisation gets to about 90-95%. > I would like to avoid working the CPU that hard. Is there anything which > can be done to get the CPU utlilisation down a bit? I have plans for an > even bigger bridge, but these results indicate that it may not scale > quite that well. > > Regards, > Leigh > >Learn how to use oprofile and figure out where the time is going. You might be getting hit by the choice of network interface. -- Stephen Hemminger <shemminger@linux-foundation.org>
I'm using e1000 cards.
According to oprofile, around 50% of the time is spent in the e1000
driver.
Given that my load average is still under 0.5, I suspect I've got plenty
of room for the driver to handle more traffic before I need to worry too
much.
________________________________
From: Vaidas M [mailto:admin@vdx.lt]
Sent: Tuesday, 6 November 2007 9:32 PM
To: Leigh Sharpe
Subject: RE: [Bridge] Lowering CPU utilisation
What kind of NIC you are using?
I suggest you to use cards with NAPI featured in driver.
_ _ _ _ _ _ _ __ ___ ____ _____
Vaidas M.
From: bridge-bounces@lists.linux-foundation.org
[mailto:bridge-bounces@lists.linux-foundation.org] On Behalf Of Leigh
Sharpe
Sent: Thursday, November 01, 2007 12:00 AM
To: bridge@lists.linux-foundation.org
Subject: [Bridge] Lowering CPU utilisation
Hi All,
I have a box with 12 bridges on it, each of which has 2 ports.
When the traffic level on the box reaches around 15-20Mbps on each
bridge, my CPU utilisation gets to about 90-95%.
I would like to avoid working the CPU that hard. Is there anything which
can be done to get the CPU utlilisation down a bit? I have plans for an
even bigger bridge, but these results indicate that it may not scale
quite that well.
Regards,
Leigh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.linux-foundation.org/pipermail/bridge/attachments/20071107/417300c3/attachment.html
> Did you remember to configure NAPI for the e1000 driver (it isoptional). As far as I can tell, it's on by default. A 'make menuconfig' shows "Use Rx Polling (NAPI)" as being enabled. -----Original Message----- From: Stephen Hemminger [mailto:shemminger@linux-foundation.org] Sent: Wednesday, 7 November 2007 9:19 AM To: Leigh Sharpe Cc: Vaidas M; bridge@lists.linux-foundation.org Subject: Re: [Bridge] Lowering CPU utilisation On Wed, 7 Nov 2007 08:51:41 +1100 "Leigh Sharpe" <lsharpe@pacificwireless.com.au> wrote:> I'm using e1000 cards. > According to oprofile, around 50% of the time is spent in the e1000 > driver. > Given that my load average is still under 0.5, I suspect I've gotplenty> of room for the driver to handle more traffic before I need to worrytoo> much. > >Did you remember to configure NAPI for the e1000 driver (it is optional). -- Stephen Hemminger <shemminger@linux-foundation.org>