Date: Wed, 20 Oct 2004 08:08:32 -0500 From: Eric Anderson <anderson@centtech.com> To: Oleg Gawriloff <barzog@telecom.by> Cc: freebsd-performance@freebsd.org Subject: Re: decreasing interrupt CPU load Message-ID: <41766350.4080901@centtech.com> In-Reply-To: <004001c4b69d$80e21f40$0c0210ac@ADMIN1> References: <004001c4b69d$80e21f40$0c0210ac@ADMIN1>
next in thread | previous in thread | raw e-mail | index | archive | help
Oleg Gawriloff wrote: > Hello! > > Currently we have router on FreeBSD 4.10-R on SMP 2*PIII 1Ghz. 5sec > average traffic trhough fxp on Intel 82550 is about 12kpps (26Mbit/sec). > CPU Load on interrupts shown in top and systat -v 1 always above 40%. > We've tried to enable polling with HZ=1000, but cpu load does not > change, instead round trip time increased from 1ms to 20ms. Also we've > tried link0, no success. Is any other options to decrease interrupt cpu > load? May be enabling fast forwarding, change fxp to em or bge NIC? Is > there exist any drawbacks from enabling fast forwarding? I've had really great performance with the em NICs, and bad experiences with bge's (the hardware is flaky). You might want to check if the interface has checksuming enabled. I believe disabling/enabling can change the performance, however I'm not certain how much, etc. In ifconfig, look for something like: options=3<rxcsum,txcsum> If you don't need any firewalling, I would compile a custom kernel with as much removed as you can, specifically firewall related items. Also - it's possible that your bus is the bottleneck - depending on how many NICs you have, the type of bus, and the motherboard. Eric -- ------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Talk sense to a fool and he calls you foolish. ------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41766350.4080901>