diff options
author | Colin Cross <ccross@android.com> | 2012-05-16 13:49:30 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2012-05-16 13:49:30 -0700 |
commit | 4c48025c484e9fb0e10bb9c6a1b9bbd5a2def555 (patch) | |
tree | 44e860cbeba2ae25fb86edde82f5b23aef7c69b1 | |
parent | 246808bedfb35ce8abd6cee434ff5b07a6618e8a (diff) | |
download | system_core-4c48025c484e9fb0e10bb9c6a1b9bbd5a2def555.zip system_core-4c48025c484e9fb0e10bb9c6a1b9bbd5a2def555.tar.gz system_core-4c48025c484e9fb0e10bb9c6a1b9bbd5a2def555.tar.bz2 |
Increase cpu.rt_runtime_us to 10% for fg and bg groups
GPS on yakju puts SCHED_RR threads in the fg and bg groups, and
is unhappy with 0.1% limits. Increase the limits to 10%.
Change-Id: I971c9b0a815890d41694b965fdd2b023937a4411
-rw-r--r-- | rootdir/init.rc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 05b7621..aa1bb92 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -97,7 +97,7 @@ loglevel 3 chown system system /dev/cpuctl/foreground/tasks chmod 0666 /dev/cpuctl/foreground/tasks write /dev/cpuctl/foreground/cpu.shares 1024 - write /dev/cpuctl/foreground/cpu.rt_runtime_us 1000 + write /dev/cpuctl/foreground/cpu.rt_runtime_us 100000 write /dev/cpuctl/foreground/cpu.rt_period_us 1000000 mkdir /dev/cpuctl/bg_non_interactive @@ -105,7 +105,7 @@ loglevel 3 chmod 0666 /dev/cpuctl/bg_non_interactive/tasks # 5.0 % write /dev/cpuctl/bg_non_interactive/cpu.shares 52 - write /dev/cpuctl/bg_non_interactive/cpu.rt_runtime_us 1000 + write /dev/cpuctl/bg_non_interactive/cpu.rt_runtime_us 100000 write /dev/cpuctl/bg_non_interactive/cpu.rt_period_us 1000000 mkdir /dev/cpuctl/audio_app |