kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Regarding CPU softlockup issue
@ 2010-12-28 10:25 Pradeep Kumar
  2010-12-28 10:30 ` Fwd: " Pradeep Kumar
  0 siblings, 1 reply; 4+ messages in thread
From: Pradeep Kumar @ 2010-12-28 10:25 UTC (permalink / raw)
  To: kernelnewbies

hi all,

I got the fallowing soft lockup error

 "BUG: soft lockup - CPU#0 stuck for 16s! [Playback Thread:9266"]

is that 16s is the value of /proc/sys/kernel/softlockup_thresh ??

if yes, can I get rid of that message/panic by setting softlockup_thresh to
some value greater that 30 ???

-- 
Goudagunta Pradeep Kumar,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20101228/6c54d6cc/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Fwd: Regarding CPU softlockup issue
  2010-12-28 10:25 Regarding CPU softlockup issue Pradeep Kumar
@ 2010-12-28 10:30 ` Pradeep Kumar
  2010-12-28 11:37   ` Mulyadi Santosa
  2010-12-28 19:35   ` Manish Katiyar
  0 siblings, 2 replies; 4+ messages in thread
From: Pradeep Kumar @ 2010-12-28 10:30 UTC (permalink / raw)
  To: kernelnewbies

hi all,

I got the fallowing soft lockup error

 "BUG: soft lockup - CPU#0 stuck for 16s! [Playback Thread:9266"]

is that 16s is the value of /proc/sys/kernel/softlockup_thresh ??

if yes, can I get rid of that message/panic by setting softlockup_thresh to
some value greater that 30 ???

-- 
Goudagunta Pradeep Kumar,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20101228/277e2f95/attachment.html 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Regarding CPU softlockup issue
  2010-12-28 10:30 ` Fwd: " Pradeep Kumar
@ 2010-12-28 11:37   ` Mulyadi Santosa
  2010-12-28 19:35   ` Manish Katiyar
  1 sibling, 0 replies; 4+ messages in thread
From: Mulyadi Santosa @ 2010-12-28 11:37 UTC (permalink / raw)
  To: kernelnewbies

On Tue, Dec 28, 2010 at 17:30, Pradeep Kumar <pradeepkernel@gmail.com> wrote:
> hi all,
>
> I got the fallowing soft lockup error
> ?"BUG: soft lockup - CPU#0 stuck for 16s! [Playback Thread:9266"]
> is that 16s is the value of?/proc/sys/kernel/softlockup_thresh ??
> if yes, can I get rid of that message/panic by setting softlockup_thresh to
> some value greater that 30 ???


Quite likely, yes....AFAIK, it was 10 second last time I saw that kind
of message.

But are you sure you wanna let your CPU get locked for that long? I
think something is wrong if CPU is getting locked even for 10 second.
Better find a way to solve the problem.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Regarding CPU softlockup issue
  2010-12-28 10:30 ` Fwd: " Pradeep Kumar
  2010-12-28 11:37   ` Mulyadi Santosa
@ 2010-12-28 19:35   ` Manish Katiyar
  1 sibling, 0 replies; 4+ messages in thread
From: Manish Katiyar @ 2010-12-28 19:35 UTC (permalink / raw)
  To: kernelnewbies

On Tue, Dec 28, 2010 at 2:30 AM, Pradeep Kumar <pradeepkernel@gmail.com> wrote:
> hi all,
>
> I got the fallowing soft lockup error
> ?"BUG: soft lockup - CPU#0 stuck for 16s! [Playback Thread:9266"]
> is that 16s is the value of?/proc/sys/kernel/softlockup_thresh ??

Not really . In loose terms, 16s is the value of difference in time
when this process was last touched by this cpu.


> if yes, can I get rid of that message/panic by setting softlockup_thresh to
> some value greater that 30 ???

You can set it to 0 or something less than 0 to avoid these triggers.

See the function softlockup_tick() to see how the calculations are
made to trigger soft lockups. Roughly the calculation is :-

if "current_time - threshold" > "last time touched timestamp"
    trigger soft lockup.


HTH


___________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



-- 
Thanks -
Manish
==================================
[$\*.^ -- I miss being one of them
==================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-28 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 10:25 Regarding CPU softlockup issue Pradeep Kumar
2010-12-28 10:30 ` Fwd: " Pradeep Kumar
2010-12-28 11:37   ` Mulyadi Santosa
2010-12-28 19:35   ` Manish Katiyar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).