Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 21:30:24 +0200
From:      Gary Jennejohn <garyj@jennejohn.org>
To:        Jeremie Le Hen <jeremie@le-hen.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: timer goes sluggish 
Message-ID:  <200605291930.k4TJUOjV082272@peedub.jennejohn.org>
In-Reply-To: Message from Jeremie Le Hen <jeremie@le-hen.org> of "Mon, 29 May 2006 17:31:03 %2B0200." <20060529153103.GA17178@obiwan.tataz.chchile.org> 

next in thread | previous in thread | raw e-mail | index | archive | help

Jeremie Le Hen writes:
> IOW, using ACPI-fast as timecounter leads to have "sleep 1" actually
> sleep for 6~7 seconds.  Using TSC as timecounter is even weirder since it
> desynchronize the computer's clock.
> 

This isn't necessarily an accurate statement, as proved by this output on
my machine:

garyj:peedub:freebsd:-bash:23> sysctl kern.timecounter.hardware
kern.timecounter.hardware: ACPI-fast
garyj:peedub:freebsd:-bash:24> while : ; do date ; sleep 1 ; done
Mon May 29 21:26:34 CEST 2006
Mon May 29 21:26:35 CEST 2006
Mon May 29 21:26:36 CEST 2006
Mon May 29 21:26:37 CEST 2006
Mon May 29 21:26:38 CEST 2006
Mon May 29 21:26:39 CEST 2006
Mon May 29 21:26:40 CEST 2006
Mon May 29 21:26:41 CEST 2006
Mon May 29 21:26:42 CEST 2006

and so on ad nauseum.

No problem on my machine. Must be something specific to your set up.

---
Gary Jennejohn / garyjATjennejohnDOTorg gjATfreebsdDOTorg garyjATdenxDOTde




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605291930.k4TJUOjV082272>