diff --git a/init.bahamas.rc b/init.bahamas.rc index e6e90bd..506beba 100644 --- a/init.bahamas.rc +++ b/init.bahamas.rc @@ -74,8 +74,6 @@ on boot write /proc/sys/kernel/sched_latency_ns 5000000 write /proc/sys/kernel/sched_wakeup_granularity_ns 100000 write /proc/sys/kernel/sched_min_granularity_ns 100000 - write /proc/sys/vm/dirty_background_bytes 1024000 - write /proc/sys/vm/dirty_bytes 10240000 # Assign TCP buffer thresholds to be ceiling value of technology maximums # Increased technology maximums should be reflected here. diff --git a/system.prop b/system.prop index 07ced16..58564b8 100644 --- a/system.prop +++ b/system.prop @@ -69,6 +69,9 @@ dalvik.vm.heapsize=24m # Enable compcache ro.compcache.default=18 +# Lock dirty_ratio to 20 when USB is mounted for improved transfer speed +ro.vold.umsdirtyratio=20 + # Makes HOME ADW / OTHERS to be always in memoory pref_lock_home=1