amd64/152405: wrong user time is reported when CPU frequency
avg at freebsd.org
Wed Nov 24 14:00:25 UTC 2010
The following reply was made to PR amd64/152405; it has been noted by GNATS.
From: Andriy Gapon <avg at freebsd.org>
<koie at suri.co.jp>
Cc: bug-followup at freebsd.org
Subject: Re: amd64/152405: wrong user time is reported when CPU frequency
Date: Wed, 24 Nov 2010 15:54:19 +0200
on 24/11/2010 14:33 KOIE Hidetaka (é¯æ±è±éï¼ æ°çæç ) said the following:
> | Can you try to boot with kern.eventtimer.timer="i8254" in loader.conf?
> Boot process hangs up. (I tried 2 times)
Oh, hm, very strange. Not sure why that happens.
Anyway, it seems that I missed the real cause of this problem and the excellent
explanation by Bruce.
Your CPU doesn't have invariant TSC and (x86) FreeBSD doesn't handle that
correctly for some things like e.g. CPU time accounting that you are reporting about.
This is not a problem for modern hardware which almost universally supports
invariant TSC, but older models are affected.
More information about the freebsd-amd64