[Click] About dynamic polling

shule ney neyshule at gmail.com
Wed Apr 13 12:29:23 EDT 2011


Ok, but once I start kernel click, it's always 100%, this should not be the
case that other tasks take the whole CPU.

2011/4/13 Adam Greenhalgh <a.greenhalgh at cs.ucl.ac.uk>

> But if click is only running as part of the kernel idle loop it
> shouldn't matter if the incoming packet rate is low , the CPU should
> switch to undertake what ever tasks are being demanded of it leaving
> click to run when it isn't doing anything else.
>
> adam
>
> On 13 April 2011 17:06, shule ney <neyshule at gmail.com> wrote:
> > What I'm thinking about is when the incoming packet rate is low, high
> rate
> > polling is not needed and you can make use of CPU to do other tasks,
> while
> > if you are always 100%, it's not possible.
> >
> > 2011/4/13 Adam Greenhalgh <a.greenhalgh at cs.ucl.ac.uk>
> >>
> >> Unless I'm wrong, the click router exploits the idle cycles of the
> >> kernel to undertake its polling and other tasks. So unless you are
> >> wanting to undertake power management, why are you worried about the
> >> CPU being at 100% if click is just filling the idle tasks ? I am sure
> >> Eddie or someone else will correct me if I am wrong.
> >>
> >> adam
> >>
> >> On 13 April 2011 16:40, shule ney <neyshule at gmail.com> wrote:
> >> > Hi all:
> >> > I'm using intel 8254 family NIC, now I want to make the polling
> >> > mechanism dynamically(now it's constant rate polling and CPU usage is
> >> > always
> >> > 100%), is there any suitable patch for my setups? Thanks very much to
> >> > reply.
> >> > _______________________________________________
> >> > click mailing list
> >> > click at amsterdam.lcs.mit.edu
> >> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> >> >
> >
> >
>


More information about the click mailing list