Click performance benchmark results

Eddie Kohler kohler at icir.org
Mon Mar 4 14:00:02 EST 2002


Click-install has a `--priority=X' option that you can use to reduce the
priority of the kernel process. Try that; does it help?

> If you cant do this, can you suggest a location for me to place the code?
> I want to constrain click.o to only consume 50% of the CPU. 

Look at lib/routerthread.cc, and in particular, the driver() and wait()
functions. One simple idea: reduce the DRIVER_ITER_LINUXSCHED value, to
return control to Linux more often.

> Is the
> standard select() call available in the kernel space?

No.

Eddie



More information about the click mailing list