What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[Tutorial]Sysctl and you, A guide to better preformance and battery life.

Yes you can I showed you how in the OP, Also all of these ways may work for some but my directions in the OP will work for all.
 
>#sysctl -a | grep vm
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 5
vm.dirty_background_bytes = 0
vm.dirty_ratio = 20
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 200
vm.nr_pdflush_threads = 0
vm.swappiness = 60
vm.lowmem_reserve_ratio = 32
vm.drop_caches = 0
vm.min_free_kbytes = 2845
vm.min_free_order_shift = 4
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65530
vm.laptop_mode = 0
vm.block_dump = 0
vm.vfs_cache_pressure = 100
vm.mmap_min_addr = 4096
vm.scan_unevictable_pages = 0
sysctl: error reading key 'net.ipv4.route.flush': Permission denied
sysctl: error reading key 'net.ipv6.route.flush': Permission denied
#su -a | grep vm
exit
# su sysctl -a | grep vm
Permission denied








This is what im getting. Im sure its something retarded and my ignorance is causing it.
 
im getting the same message and i tried both the toolbox method and root explorer method n still denied : /

EDIT: NEEEVEERRMIIIND. read more thoroughly, lookin forward to the improvements
 
Last edited:
>#sysctl -a | grep vm
vm.overcommit_memory = 1
vm.panic_on_oom = 0
vm.oom_kill_allocating_task = 0
vm.oom_dump_tasks = 0
vm.overcommit_ratio = 50
vm.page-cluster = 3
vm.dirty_background_ratio = 5
vm.dirty_background_bytes = 0
vm.dirty_ratio = 20
vm.dirty_bytes = 0
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 200
vm.nr_pdflush_threads = 0
vm.swappiness = 60
vm.lowmem_reserve_ratio = 32
vm.drop_caches = 0
vm.min_free_kbytes = 2845
vm.min_free_order_shift = 4
vm.percpu_pagelist_fraction = 0
vm.max_map_count = 65530
vm.laptop_mode = 0
vm.block_dump = 0
vm.vfs_cache_pressure = 100
vm.mmap_min_addr = 4096
vm.scan_unevictable_pages = 0
sysctl: error reading key 'net.ipv4.route.flush': Permission denied
sysctl: error reading key 'net.ipv6.route.flush': Permission denied
#su -a | grep vm
exit
# su sysctl -a | grep vm
Permission denied








This is what im getting. Im sure its something retarded and my ignorance is causing it.

Which method did you use?
 
the post says that youll receive two denied commands at the end that mean nothing, if your setting stick in the toolbox youll know it worked, or i think you can see it in the cmd code
 
Oh I thought that meant with root explorer only. So we're sayin my stuff works then? I guess we'll see when my battery life is 23748326 days before it dies.
 
Back
Top