Fwd: Regarding CPU softlockup issue
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,
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
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@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thanks - Manish ================================== [$\*.^ -- I miss being one of them ==================================
participants (3)
-
Manish Katiyar -
Mulyadi Santosa -
Pradeep Kumar