All of lore.kernel.org
 help / color / mirror / Atom feed
* Can I disable RT throttling?
@ 2013-03-08 22:36 David Mulder
  2013-03-09  3:28 ` Bruce Ashfield
  2013-03-10 11:42 ` Fredrik Markström
  0 siblings, 2 replies; 12+ messages in thread
From: David Mulder @ 2013-03-08 22:36 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

Hi.

I'm running a 10us control loop by (under vxWorks) setting one thread's priority to max and not yielding ever (letting other tasks run on other cores), but Linux seems to thwart that capability: Ubuntu swaps out my thread occasionally for hundreds of microseconds; Yocto prints a "[sched_delayed] sched: RT throttling activated" message as soon as I start my thread, so it seems likely that it will swap out my thread periodically (I'm not quite able to confirm that yet), and even the fastest thread swap that I've heard of is too slow.

I tried changing the kernel's Preemption Model to "No Forced Preemption (Server)", but that didn't remove the RT throttling message.  I browsed the rest of menuconfig but nothing looked related.  I read an article from 2008 that talked about the kernel reserving 5% of the CPU for non-SCHED_FIFO tasks, so that's the direction and terminology I looked for in menuconfig.

So maybe disabling RT throttling is all I need to do, maybe some other approach is needed.  Hopefully someone will know more than I do.

Thanks!
Dave Mulder


[-- Attachment #2: Type: text/html, Size: 3565 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-03-12  0:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-08 22:36 Can I disable RT throttling? David Mulder
2013-03-09  3:28 ` Bruce Ashfield
2013-03-09 17:12   ` Vin Shelton
2013-03-10  3:09     ` Bruce Ashfield
2013-03-11 16:15   ` David Mulder
2013-03-11 17:32     ` Trevor Woerner
2013-03-11 17:38       ` David Mulder
2013-03-11 17:45         ` Bruce Ashfield
2013-03-11 18:13           ` David Mulder
2013-03-12  0:14             ` Bruce Ashfield
2013-03-10 11:42 ` Fredrik Markström
2013-03-10 18:00   ` Bruce Ashfield

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.