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 <[email protected]> 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 <[email protected]> >> >> 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 <[email protected]> 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 >> > [email protected] >> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > > > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
