mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* CONFIG_FAIR_GROUP_SCHED: setting sched_min_bal_int_shares to 2000?
@ 2008-02-24 19:07 Theodore Ts'o
  0 siblings, 0 replies; only message in thread
From: Theodore Ts'o @ 2008-02-24 19:07 UTC (permalink / raw)
  To: linux-kernel


I recently enabled CONFIG_FAIR_GROUP_SCHED just to play with it, and I
noticed by default it causes a fair number of wakeups when running on
battery.   A quick read-through of the sources showed that this could
easily be fixed by doing:

echo 2000 > /proc/sys/kernel/sched_min_bal_int_shares

Aside from mostly disabling the CPU load balancing, is this likely to
cause any massive problems?

Any reason why we shouldn't perhaps do this automatically when we run on
battery (not necessarily as a kernel thing, but as a userspace policy
measure)?

Thanks,

					- Ted

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-24 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-24 19:07 CONFIG_FAIR_GROUP_SCHED: setting sched_min_bal_int_shares to 2000? Theodore Ts'o

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®