Date: Fri, 22 Jan 2010 14:46:28 +0100 From: Luigi Rizzo <rizzo@iet.unipi.it> To: Evgenii Davidov <dado@korolev-net.ru> Cc: freebsd-ipfw@freebsd.org Subject: Re: dummynet: waking up pipe Message-ID: <20100122134628.GA22078@onelab2.iet.unipi.it> In-Reply-To: <20100122133535.GD19815@korolev-net.ru> References: <ygek4wmyp3j.wl%ume@mahoroba.org> <25ff90d60912180612y2b1f64fbw34b4d7f648762087@mail.gmail.com> <yged42c4770.wl%ume@mahoroba.org> <25ff90d61001021736p7b695197q104f4a7769b51b71@mail.gmail.com> <yge8wc5u872.wl%ume@mahoroba.org> <20100110185232.GA27907@onelab2.iet.unipi.it> <20100112110539.GQ10388@korolev-net.ru> <20100122131026.GC19815@korolev-net.ru> <20100122133905.GA21059@onelab2.iet.unipi.it> <20100122133535.GD19815@korolev-net.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 22, 2010 at 04:35:35PM +0300, Evgenii Davidov wrote: ... > > > > my problem is that dummynet cpu usage jumps from 0 to 99%: > > > > > > > > 33 root 1 -68 - 0K 8K - 1 512.6H 86.18% dummynet > > > > 33 root 1 -68 - 0K 8K - 1 512.6H 85.89% dummynet > > > > 33 root 1 -68 - 0K 8K - 1 512.6H 88.28% dummynet > > > > 33 root 1 -68 - 0K 8K - 0 512.6H 78.17% dummynet > > > > 33 root 1 -68 - 0K 8K - 0 512.6H 0.88% dummynet > > > > 33 root 1 -68 - 0K 8K - 1 512.6H 0.10% dummynet > > > > 33 root 1 -68 - 0K 8K - 1 512.7H 0.00% dummynet > > > > 33 root 1 -68 - 0K 8K - 1 512.7H 0.10% dummynet > > > > i am not too clear on why this happens -- there shuold be only > > one instance of the dummynet thread, not 8 as in your case. > > no-no, one instance, it's a grep of a top log ok then it's rather normal -- the task wakes up every millisecond and it might have hundreds of packets to send at once, especially when the machine is heavily loaded as in your case.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100122134628.GA22078>