|
|||||||||||
|
libnet performance
From: Shai Rubin <shai(at)cs.wisc.edu>
Date: Sat Mar 29 2003 - 19:56:11 EST ('binary' encoding is not supported, stored as-is) Hi there,
I'm trying to write to the wire 100,000 tcp packets as quickly as I can.
I'm using a tight
Unfortunately, if the 'for' loop is too tight (i.e., no delays between 'libnet_write'), I see that I can only write about 3500 packets (I run under Linux and use 'ifconfig' to count the number of packets that where actually written by the network card) which are about 30Mb/sec. My network card is SMSC EPIC/100 83c170, which as far as I understand, supports 100Mb/sec. If I add delays between calls to libnet_write, I can see that all 100,000 packets were delivered by the card. My questions: 1. What do I miss? Should I really get 100Mb/Sec from my card? 2. Why libnet_write does not return an error even though not all thepackets were written to the wire? Thanks, Shai To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Sat Mar 29 20:14:28 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:23 EDT |
||||||||||
|
|||||||||||