mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@MIT.EDU>
To: linux-kernel@vger.kernel.org
Subject: CONFIG_FAIR_GROUP_SCHED: setting sched_min_bal_int_shares to 2000?
Date: Sun, 24 Feb 2008 14:07:23 -0500	[thread overview]
Message-ID: <E1JTMC3-0004V9-Vk@closure.thunk.org> (raw)


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

                 reply	other threads:[~2008-02-24 19:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1JTMC3-0004V9-Vk@closure.thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®