gettimeofday() in hping

Stefan Lambrev stefan.lambrev at moneybookers.com
Tue Jan 22 12:30:28 PST 2008


Kris Kennaway wrote:
> Stefan Lambrev wrote:
>
>>> 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
>
> With which timecounter?
I guess the default as it is not set anywhere (in linux it can be 
changed only during boot time i think)
Do you have idea how can I see the current timecounter on linux ? :)

This is what I found in dmesg:

time.c: Using 3.579545 MHz PM timer.
Calibrating delay using timer specific routine.. 4416.34 BogoMIPS 
(lpj=2208170)
Calibrating delay using timer specific routine.. 4409.37 BogoMIPS 
(lpj=2204688)
Using local APIC timer interrupts.
Detected 12.528 MHz APIC timer.
Disabling vsyscall due to use of PM timer

I guess this means that ACPI timer or PM Timer is used? :)
>
>> 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
>
> Kris
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to 
> "freebsd-hackers-unsubscribe at freebsd.org"

-- 

Best Wishes,
Stefan Lambrev
ICQ# 24134177



More information about the freebsd-hackers mailing list