Re: Still seeing "calcru: runtime went backwards" messages

From: Mike Jakubik <mikej_at_rogers.com>
Date: Wed, 01 Mar 2006 17:06:52 -0500
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.
Received on Wed Mar 01 2006 - 21:06:56 UTC

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