Regarding CPU softlockup issue

Manish Katiyar mkatiyar at gmail.com
Tue Dec 28 14:35:04 EST 2010


On Tue, Dec 28, 2010 at 2:30 AM, Pradeep Kumar <pradeepkernel at 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
==================================



More information about the Kernelnewbies mailing list