NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56322: Excessive clock drift



The following reply was made to PR kern/56322; it has been noted by GNATS.

From: Frank Kardel <kardel%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56322: Excessive clock drift
Date: Thu, 22 Jul 2021 17:02:47 +0200

 True, but what was listed in dmesg output by dholland@ was
 
 This is the relevant material I see in dmesg, which isn't much use.
 
 [     1.000000] timecounter: Timecounters tick every 10.000 msec
 [     1.000000] timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
 [     1.000003] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
 [     1.051023] timecounter: Timecounter "TSC" frequency 3517182870 Hz quality 3000
 
 So I had to propose the next known workable alternative instead of timecounters that
 haven't been detected :-). HPET is sometimes disabled in BIOS.
 So far we do not know the output of "sysctl kern.timercounter".
 
 Frank
 
 On 07/22/21 12:30, Joerg Sonnenberger wrote:
 > The following reply was made to PR kern/56322; it has been noted by GNATS.
 >
 > From: Joerg Sonnenberger <joerg%bec.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
 > 	netbsd-bugs%netbsd.org@localhost, dholland%NetBSD.org@localhost
 > Subject: Re: kern/56322: Excessive clock drift
 > Date: Thu, 22 Jul 2021 12:26:11 +0200
 >
 >   On Thu, Jul 22, 2021 at 05:50:01AM +0000, Frank Kardel wrote:
 >   >  Can you try
 >   >
 >   >  sysctl -w kern.timecounter.hardware=i8254
 >   
 >   On x86, you normally have much better options available. HPET or the PCI
 >   hostbridge (which the ACPI time counter also uses) are much faster and
 >   have a higher resolution.
 >   
 >   Joerg
 >   
 


Home | Main Index | Thread Index | Old Index