Subject: Re: HEADS UP: timecounters (branch simonb-timecounters) merged into -current
To: Frank Kardel <kardel@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 06/09/2006 19:24:25
Hello,
At Thu, 08 Jun 2006 01:10:26 +0200,
Frank Kardel wrote:
> Please test NetBSD-current so we can smoke out bugs early.
I'm using ThinkPad X32 that CPU is Intel Pentium M 745 1.8GHz. With
the fastest CPU clock, timecounter works fine. But it's broken by
the slower CPU clocks.
1.8GHz:
% sysctl -w machdep.est.frequency.target=1800
machdep.est.frequency.target: 1000 -> 1800
% /usr/bin/time sleep 10
10.00 real 0.00 user 0.00 sys
600MHz:
% sysctl -w machdep.est.frequency.target=600
machdep.est.frequency.target: 1800 -> 600
% /usr/bin/time sleep 10
3.33 real 0.00 user 0.00 sys
With 600MHz, the command actually takes 10 seconds in real time, but
the output of time(1) is 1/3.
best regards.
--
Kouichirou Hiratsuka
hira@po6.nsk.ne.jp