Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sleep sleeping too long



Jeremy C. Reed wrote:
On Thu, 27 Mar 2008, Juan RP wrote:

tx:work$ time sleep 3 ; time sleep 5 ; time sleep 10
    6.81s real     0.00s user     0.01s system
    8.52s real     0.00s user     0.00s system
   25.84s real     0.01s user     0.00s system
a lot recently. Just I noticed yesterday I was waiting a lot longer than two seconds for xwd to beep to tell me it was ready. (sleep was working fine a couple weeks ago for sure since I would have noticed this when I used the above about 30 times.)


I was seeing some unusual delays under 4.99.55 but at the same time I didn't bother checking as I was seeing the _lwp_ctl problem. That box has since been updated. On another box I have:

NetBSD gogeta.internal 4.99.55 NetBSD 4.99.55 (XEN3_DOM0) #0: Tue Mar 11 19:59:08 EST 2008 root%spike.internal@localhost:/usr/obj/sys/arch/i386/compile/XEN3_DOM0 i386

# time sleep 3 ; time sleep 5 ; time sleep 10
   3.01s real     0.00s user     0.00s system
   5.01s real     0.00s user     0.01s system
  10.01s real     0.01s user     0.00s system

So I was either imagining it or I updated independently amd they were out of sync, which is highly likely.

An up-to-date domu shows:

NetBSD sammy.internal 4.99.58 NetBSD 4.99.58 (XEN3_DOMU) #0: Wed Mar 26 16:49:41 EST 2008 root%spike.internal@localhost:/usr/obj/sys/arch/i386/compile/XEN3_DOMU i386

$ time sleep 3 ; time sleep 5 ; time sleep 10
   3.01s real     0.00s user     0.00s system
   5.01s real     0.00s user     0.01s system
  10.01s real     0.01s user     0.00s system

Sarton


Home | Main Index | Thread Index | Old Index