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

From: John Baldwin <jhb_at_freebsd.org>
Date: Wed, 22 Feb 2006 12:04:33 -0500
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_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Feb 22 2006 - 16:03:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC