Re: pollng: pcap bench
- From: Olivier Warin <daffy@xxxxxxxxx>
- Date: Mon, 24 Sep 2007 09:18:33 +0200
Le 19 sept. 07 à 16:59, Fabien THOMAS a écrit :
Result of pcap benchmark requested by Vlad Galu:
Using polling is better.
Test setup:
---------------
netblast -- em|fxp -- pcap_bmark
under FreeBSD 6.2
Small product (fxp interface):
---------------------------------------
pollng:
Captured 30322.00 pps (total of 333542) and dropped 144
Captured 30358.45 pps (total of 333943) and dropped 219
Captured 30253.18 pps (total of 332785) and dropped 151
Captured 30276.82 pps (total of 333045) and dropped 88
Captured 30362.64 pps (total of 333989) and dropped 369
intr:
Captured 0.01 pps (total of 6877442) and dropped 6876215
completly stuck with intr mode so the period take more than 10s.
Large product (em interface):
---------------------------------------
pollng:
Captured 114669.09 pps (total of 1261360) and dropped 0
Captured 115263.18 pps (total of 1267895) and dropped 0
Captured 115226.45 pps (total of 1267491) and dropped 0
Captured 115003.64 pps (total of 1265040) and dropped 0
intr:
Captured 99091.91 pps (total of 1090011) and dropped 629467
Captured 105180.64 pps (total of 1156987) and dropped 617526
Captured 99722.36 pps (total of 1096946) and dropped 607367
Captured 104180.91 pps (total of 1145990) and dropped 626567
Hello Fabien,
Thanks one more time for your contribution. One small question for you, what was the overhall packet size during capture ?
By the way, I found out similar reports regarding polling in new FreeBSD releases:
- http://www.net.t-labs.tu-berlin.de/papers/SWF-PCCH10GEE-07.pdf
- a couple on our mailing lists.
Would be nice if some commiters can take the time to review this code (pollng).
Best regards,
/Olivier
--
Olivier Warin
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- pollng: pcap bench
- From: Fabien THOMAS
- pollng: pcap bench
- Prev by Date: Re: TX Multiqueue?
- Next by Date: Re: Racoon(ipsec-tools) enters sbwait state or 100% CPU utilization quite often on RELENG_1_2
- Previous by thread: pollng: pcap bench
- Next by thread: Quagga as border router
- Index(es):