Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 21:26:14 +0200
From:      Stefan Lambrev <stefan.lambrev@moneybookers.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: gettimeofday() in hping
Message-ID:  <47964356.6030602@moneybookers.com>
In-Reply-To: <fn5c7u$i7e$2@ger.gmane.org>
References:  <4795CC13.7080601@moneybookers.com>	<868x2i3v8d.fsf@ds4.des.no>	<864pd63v2h.fsf@ds4.des.no>	<4795FE54.9090606@moneybookers.com>	<86lk6i0vzk.fsf@ds4.des.no> <479605E2.6070709@moneybookers.com> <fn5c7u$i7e$2@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Ivan Voras wrote:
> 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?
Will install ubuntu on the same machine and let you know, but my 
experience shows that FreeBSD + TSC
have the same performance as Linux.
>
> >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.
>
>
Here are the max speeds I can reach with different counters (on the test 
server):

i8254 - 3.660 MB/s
ACPI-fast - 7.137 MB/s
TSC - 12.519 MB/s
dummy - 12.366 MB/s

-- 

Best Wishes,
Stefan Lambrev
ICQ# 24134177




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47964356.6030602>