All of lore.kernel.org
 help / color / mirror / Atom feed
* CPU usage of simple DROP rule
@ 2009-09-29 18:31 Steve Fink
  2009-09-29 19:27 ` Marek Kierdelewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Fink @ 2009-09-29 18:31 UTC (permalink / raw)
  To: netfilter

(Oops; originally posted onto wrong list.)

I have a single OUTPUT rule (drop a particular UDP host:port) that
eats up a whole CPU core and a half (I have 8 cores total). It is the
only rule I have. It doesn't matter whether I do it in the raw table
or the filter table. This is when I'm just about maxing out 5 gigabit
NICs (outgoing traffic only). The rule matches nearly all of the
packets.

Is there any way to reduce the load, or at least spread it out over all CPUs?

My 8 cores are all at about 30% usage when I have no rules defined
(and the packets are going out to the switch). When I add that rule,
one of the cores shoots to 100%, another to 70% or so. The rest don't
really change.

I'm trying to figure out how to accomplish the same thing with a
blackhole route for comparison's sake, but I can't get it to work --
the packets are still going out.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-30  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-29 18:31 CPU usage of simple DROP rule Steve Fink
2009-09-29 19:27 ` Marek Kierdelewicz
2009-09-29 19:45   ` Steve Fink
2009-09-30  8:02     ` Marek Kierdelewicz

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.