Hi,

On Fri, Mar 21, 2014 at 13:06 -0000, Steven Hartland wrote:
> Not invariant tsc thats unusual, are you running a really old CPU?

According to dmesg it's:

| CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ (2900.03-MHz K8-class CPU)
| FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs 
|  cpu0 (BSP): APIC ID:  0
|  cpu1 (AP): APIC ID:  1 

I'm not sure if that qualifies as "really old".

> I've put the benchmark dl:
> http://blog.multiplay.co.uk/dropzone/bench_clock_realtime.c

My output is:

mcp:~>./bench_clock_realtime 1000000 | sort -rnk1
clock realtime micro-benchmark.  1000000 syscall iterations.
Avg. us/call    Elapsed         Name
1.557101        1.557101        gettimeofday(2)
1.531963        1.531963        clock_gettime(2/CLOCK_REALTIME)
1.531301        1.531301        clock_gettime(2/CLOCK_MONOTONIC)
0.209740        0.209740        clock_gettime(2/CLOCK_REALTIME_FAST)
0.188042        0.188042        clock_gettime(2/CLOCK_MONOTONIC_FAST)
0.183686        0.183686        clock_gettime(2/CLOCK_SECOND)
0.178539        0.178539        time(3)
Value from time(3): 1395409387
Last value from gettimeofday(2): 1395409387.633267      Equal: 0
Last value from clock_gettime(2/CLOCK_SECOND): 1395409389.000000000
Equal: 999999
Last value from clock_gettime(2/CLOCK_REALTIME_FAST):
1395409389.553192896     Equal: 999789
Last value from clock_gettime(2/CLOCK_REALTIME): 1395409389.343852343
Equal: 0
Last value from clock_gettime(2/CLOCK_MONOTONIC_FAST): 75099.751341116
Equal: 999811
Last value from clock_gettime(2/CLOCK_MONOTONIC): 75099.563772993
Equal: 0

That looks more like your FreeBSD-8 output than the FreeBSD-HEAD one. Do
you think updating to -CURRENT might be worth a try?

CU,
    Sec
-- 
I know I've got it great, really, good job, good friends, loving family,
total freedom, and long bubblebaths. what else could there be? 

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

Reply via email to