Date: Wed, 15 Aug 2012 01:42:51 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: lev@freebsd.org Cc: current@freebsd.org Subject: Re: CURRENT as gateway on not-so-fast hardware: where is a bottlneck? Message-ID: <CAGH67wTxgaAfhDA0F4Z_=ouvPYLWw28MZ7PBLm0Du%2BKssFNLDQ@mail.gmail.com> In-Reply-To: <42630017.20120815122119@serebryakov.spb.ru> References: <157941699.20120815004542@serebryakov.spb.ru> <42630017.20120815122119@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 15, 2012 at 1:21 AM, Lev Serebryakov <lev@freebsd.org> wrote: > Hello, Lev. > You wrote 15 =C1=D7=C7=D5=D3=D4=C1 2012 =C7., 0:45:42: > > LS> Answer looks trivial: router CPU is bottleneck. But here is one addi= tional > LS> detail: `top' never shows less than 50% of idle when torrents are > LS> active. And `idle' time with torrents traffic is ALWAYS is higher tha= n > LS> without them, but with WiFi traffic. > Ok, additional information: it seems, that `top' is liar when > POLLING is enabled for em0 and vr1 NICs. I'm turned POLLING off, and > speeds are the same, but `idle' is no more 50%, it is `0%' when > gateway is overloaded. > > But i still feezes under load with ULE. It looks like ULE is broken. Not sure what card you have, but the lem style e1000 cards were changed recently (r238953) to use poll a bit differently. Try setting "hw.em.use_legacy_irq=3D1" as a tunable and see what happens or remove DEVICE_POLLING altogether? The clock and scheduling code has also been changed recently (r239185, r239194, r239183, r239157, r239036, r239013). See if reverting any or all of the beforementioned commits helps improve performance for you. HTH! -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wTxgaAfhDA0F4Z_=ouvPYLWw28MZ7PBLm0Du%2BKssFNLDQ>