Date: Tue, 24 Mar 2009 15:14:33 +0200 From: Alexander Motin <mav@FreeBSD.org> To: Andrey Kropachev <andrey.kropachev@gmail.com> Cc: freebsd-net@freebsd.org Subject: Re: dummynet and smp Message-ID: <49C8DCB9.5040406@FreeBSD.org> In-Reply-To: <1237897382.00091371.1237885201@10.7.7.3> References: <1237897382.00091371.1237885201@10.7.7.3>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49C8DCB9.5040406>