Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2006 17:06:52 -0500
From:      Mike Jakubik <mikej@rogers.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Still seeing "calcru: runtime went backwards" messages
Message-ID:  <44061AFC.4080109@rogers.com>
In-Reply-To: <200603011357.12175.jhb@freebsd.org>
References:  <4405E745.9040604@rogers.com> <200603011357.12175.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> On Wednesday 01 March 2006 13:26, Mike Jakubik wrote:
>   
>> FYI, I just did a fresh cvsup and buildworld yesterday night, and i am 
>> still getting the clacru messages:
>>
>> Mar  1 02:41:37 fbsd kernel: calcru: runtime went backwards from 32465 
>> usec to 32464 usec for pid 490 (sh)
>> Mar  1 02:41:37 fbsd kernel: u 0:0/0 s 1:32465/32464 i 0:0/0
>> Mar  1 02:41:37 fbsd kernel: calcru: runtime went backwards from 17198 
>> usec to 17197 usec for pid 318 (devd)
>> Mar  1 02:41:37 fbsd kernel: u 0:0/0 s 2:17198/17197 i 0:0/0
>> Mar  1 02:45:45 fbsd kernel: calcru: runtime went backwards from 3403872 
>> usec to 3403870 usec for pid 722 (perl5.8.8)
>> Mar  1 02:45:45 fbsd kernel: u 367:2852102/2852101 s 71:551769/551768 i 
>> 0:1/1
>> Mar  1 02:45:45 fbsd kernel: calcru: runtime went backwards from 5135265 
>> usec to 5135263 usec for pid 1 (init)
>> Mar  1 02:45:45 fbsd kernel: u 298:2383658/2383657 s 344:2751606/2751605 
>> i 0:1/1
>>     
>
> Try this fix for one.  It fixes the case that once time goes backward once
> we keep using the last known time rather than using the new shorter time:
>
> Index: kern_resource.c
> ===================================================================
> RCS file: /usr/cvs/src/sys/kern/kern_resource.c,v
> retrieving revision 1.156
> diff -u -r1.156 kern_resource.c
> --- kern_resource.c	22 Feb 2006 16:58:48 -0000	1.156
> +++ kern_resource.c	22 Feb 2006 17:00:38 -0000
>   

Still seeing them:

Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 6995 
usec to 6994 usec for pid 662 (perl)
Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 31894 
usec to 31893 usec for pid 491 (sh)
Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 1229911 
usec to 1229878 usec for pid 30 (pagezero)
Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 21876 
usec to 21875 usec for pid 15 (swi5: +)
Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 6995 
usec to 6994 usec for pid 662 (perl)
Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 31894 
usec to 31893 usec for pid 491 (sh)
Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 1229911 
usec to 1229878 usec for pid 30 (pagezero)
Mar  1 17:04:27 fbsd kernel: calcru: runtime went backwards from 21876 
usec to 21875 usec for pid 15 (swi5: +)

Its odd, because they only seem to appear about 2 minutes after the 
system is booted, and then its quiet.




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