summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-06-16 17:23:22 -0700
committerSan Mehat <san@google.com>2009-06-16 18:33:37 -0700
commitbfa2f8e9b506a4b710ebcefa7c1e324609b8ca34 (patch)
tree112b8d8fcde5f37a4ebafcd9516f789f2a399094 /rootdir
parentd0290eadc563f5a34fc1969f91621860d8756eff (diff)
downloadcore-bfa2f8e9b506a4b710ebcefa7c1e324609b8ca34.tar.gz
core-bfa2f8e9b506a4b710ebcefa7c1e324609b8ca34.tar.bz2
core-bfa2f8e9b506a4b710ebcefa7c1e324609b8ca34.zip
init: Bump up the max cpu bandwidth shares ratio for background.
New ratio is 1024/16 (1.5625% for background when cpu is under load) Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 2e00c7110..3fe4c258b 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -50,7 +50,7 @@ loglevel 3
mkdir /dev/cpuctl/bg_non_interactive
chown system system /dev/cpuctl/bg_non_interactive/tasks
chmod 0777 /dev/cpuctl/bg_non_interactive/tasks
- write /dev/cpuctl/bg_non_interactive/cpu.shares 1
+ write /dev/cpuctl/bg_non_interactive/cpu.shares 16
# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint