Sysctl config help!

Discussion in 'Android Hacks and Help' started by superkraker, Oct 26, 2011.

  1. superkraker
    Offline

    superkraker New Member

    Joined:
    Mar 29, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    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. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    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
  3. superkraker
    Offline

    superkraker New Member

    Joined:
    Mar 29, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    I was talking about the app titled "sysctl config".
  4. superkraker
    Offline

    superkraker New Member

    Joined:
    Mar 29, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Unless these are commands?
  5. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    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: Oct 29, 2011
  6. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    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
  7. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    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
Search tags for this page
android rmem max
,

android sysctl settings

,
android sysctl tcp rmem
,

best settings for dirty ratio

,

droid charge sysctl

,
kernel sched unknown key
,
kernel sysctl samsung config
,
net.ipv4.tcp wmem android
,

sysctl android

,
sysctl.config 3g