Re: 2.6.14-rc4-rt1

Ingo Molnar
2005-10-14T04:55:54Z

* Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> wrote:

> #!/bin/bash
> while true ; do
> START=`date +"%s"`
> sleep 10
> END=`date +"%s"`
> let DIFF=END-START
> echo "$DIFF" >>time
> echo "---"
> done
>
> I'm attaching what I found when I got back.

> 1
> 10
> 6
> 0
> 0

could you try:

strace -o log sleep 10

and wait for a failure, and send us the log? Is it perhaps nanosleep
unexpectedly returning with -EAGAIN or -512? There's a transient
nanosleep failure that happens on really fast boxes, which we havent
gotten to the bottom yet. That problem is very sporadic, but maybe your
box is just too fast and triggers it more likely :-)

Ingo