All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Wartak <vnulllists@pcnet.com.pl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] filter performance/optimization questions
Date: Sun, 12 Feb 2006 11:30:42 +0000	[thread overview]
Message-ID: <200602121230.42902.vnulllists@pcnet.com.pl> (raw)
In-Reply-To: <43EA2A95.1000307@astral.ro>

Dnia ¶roda, 8 lutego 2006 18:29, Imre Gergely napisa³:
> hi
>
> i'm using htb + u32 filters, and i was wondering if there is something one
> can optimize at this stage. i have a lot of filters (~ 50.000 / interface,
> and there are two interfaces), and around 4500 classes / interface. the
> traffic going through this machine is something around 210-230mbit/s at
> 50kpps. as you can imagine, the load is pretty high. in fact (as it's a
> dual xeon at 2.4ghz), one CPU is always at 100% when the traffic increases.
>
> i did some tests with esfq (that brought down the classes to around 150),
> but the filters remained, and the load was still 100%. and i get some
> packet loss because of that. not much, around 1-2%, but it's enough :)
>
> is there something i could do to bring the load down? short of replacing
> the whole system? i didn't find anything performance-related on the net, or
> in any documentation.
>
> thanks.

Show your dmesg, cat /proc/interrupts ( or use itop to determine which 
card/interface is hogging ), lsmod and .config from kernel compilation
Also show us ip -s link

What ethcards do you have, is NAPI enabled on them ?

You could also disable connection tracking if that's not done already. 

And finally, are you using any libpcap based application ?

-- 
Jakub Wartak
-vnull
FreeBSD/OpenBSD/Linux/Solaris/Network Administrator
http://vnull.pcnet.com.pl/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2006-02-12 11:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 17:29 [LARTC] filter performance/optimization questions Imre Gergely
2006-02-08 17:37 ` Andreas Klauer
2006-02-08 17:58 ` Imre Gergely
2006-02-08 18:43 ` Dmytro O. Redchuk
2006-02-12  1:32 ` Andreas Klauer
2006-02-12 11:30 ` Jakub Wartak [this message]
2006-02-14 11:08 ` Imre Gergely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602121230.42902.vnulllists@pcnet.com.pl \
    --to=vnulllists@pcnet.com.pl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.