Click performance benchmark results
Brecht Vermeulen
brecht.vermeulen at rug.ac.be
Tue Mar 5 02:23:25 EST 2002
Hi Eddie,
I've tried your hint regarding the nice levels:
helios103:~# cat test_tcpdump
PollDevice(eth1,1)->Counter->ToLinuxSniffers();
Idle->ToDevice(eth1);
helios103:~# pico -w test_tcpdump
helios103:~# click-install --priority=20 test_tcpdump
helios103:~# nice -n -20 tcpdump -i eth1 -w /dev/null
but this doesn't give any improvement.
If I e.g. send 500000 packets at 50000/s during 10s, then the Counter
receives 495000 packets and tcpdump
only 24000.
click still uses 98% CPU while tcpdump receives 2%
If I use FromDevice(eth1,1) then tcpdump receives 106000 packets and
click and tcpdump take approx. 50% CPU.
Without click tcpdump receives 216000 packets.
I haven't tried your other solutions (I haven't the time for now, I hope
Joe can try them :-) ).
regards,
Brecht
More information about the click
mailing list