Re: calcru: runtime went backwards errors

2008-07-05 Thread David Allen
On Mon, Jun 30, 2008 at 7:38 AM, Bob Johnson [EMAIL PROTECTED] wrote:
 On 6/30/08, David Allen [EMAIL PROTECTED] wrote:
 I've been seeing errors like the following appearing:

 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
 usec to 258 usec for pid 516 (devd)
 [...]
 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 486
 usec to 481 usec for pid 0 (swapper)

 and narrowed down the cause to openntpd.

 Do these errors fall into the Mostly Harmless category?

 It's probably just an annoyance, unless it is happening so often it
 causes other problems.

I'll not worry then, but what's perplexing is that if time going backwards
leads to confusion, why is that ntpd, as a matter of course, doesn't result
in these error messages, but openntpd does?   And then, why isn't anyone
using openntpd getting the errors?

 The FreeBSD FAQ used to have a nice explanation of this, but it has
 been replaced by a discussion that simply assumes the problem is
 caused by the Intel SpeedStep implementation on your motherboard:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#Q5.24.

My web searches turned a lot of noise about the above issue.  Thanks for
clarifying what I was reading.  As for the FAQ, didn't there was one.  I guess
I've not needed it until now. ;-)

 But in general, this error can be caused by several things, including
 a device that is slow to respond to interrupts. One thing that often
 helps on SMP systems is to make sure your timecounter isn't using TSC:

 $ sysctl kern.timecounter
 kern.timecounter.tick: 1
 kern.timecounter.choice: TSC(-100) HPET(900) ACPI-fast(1000) i8254(0)
 dummy(-100)
 kern.timecounter.hardware: ACPI-fast
 [...]

Good to know, but this is an older single processor system (ACPI-safe).

Seems I'll have to decide whether I drop openntpd and shuffle things
around to other systems, or learn to live with the errors.

Thanks to everyone that replied.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: calcru: runtime went backwards errors

2008-06-30 Thread Wojciech Puchar

I've been seeing errors like the following appearing:

Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
usec to 258 usec for pid 516 (devd)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 4976
usec to 4926 usec for pid 367 (pflogd)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 588
usec to 582 usec for pid 133 (adjkerntz)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 681
usec to 674 usec for pid 20 (swi6: task queue)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 486
usec to 481 usec for pid 0 (swapper)

and narrowed down the cause to openntpd.

Do these errors fall into the Mostly Harmless category?

yes.

time turned backward and system get confused.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


calcru: runtime went backwards errors

2008-06-30 Thread David Allen
I've been seeing errors like the following appearing:

Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
usec to 258 usec for pid 516 (devd)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 4976
usec to 4926 usec for pid 367 (pflogd)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 588
usec to 582 usec for pid 133 (adjkerntz)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 681
usec to 674 usec for pid 20 (swi6: task queue)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 486
usec to 481 usec for pid 0 (swapper)

and narrowed down the cause to openntpd.

Do these errors fall into the Mostly Harmless category?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: calcru: runtime went backwards errors

2008-06-30 Thread Bob Johnson
On 6/30/08, David Allen [EMAIL PROTECTED] wrote:
 I've been seeing errors like the following appearing:

 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
 usec to 258 usec for pid 516 (devd)
[...]
 Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 486
 usec to 481 usec for pid 0 (swapper)

 and narrowed down the cause to openntpd.

 Do these errors fall into the Mostly Harmless category?

It's probably just an annoyance, unless it is happening so often it
causes other problems.

The FreeBSD FAQ used to have a nice explanation of this, but it has
been replaced by a discussion that simply assumes the problem is
caused by the Intel SpeedStep implementation on your motherboard:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#Q5.24.

But in general, this error can be caused by several things, including
a device that is slow to respond to interrupts. One thing that often
helps on SMP systems is to make sure your timecounter isn't using TSC:

$ sysctl kern.timecounter
kern.timecounter.tick: 1
kern.timecounter.choice: TSC(-100) HPET(900) ACPI-fast(1000) i8254(0)
dummy(-100)
kern.timecounter.hardware: ACPI-fast
[...]

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]