<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Looks like that fixed it! Thanks It’s taken me a while to track down the source of my errors. It’s nice to know the fix was easy :)<div class=""><br class=""></div><div class=""><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div apple-content-edited="true" class=""><span class="Apple-style-span" style="font-size: 12px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-span" style="font-size: 18px; "><div style="margin-top: 0in; margin-bottom: 0.0001pt; line-height: 19px; margin-right: 0in; margin-left: 0in; font-size: 12pt; " class=""><b class=""><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; font-weight: bold; " class="">Aaron Block</span></font></b></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; line-height: 19px; margin-right: 0in; margin-left: 0in; font-size: 12pt; " class=""><span class="Apple-style-span" style="line-height: 15px; font-size: 13px; ">Assistant Professor of Computer Science</span></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; line-height: 19px; margin-right: 0in; margin-left: 0in; font-size: 12pt; " class=""><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class=""><o:p class=""> </o:p></span></font></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; line-height: 19px; margin-right: 0in; margin-left: 0in; font-size: 12pt; " class=""><st1:place w:st="on" class=""><st1:placename w:st="on" class=""><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class="">Austin</span></font></st1:placename><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class=""> <st1:placename w:st="on" class="">College</st1:placename></span></font></st1:place><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class=""> | Math and Computer Science<o:p class=""></o:p></span></font></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; line-height: 19px; margin-right: 0in; margin-left: 0in; font-size: 12pt; " class=""><st1:street w:st="on" class=""><st1:address w:st="on" class=""><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class="">900 North Grand Avenue, Suite 61592</span></font></st1:address></st1:street><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class=""> | <st1:place w:st="on" class=""><st1:city w:st="on" class="">Sherman</st1:city>, <st1:state w:st="on" class="">Texas</st1:state> <st1:postalcode w:st="on" class="">75090</st1:postalcode></st1:place><o:p class=""></o:p></span></font></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; line-height: 19px; margin-right: 0in; margin-left: 0in; font-size: 12pt; " class=""><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class="">Phone 903.813.2563 <o:p class=""></o:p></span></font></div><div style="margin-top: 0in; margin-bottom: 0.0001pt; line-height: 19px; margin-right: 0in; margin-left: 0in; font-size: 12pt; " class=""><font size="2" class=""><span style="font-size: 10pt; line-height: 15px; " class=""><a href="http://austincollege.edu/" class="">austincollege.edu</a><o:p class=""></o:p></span></font></div></span><div style="font-size: 11pt; margin-top: 0in; margin-right: 0in; margin-bottom: 0pt; margin-left: 0in; font-family: Calibri, sans-serif; " class=""><span class="Apple-style-span" style="color: rgb(54, 95, 145); font-family: 'Comic Sans MS'; font-size: 11px; font-weight: bold; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Arial; font-size: 13px; font-weight: normal; line-height: 15px; "></span><br class="Apple-interchange-newline"><span class=""></span></span></div></div></div></div></span></div></span><br class="Apple-interchange-newline"><span></span><span></span><span><img height="55" width="125" apple-inline="yes" id="79185EB9-EA57-4C03-8EFE-C9AB06568571" apple-width="yes" apple-height="yes" src="cid:4D99A401-FA1C-43BE-B041-E52331DACF4A@earthlink.net" class=""></span>
</span></div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jan 26, 2015, at 2:06 PM, Glenn Elliott <<a href="mailto:gelliott@cs.unc.edu" class="">gelliott@cs.unc.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="">On Jan 26, 2015, at 2:57 PM, Aaron Block <<a href="mailto:ablock@austincollege.edu" class="">ablock@austincollege.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">A plugin I am writing right now has a lot of logic in it for what do when a<br class="">job completes. The plugin works correctly, except that it crashes when the<br class="">system load is high. I might be barking up the wrong tree but I suspect<br class="">that my scheduling logic is "taking too long" and this is causing the<br class="">kernel to crash. I was wondering if anybody has an idea of how I could<br class="">increase the amount of time allocated to the scheduler (if there is even<br class="">such a value)<br class=""><br class="">Thanks,<br class=""><br class="">--Aaron<br class=""><div apple-content-edited="true" class=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div apple-content-edited="true" class=""><span class="Apple-style-span" style="font-size: 12px;"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="font-size: 18px;"><div class="" style="margin: 0in 0in 0.0001pt; line-height: 19px; font-size: 12pt;"><b class=""><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px; font-weight: bold;">Aaron Block</span></font></b></div><div class="" style="margin: 0in 0in 0.0001pt; line-height: 19px; font-size: 12pt;"><span class="Apple-style-span" style="line-height: 15px; font-size: 13px;">Assistant Professor of Computer Science</span></div><div class="" style="margin: 0in 0in 0.0001pt; line-height: 19px; font-size: 12pt;"><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;"><o:p class=""> </o:p></span></font></div><div class="" style="margin: 0in 0in 0.0001pt; line-height: 19px; font-size: 12pt;"><st1:place w:st="on" class=""><st1:placename w:st="on" class=""><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;">Austin</span></font></st1:placename><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;"> <st1:placename w:st="on" class="">College</st1:placename></span></font></st1:place><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;"> | Math and Computer Science<o:p class=""></o:p></span></font></div><div class="" style="margin: 0in 0in 0.0001pt; line-height: 19px; font-size: 12pt;"><st1:street w:st="on" class=""><st1:address w:st="on" class=""><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;">900 North Grand Avenue, Suite 61592</span></font></st1:address></st1:street><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;"> | <st1:place w:st="on" class=""><st1:city w:st="on" class="">Sherman</st1:city>, <st1:state w:st="on" class="">Texas</st1:state> <st1:postalcode w:st="on" class="">75090</st1:postalcode></st1:place><o:p class=""></o:p></span></font></div><div class="" style="margin: 0in 0in 0.0001pt; line-height: 19px; font-size: 12pt;"><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;">Phone 903.813.2563 <o:p class=""></o:p></span></font></div><div class="" style="margin: 0in 0in 0.0001pt; line-height: 19px; font-size: 12pt;"><font size="2" class=""><span class="" style="font-size: 10pt; line-height: 15px;"><a href="http://austincollege.edu/" class="">austincollege.edu</a><o:p class=""></o:p></span></font></div></span></div></div></div></span></div></span></span></div></div></div></blockquote><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Hi Aaron,</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Do you have “CONFIG_LOCKUP_DETECTOR” set? (It’s under the Kernel Hacking > Kernel debugging submenu). Linux’s soft lockup detector works by running a background high-priority SCHED_FIFO task that runs every few seconds. Every time it executes, the task resets a counter. In parallel, using NMIs, an interrupt handler increments this counter. If this counter reaches a great enough value (~20 seconds by default, I think), the NMI interrupt handler will crash the system. In systems heavily loaded with Litmus tasks, the SCHED_LITMUS tasks starve the soft lockup detector for CPU time. The NMI interrupt handler inevitably crashes the system. I’ve wasted days figuring this one out.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Workaround: Don’t set CONFIG_LOCKUP_DETECTOR.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">I’ve thought about submitting a patch to Litmus where the on_tick API causes the lockup detector counter to be reset. I haven’t gotten around to it yet though.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Of course, maybe CONFIG_LOCKUP_DETECTOR isn’t the source of the problem you are seeing.</div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">-Glenn</div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">litmus-dev mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:litmus-dev@lists.litmus-rt.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">litmus-dev@lists.litmus-rt.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.litmus-rt.org/listinfo/litmus-dev" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.litmus-rt.org/listinfo/litmus-dev</a></div></blockquote></div><br class=""></div></body></html>