[Letux-kernel] [PATCH 00/20] A bunch of JZ4730 fixups for letux-kernel
H. Nikolaus Schaller
hns at goldelico.com
Tue Dec 29 17:41:52 CET 2020
> Am 29.12.2020 um 17:23 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>
>> Debian GNU/Linux 8 letux console
>>
>> letux login: [ 80.122152] sched_clock_poll wrap_kt=568880208
>> [ 80.620659] sched_clock_poll wrap_kt=568880208
>> [ 81.112222] sched_clock_poll wrap_kt=568880208
>> [ 81.604565] sched_clock_poll wrap_kt=568880208
>> [ 82.091423] sched_clock_poll wrap_kt=568880208
>> [ 82.587465] sched_clock_poll wrap_kt=568880208
>> [ 83.075520] sched_clock_poll wrap_kt=568880208
>>
>> If I read the wrap_kt as ns it means the hrtimer is triggered every 0.5 seconds.
>> This translates in 0.5 seconds increments of the sched_clock() for the
>> printk statements. Fine.
>>
>> But it is far to slow compared to your estimate of ca. 25 wraps per second.
Just noticed. Yes, the hrtimer is triggered every 0.5 seconds,
but kernel time and not real time.
So I think some clocks are running at the wrong (too slow) speed.
I think we should find a way to read out all the clock frequencies
as seen by the kernel...
BR,
Nikolaus
More information about the Letux-kernel
mailing list