[PATCH] possible fix for the runtime going backwards warnings

Andrey Chernov ache at FreeBSD.ORG
Wed Feb 22 08:20:49 PST 2006


On Wed, Feb 22, 2006 at 11:01:39AM -0500, John Baldwin wrote:
> Is it more or less than before the patch?  Also, what happens if you just back 

Less than (for me).

> 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.

May it interfere with ntpd activity? I have those log lines in one chunk:
Feb 22 03:36:43 pobrecita ntpd[422]: time reset +0.622691 s
Feb 22 03:36:43 pobrecita ntpd[422]: kernel time sync disabled 2041
Feb 22 03:37:45 pobrecita kernel: calcru: runtime went backwards from 292542 usec to 292537 usec for pid 29 (pagezero)
Feb 22 03:37:45 pobrecita kernel: u 0:0/0 s 38:292542/292537 i 0:0/0

-- 
http://ache.pp.ru/


More information about the freebsd-current mailing list