* How to disable Lazy Preempt in the kernel @ 2014-06-19 15:11 tdjames 2014-06-19 15:20 ` Martin Steigerwald 2014-06-19 15:35 ` Heinz Diehl 0 siblings, 2 replies; 5+ messages in thread From: tdjames @ 2014-06-19 15:11 UTC (permalink / raw) To: linux-kernel I'm relatively new to Linux and working on getting a real-time kernel up and running for robot applications. I'm on Ubuntu 14.04, using kernel 3.14.3 and the 3.14.3-rt5 real-time patch. Also using x86-64. There's a known error where the whole system crashes under some load when lazy preempt is enabled. This has happened to me a few times now. My question is: How do I disable lazy preempt? Thanks for the help! -Tom -- View this message in context: http://linux-kernel.2935.n7.nabble.com/How-to-disable-Lazy-Preempt-in-the-kernel-tp885003.html Sent from the Linux Kernel mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to disable Lazy Preempt in the kernel 2014-06-19 15:11 How to disable Lazy Preempt in the kernel tdjames @ 2014-06-19 15:20 ` Martin Steigerwald 2014-06-19 15:35 ` Heinz Diehl 1 sibling, 0 replies; 5+ messages in thread From: Martin Steigerwald @ 2014-06-19 15:20 UTC (permalink / raw) To: tdjames; +Cc: linux-kernel Am Donnerstag, 19. Juni 2014, 08:11:21 schrieb tdjames: > I'm relatively new to Linux and working on getting a real-time kernel up and > running for robot applications. I'm on Ubuntu 14.04, using kernel 3.14.3 > and the 3.14.3-rt5 real-time patch. Also using x86-64. I don´t know about lazy preempt, but maybe a search in make nconfig reveals more? In any case: Debian offers ready made rt kernels as packages. So maybe thats an option for you? Beware: Debian and Ubuntu kernel packaging is different. Maybe Ubuntu also has a rt kernel package? Ciao, -- Martin 'Helios' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to disable Lazy Preempt in the kernel 2014-06-19 15:11 How to disable Lazy Preempt in the kernel tdjames 2014-06-19 15:20 ` Martin Steigerwald @ 2014-06-19 15:35 ` Heinz Diehl 2014-06-19 15:49 ` tdjames 1 sibling, 1 reply; 5+ messages in thread From: Heinz Diehl @ 2014-06-19 15:35 UTC (permalink / raw) To: linux-kernel On 19.06.2014, tdjames wrote: > How do I disable lazy preempt? echo NO_PREEMPT_LAZY >/sys/kernel/debug/sched_features ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to disable Lazy Preempt in the kernel 2014-06-19 15:35 ` Heinz Diehl @ 2014-06-19 15:49 ` tdjames 2014-06-19 17:05 ` Mike Galbraith 0 siblings, 1 reply; 5+ messages in thread From: tdjames @ 2014-06-19 15:49 UTC (permalink / raw) To: linux-kernel When I use echo NO_PREEMPT_LAZY >/sys/kernel/debug/sched_features (as root), I get the following error: bash: echo: write error: Invalid argument How do I get past this? Thanks -- View this message in context: http://linux-kernel.2935.n7.nabble.com/How-to-disable-Lazy-Preempt-in-the-kernel-tp885003p885031.html Sent from the Linux Kernel mailing list archive at Nabble.com. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to disable Lazy Preempt in the kernel 2014-06-19 15:49 ` tdjames @ 2014-06-19 17:05 ` Mike Galbraith 0 siblings, 0 replies; 5+ messages in thread From: Mike Galbraith @ 2014-06-19 17:05 UTC (permalink / raw) To: tdjames; +Cc: linux-kernel On Thu, 2014-06-19 at 08:49 -0700, tdjames wrote: > When I use > echo NO_PREEMPT_LAZY >/sys/kernel/debug/sched_features > (as root), I get the following error: > > bash: echo: write error: Invalid argument > > How do I get past this? Thanks Easy, do.. nothing. (it's build-time disabled on x86_64;) -Mike ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-19 17:06 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-06-19 15:11 How to disable Lazy Preempt in the kernel tdjames 2014-06-19 15:20 ` Martin Steigerwald 2014-06-19 15:35 ` Heinz Diehl 2014-06-19 15:49 ` tdjames 2014-06-19 17:05 ` Mike Galbraith
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.