gettimeofday() in hping

Ivan Voras ivoras at freebsd.org
Tue Jan 22 10:22:10 PST 2008


Stefan Lambrev wrote:

> I do not have HEPT on the servers that I test, but simple test on my 
> laptop shows
> that hping can generate with ACPI-fast ~4MB/s traffic, 5MB/s with HPET
> and 8MB/s with TSC. 

How much can Linux handle?

 >I didn't check dummy time counter.

If you do, it would give a nice indicator of how much the time counters 
are expensive in both absolute terms and relative to the rest of the 
stuff the program does (network IO). The "dummy" timecounter just 
increments a number when called, no time keeping is involved.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20080122/f1423d9e/signature.pgp


More information about the freebsd-hackers mailing list