Re: soft lockup - CPU#1 stuck for 15s! [swapper:0]

From: Parag Warudkar
Date: Sat Dec 08 2007 - 14:33:59 EST


On Dec 8, 2007 2:13 PM, Ingo Molnar <mingo@xxxxxxx> wrote:
>
> * Parag Warudkar <parag.warudkar@xxxxxxxxx> wrote:
>
> > > while :; do time usleep 1111111; done
> > >
> > > or do these sleeps fluctuate?
> >
> > They seem to fluctuate - not sure if that's supposed to be exact or if
> > below variations are normal - This is when my compiles are running -
>
> it's normal for them to fluctuate a little when load goes up and the
> task gets delayed.
>
> 'bad' fluctuations are ones that happen when the system is idle.
>

Even on 100% idle I get variations that are approx in the same range
when not idle.
Clocksource is hpet if that matters. Next I think I will disable
CPU_IDLE, Tickless

My ssh connection just died - another lockup in dmesg -

BUG: soft lockup - CPU#1 stuck for 14s! [sshd:509]

Pid: 509, comm: sshd Not tainted (2.6.24-rc4 #6)
EIP: 0060:[<c060540b>] EFLAGS: 00200206 CPU: 1
EIP is at do_page_fault+0x117/0x583
EAX: ef5aaa80 EBX: 0048cfc0 ECX: 0000007b EDX: 00000003
ESI: ef691fb8 EDI: b7ca1ab4 EBP: ef47f050 ESP: ef691f70
DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
CR0: 8005003b CR2: b7ca1ab4 CR3: 2f555000 CR4: 000006d0
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
[<c06052f4>] do_page_fault+0x0/0x583
[<c06040aa>] error_code+0x72/0x78
[<c0600000>] netlbl_domhsh_walk+0x94/0xba


$> while :; do time usleep 1111111; done
real 0m1.112s
user 0m0.000s
sys 0m0.000s

real 0m1.385s
user 0m0.000s
sys 0m0.004s

real 0m1.112s
user 0m0.000s
sys 0m0.000s

real 0m1.112s
user 0m0.000s
sys 0m0.000s

real 0m1.279s
user 0m0.000s
sys 0m0.000s
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/