Re: [PATCH] possible fix for the runtime going backwards warnings



On Wednesday 22 February 2006 11:45, Kazuaki Oda wrote:
John Baldwin wrote:
The pagezero ones are truly odd. calcru() shouldn't be called for kthreads
very often (if at all). I wonder if your tickrate is changing out from under
you. Try editing sys/i386/i386/tsc.c and where it does 'set_cputicker(rdtsc,
tsc_freq, 1)' change the last parameter to '0' and see if they go away.


I still get calcru messages too. And I have noticed that I get these
messages when I run ps or top command. When we run ps,
fill_kinfo_proc_only() is called, and I think calcru() and calccru()
for kthreads are called in that function.

Ok, that makes sense (as to why calcru() is getting invoked). I would try the
change I suggested earlier of forcing the tsc to be treated as statically
scaled rather than dynamic.

--
John Baldwin <jhb@xxxxxxxxxxx> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"