Re: CLOCK_MONOTONIC / CLOCK_UPTIME is not really monotonic between threads

From: Maxim Sobolev <sobomax_at_freebsd.org>
Date: Fri, 3 Jun 2016 07:28:31 -0700
a. multiple cores.
b. makes no difference
c. yes, I believe so

kern.timecounter.tsc_shift: 1
kern.timecounter.smp_tsc_adjust: 0
kern.timecounter.smp_tsc: 1
kern.timecounter.invariant_tsc: 1
machdep.tsc_freq: 2658118740
machdep.disable_tsc_calibration: 0
machdep.disable_tsc: 0

d. no, single socket Intel Q6700. I've also seen this problem on core
i7-4770 running virtualbox 5.x. I have a hints that this also happens on
our bigger production boxes, but I have no specifics yet.

On Thu, Jun 2, 2016 at 10:05 PM, Adrian Chadd <adrian.chadd_at_gmail.com>
wrote:

> [snip]
>
> a) is it on one core, or multiple cores?
> b) CLOCK_MONOTONIC_FAST?
> c) is it on a system that /has/ invariant-TSC ?
> d) is this a multi-socket system?
>
>
>
> -adrian
>
>
Received on Fri Jun 03 2016 - 12:28:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC