Re: Regarding CPU softlockup issue

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

 



On Tue, Dec 28, 2010 at 2:30 AM, Pradeep Kumar <pradeepkernel@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux