NetBSD-Users archive

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

Re: timers slow (sleep 1 taking five seconds)



reed%reedmedia.net@localhost ("Jeremy C. Reed") writes:

>acpi0: fixed power button present
>timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
>hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
>timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000

>attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0

>t1:reed$ date ; time sleep 1 ; date         
>Sat Dec  3 00:31:40 UTC 2022
>    5.01s real     0.00s user     0.00s system
>Sat Dec  3 00:31:45 UTC 2022


Can you check

sysctl kern.timecounter.choice
sysctl kern.timecounter.hardware

Maybe you use a mis-calibrated TSC ? The ACPI-Fast and hpet0 counters
look reasonable.



Home | Main Index | Thread Index | Old Index