[Click] PollDevice takes kclick to 99.9% CPU

rchertov at cs.ucsb.edu rchertov at cs.ucsb.edu
Thu May 20 12:46:50 EDT 2010


On 9:26 am 05/20/10 Peter Dedecker <Peter.Dedecker at intec.ugent.be> wrote:
> Hi all,
> 
> Is it a normal behaviour that using a simple script with PollDevice, 
> count, bandwidthshaper and toDevice, results in a 99.9% CPU usage of
> the kclick thread, even when no packets are sent or recieved?

Yes.  This is because PollDevice is always rescheduling polling tasks and
hence is always running.

> 
> I use the 1.8.0 version of click with a 2.6.24.7 patched kernel and 
> patched e1000e driver on PCI-E cards. I couldn't get the current click 
> snapshot compiled.

You should post the compilation error to the list.

Roman

> 
> Thanks a lot.
> 
> Kind Regards,
> 
> Peter
> 
> 
> -- 
> ir. Peter Dedecker
> Department of Information Technology
> Broadband Communication Networks (IBCN)
> Ghent University - IBBT
> Gaston Crommenlaan 8 (Bus 201), B-9050 Gent, Belgium
> M: +32 486152320
> T: +32 9 33 14946 ; T Secr: +32 9 33 14900
> F: +32 9 33 14899
> E: Peter.Dedecker at intec.UGent.be
> W : www.ibcn.intec.UGent.be
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list