Google Groups Home
Help | Sign in
Message from discussion CONFIG_FAIR_GROUP_SCHED: setting sched_min_bal_int_shares to 2000?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Theodore Ts'o  
View profile
 More options Feb 24, 2:07 pm
Newsgroups: fa.linux.kernel
From: "Theodore Ts'o" <ty...@MIT.EDU>
Date: Sun, 24 Feb 2008 19:07:54 UTC
Local: Sun, Feb 24 2008 2:07 pm
Subject: CONFIG_FAIR_GROUP_SCHED: setting sched_min_bal_int_shares to 2000?

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google