Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2006 12:04:33 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Kazuaki Oda <kaakun@highway.ne.jp>
Cc:        current@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: [PATCH] possible fix for the runtime going backwards warnings
Message-ID:  <200602221204.35413.jhb@freebsd.org>
In-Reply-To: <43FC951E.2070002@highway.ne.jp>
References:  <200602211047.06599.jhb@freebsd.org> <200602221101.41027.jhb@freebsd.org> <43FC951E.2070002@highway.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602221204.35413.jhb>