Hi,

On Fri, Mar 21, 2014 at 10:40 -0000, Steven Hartland wrote:
> When testing these things avoid VM's as thats will almost certainly
> cause issues, VM's are bad for running games.

I know. I was just trying that to make sure it' a FreeBSD problem, and
to possibly help with debugging.

> I notice from those traces it seems they may have switched from using
> gettimeofday to clock_gettime with CLOCK_MONOTONIC and CLOCK_REALTIME
> this could be the cause of increased delay on older versions of FreeBSD
> when compared to Linux as the later exports said syscalls to userspace
> so avoiding the kernel call overhead.
> 
> This was added in later versions of FreeBSD.
> 
> This can also be HW dependent so worth grabbing bench_clock_realtime and
> testing.

I'm running FreeBSD-10. I would try bench_clock_realtime, but the only
link I could find:
http://sean.chittenden.org/pubfiles/freebsd/bench_clock_realtime.c
times out for me. Do you have a source somwhere?

> Also check to see what your timecounter settings are:
> sysctl kern.timecounter

| mcp:~>sysctl kern.timecounter
| kern.timecounter.tc.i8254.mask: 65535
| kern.timecounter.tc.i8254.counter: 64577
| kern.timecounter.tc.i8254.frequency: 1193182
| kern.timecounter.tc.i8254.quality: 0
| kern.timecounter.tc.ACPI-fast.mask: 4294967295
| kern.timecounter.tc.ACPI-fast.counter: 600486036
| kern.timecounter.tc.ACPI-fast.frequency: 3579545
| kern.timecounter.tc.ACPI-fast.quality: 900
| kern.timecounter.tc.TSC-low.mask: 4294967295
| kern.timecounter.tc.TSC-low.counter: 1274252832
| kern.timecounter.tc.TSC-low.frequency: 1450013611
| kern.timecounter.tc.TSC-low.quality: -100
| kern.timecounter.stepwarnings: 0
| kern.timecounter.alloweddeviation: 5
| kern.timecounter.hardware: ACPI-fast
| kern.timecounter.choice: TSC-low(-100) ACPI-fast(900) i8254(0) dummy(-1000000)
| kern.timecounter.tick: 1
| kern.timecounter.fast_gettime: 1
| kern.timecounter.invariant_tsc: 0
| kern.timecounter.smp_tsc: 0
| kern.timecounter.smp_tsc_adjust: 0
| kern.timecounter.tsc_shift: 1

CU,
    Sec
-- 
Procmail looks to me like an explosion at an ASCII factory.

_______________________________________________
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