From bfa2f8e9b506a4b710ebcefa7c1e324609b8ca34 Mon Sep 17 00:00:00 2001 From: San Mehat Date: Tue, 16 Jun 2009 17:23:22 -0700 Subject: [PATCH] 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 --- rootdir/init.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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