DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 7 of 7

Thread: Sysctl config help!

  1. Junior Droid
    superkraker's Avatar
    Member #
    184021
    Join Date
    Mar 2011
    Posts
    5
    Phone
    Moto Droid 1
    #1

    Sysctl config help!

    Ok, so I've been looking for a while for help with this app and the best setting for a rooted Droid 1. Every time I look, the only things that come up are for different ROMs than what I have (CM7, btw) or are for different phones, and I figured that I need specific setting for my phone since not all phones are alike. Please point me in the right direction if this is already in the threads, or give me some insight yourselves. Thank you.
  2.  
     
     
     
  3. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #2
    Here, there's tons of sysctl settings in here that you can put in

    sysctl -w vm.swappiness=0;
    sysctl -w vm.oom_kill_allocating_task=0;
    sysctl -w vm.panic_on_oom=0;
    sysctl -w vm.dirty_background_ratio=60;
    sysctl -w vm.dirty_ratio=95;
    sysctl -w vm.min_free_kbytes=4096;
    sysctl -w vm.vfs_cache_pressure=10;
    sysctl -w kernel.panic=0;
    sysctl -w kernel.panic_on_oops=1;
    sysctl -w kernel.msgmni=2048;
    sysctl -w kernel.msgmax=64000;
    sysctl -w kernel.shmmax=268435456;
    sysctl -w kernel.sem='500 512000 64 2048';
    sysctl -w kernel.sched_features=24189;
    sysctl -w kernel.hung_task_timeout_secs=0;
    sysctl -w kernel.sched_latency_ns=18000000;
    sysctl -w kernel.sched_min_granularity_ns=1500000;
    sysctl -w kernel.sched_wakeup_granularity_ns=3000000;
    sysctl -w kernel.sched_compat_yield=1;
    sysctl -w kernel.sched_shares_ratelimit=256000;
    sysctl -w kernel.sched_child_runs_first=0;
    sysctl -w kernel.threads-max=5000;
    sysctl -w net.core.wmem_max=524288;
    sysctl -w net.core.rmem_max=524288;
    sysctl -w net.ipv4.tcp_tw_recycle=1;
    sysctl -w net.ipv4.tcp_rmem='6144 87380 524288';
    sysctl -w net.ipv4.tcp_wmem='6144 87380 524288';

    supercharged modified liquid 3.0
    3g turbocharger
    Pete's 5 slot lv 1.25GHz
    19.8 linpack high score
    1843 quadrant high score
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  4. Junior Droid
    superkraker's Avatar
    Member #
    184021
    Join Date
    Mar 2011
    Posts
    5
    Phone
    Moto Droid 1
    #3
    Quote Originally Posted by metalspring View Post
    Here, there's tons of sysctl settings in here that you can put in

    sysctl -w vm.swappiness=0;
    sysctl -w vm.oom_kill_allocating_task=0;
    sysctl -w vm.panic_on_oom=0;
    sysctl -w vm.dirty_background_ratio=60;
    sysctl -w vm.dirty_ratio=95;
    sysctl -w vm.min_free_kbytes=4096;
    sysctl -w vm.vfs_cache_pressure=10;
    sysctl -w kernel.panic=0;
    sysctl -w kernel.panic_on_oops=1;
    sysctl -w kernel.msgmni=2048;
    sysctl -w kernel.msgmax=64000;
    sysctl -w kernel.shmmax=268435456;
    sysctl -w kernel.sem='500 512000 64 2048';
    sysctl -w kernel.sched_features=24189;
    sysctl -w kernel.hung_task_timeout_secs=0;
    sysctl -w kernel.sched_latency_ns=18000000;
    sysctl -w kernel.sched_min_granularity_ns=1500000;
    sysctl -w kernel.sched_wakeup_granularity_ns=3000000;
    sysctl -w kernel.sched_compat_yield=1;
    sysctl -w kernel.sched_shares_ratelimit=256000;
    sysctl -w kernel.sched_child_runs_first=0;
    sysctl -w kernel.threads-max=5000;
    sysctl -w net.core.wmem_max=524288;
    sysctl -w net.core.rmem_max=524288;
    sysctl -w net.ipv4.tcp_tw_recycle=1;
    sysctl -w net.ipv4.tcp_rmem='6144 87380 524288';
    sysctl -w net.ipv4.tcp_wmem='6144 87380 524288';

    supercharged modified liquid 3.0
    3g turbocharger
    Pete's 5 slot lv 1.25GHz
    19.8 linpack high score
    1843 quadrant high score
    I was talking about the app titled "sysctl config".
  5. Junior Droid
    superkraker's Avatar
    Member #
    184021
    Join Date
    Mar 2011
    Posts
    5
    Phone
    Moto Droid 1
    #4
    Unless these are commands?
  6. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #5
    Quote Originally Posted by superkraker View Post
    Unless these are commands?
    Erase everything in the editor and then copy/paste these values in, save and reboot and this should be all you need

    vm.swappiness=30
    vm.oom_kill_allocating_task=0
    vm.panic_on_oom=0
    vm.dirty_background_ratio=60
    vm.dirty_ratio=95
    vm.min_free_kbytes=4096
    vm.vfs_cache_pressure=10
    kernel.panic=0
    kernel.panic_on_oops=1
    kernel.msgmni=2048
    kernel.msgmax=64000
    kernel.shmmax=268435456
    kernel.sem=500 512000 64 2048
    kernel.sched_features=24189
    kernel.hung_task_timeout_secs=0
    kernel.sched_latency_ns=18000000
    kernel.sched_min_granularity_ns=1500000
    kernel.sched_wakeup_granularity_ns=3000000
    kernel.sched_compat_yield=1
    kernel.sched_shares_ratelimit=256000
    kernel.sched_child_runs_first=0
    kernel.threads-max=5000
    net.core.wmem_max=524288
    net.core.rmem_max=524288
    net.ipv4.tcp_tw_recycle=1
    net.ipv4.tcp_rmem=6144 87380 524288
    net.ipv4.tcp_wmem=6144 87380 524288

    supercharged modified liquid 3.0 w/turbocharged 3g
    Pete's 5 slot lv 1.25GHz w/ kickasskernel tweaks
    19.8 linpack score
    1856 quadrant score
    Last edited by metalspring; 10-29-2011 at 03:24 AM.
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  7. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #6
    Or an alternate set would be

    vm.swappiness = 30
    vm.min_free_kbytes = 8192
    vm.dirty_ratio = 90
    vm.dirty_background_ratio = 70
    vm.dirty_writeback_centisecs = 6000
    vm.dirty_expire_centisecs = 3000
    vm.panic_on_oom = 0
    vm.oom_kill_allocating_task = 1
    vm.vfs_cache_pressure = 25
    fs.file-max = 65536
    fs.lease-break-time = 20
    kernel.panic_on_oops = 1
    kernel.panic = 0
    kernel.msgmni = 2048
    kernel.msgmax = 64000
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 268435456
    kernel.sem = 500 512000 64 2048
    kernel.sched_compat_yield = 1
    kernel.threads-max = 5000
    kernel.sched_latency_ns = 18000000
    kernel.sched_min_granularity_ns = 1500000
    kernel.sched_wakeup_granularity_ns = 3000000
    kernel.sched_shares_ratelimit = 256000
    kernel.sched_features = 24189

    supercharged modified liquid 3.0 w/turbocharged 3g
    Pete's 5 slot lv 1.25GHz w/ kickasskernel tweaks
    19.8 linpack score
    1856 quadrant score
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1
  8. Droid Ninja
    metalspring's Avatar
    Member #
    158915
    Join Date
    Jan 2011
    Location
    hermitage, pa
    Posts
    2,231
    Liked
    99 times
    Phone
    Galaxy Nexus LTE
    #7
    Or mix and match these values lol, just don't mess with it too much

    supercharged modified liquid 3.0 w/turbocharged 3g
    Pete's 5 slot lv 1.25GHz w/ kickasskernel tweaks
    19.8 linpack score
    1856 quadrant score
    My cMetal 11.0 rom for the verizon galaxy nexus

    Phone- The GALAXY NEXUS LTE a​ll the
    Rom- My own cMetal 11.0 rom (linaro enhanced cm-11.0)
    Kernel- ASKP or my modified mpokang v10 superram kernel
    previous phone the trusty ol' droid 1

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Sysctl Config Settings
    By berto1014 in forum Liberty ROM DX
    Replies: 0
    Last Post: 05-28-2011, 11:26 PM
  2. Sysctl help!!
    By psmith67 in forum Liberty ROM DX
    Replies: 2
    Last Post: 04-27-2011, 12:18 PM
  3. Need Sysctl help!
    By jjj751 in forum Droid X Hacks
    Replies: 1
    Last Post: 04-09-2011, 01:13 PM
  4. Sysctl Congif?
    By Droid_X_2010 in forum Liberty ROM DX
    Replies: 3
    Last Post: 02-10-2011, 04:35 PM
  5. Sysctl, what is it?
    By Jboxen in forum Liberty ROM D2
    Replies: 1
    Last Post: 02-03-2011, 05:14 PM

Search tags for this page

android dirty ratio
,
android kernel dirty ratio
,
android msgmax
,
hung task timeout secs sysctl
,
sysctl android
,

sysctl config

,
sysctl config help
,

sysctl config settings

,
sysctl dirty ratio
,

sysctl tweaks

Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+