dummynet and smp
Alexander Motin
mav at FreeBSD.org
Tue Mar 24 07:14:37 PDT 2009
Andrey Kropachev wrote:
> Is there an opportunity to scale dummynet on a number of cpu's? Currently my
> router processes about 200Mbit/s and around 50kpps. The dummynet takes about
> 80% of one processor. So, can dummynet be scaled, or can i somehow decrease
> the cpu usage of dummynet?
Dummynet itself quite effective. The 80% you see is probably some other
routines called after packets leaving dummynet. So you should try to
optimize other things as much as possible. 200Mbit/s and 50kpps is a
quite moderate traffic now.
Dummynet queue handler is really single-threaded, so the only thing you
can do is to enable new dummynet feature, that allows to bypass delay
when queue is not congested.
--
Alexander Motin
More information about the freebsd-net
mailing list