* NEPOTISM_BONUS yield_to_child() ?
@ 2011-06-10 17:13 Robert Redelmeier
0 siblings, 0 replies; only message in thread
From: Robert Redelmeier @ 2011-06-10 17:13 UTC (permalink / raw)
To: LKML; +Cc: Robert Redelmeier
[YAFR - Yet Another Feature Request]
Multi-threaded/tasking performance is entirely
dependent on the OS scheduler. I searched
/usr/src/linux/Documentation/scheduler/*
and found no mention of parent or child processes.
Parent- and child-processes are interconnected, and for maximum [SMP]
performance, these connections should be recognized _optimally._
For example, on some [desktop] systems, an exec() syscall would run
unblocked, an exit() would return the rest of the timeslice to the
parent, yield() would go to child (parent?), etc. Other servers
might choose the exact opposite.
This connectivity could be implemented by a tuneable scheduler param:
NEPOTISM_BONUS = int
where positive values would influence the scheduler to run
parents/children/uncles/nieces and negative values would
cause the scheduler to prefer strangers [unrelated procs].
-- Robert in Houston
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-06-10 17:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10 17:13 NEPOTISM_BONUS yield_to_child() ? Robert Redelmeier
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®