mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* kthread realtime priorities and exporting  sys_sched_setscheduler()
@ 2004-11-10 16:31 Dean Nelson
  2004-11-10 19:14 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Dean Nelson @ 2004-11-10 16:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: nickpiggin, akpm

I'm trying to push XP[C|NET] out to the community. (For further details:
http://marc.theaimsgroup.com/?l=linux-ia64&m=109337050919186&w=2 )

An objection was raised over the exporting and calling of
sys_sched_setscheduler(), which XPC calls to make its kthreads
run at realtime priorities. Without this change we found that it
was possible for user processes to be given a higher effective
priority than the kthreads used by XPC. The upshot of this was
that the latencies incurred by XPC increased 300 times in the
test example given. If XPC's kthreads were given realtime
priorities this did not happen. (For further details:
http://marc.theaimsgroup.com/?l=linux-ia64&m=109337503100067&w=2 )

Note that XPC uses kthreads because it is possible for them to block
indefinitely.

So if we are unable to export sys_sched_setscheduler() or setscheduler()
what would you suggest we do to solve this particular problem?

Thanks,
Dean

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

end of thread, other threads:[~2004-11-10 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-10 16:31 kthread realtime priorities and exporting sys_sched_setscheduler() Dean Nelson
2004-11-10 19:14 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®