Easy way to optimize kernel performance and battery life

Discussion in 'ChevyNo1' started by metalspring, Jun 1, 2011.

  1. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    I was searching around for a way to make the Chevy 1.25 ulv kernel to run even cooler, have better battery life and maybe even better performance and I stumbled upon this really easy way to optimize the sysctl values. (I think that's what it is lol)

    http://www.droidforums.net/forum/project-elite/138986-pe-5-02-memory-fix-part-ii.html

    Only catch is its hard to get it to work with the supercharging script
    But now my idle temps are down in the 60s and even heavy usage only goes up to about 100°F and SS 5.4 is snappier than ever
    Enjoy the link :)
    Sent from my Droid using DroidForums

    Edit: btw all credit goes to IMOSEYON for this, I just found it lurking in a corner here on the forums
  2. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    meh ive done all that ish myself already(except cron but that seems pretty moot for me).

    Kernel tweaks-supercharge/chevy tools can do all that his zip does.
    build.prop tweaks- ive already tweaked mine to my liking(ive googled a few edits and gone with them)
    flushes system cache-cache mate
    disables logger-if you use chevy's kernels, you don't need to worry about this. I'm not usign a chevy kernel so i would like this though...lol.

    just a few notes on it on my end.

    I bet it will help someone who just newly flashed a rom though and doesn't want to edit build.prop themselves.
    Thanks for posting.
  3. meishkov
    Offline

    meishkov New Member

    Joined:
    Feb 12, 2010
    Messages:
    957
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Sterling Heights, MI
    I'm at work, but that's the one with the very long sysctl.conf file correct?? I remember seeing some chatter about it a few weeks ago. I tried but didn't notice a single difference for me. I'm on 5.3 about to upgrade to 5.4, I run primes deprimed kernel cuz they just make my phone run the smoothest, and what really helped me out was creating the 64mb swap partition on the SD card and using swapper2 to manage it, though I'm gonna switch to a script, just so I have as FEW running processes as possible. My phone isn't one of the few that runs gingerbread smooth outta the box, which is why I've had to do these multiple things. Oh yea I got a 1gb ext3 partition I made with the purpose in mind of using link2sd to move alot of stuff, but it hasn't panned out the way I envisioned quite yet lol.

    Sent from my Droid using DroidForums
  4. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    If anyone tries this .zip, let me know how it goes.

    I'm calibrating my battery so i don't want to reboot my phone :)
  5. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    Yeah I'm curious to see how it works on other peoples phones too, I'm LOVING it so far

    Sent from my Droid using DroidForums
  6. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    Did this overwrite what supercharge did?

    I'll try it tomorrow probably. I just don't want it to change some of the tweaks i made that ive come to like.
  7. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    It has its own minfree values it automatically applies at boot, which I don't think are too great lol

    Sent from my Droid using DroidForums
  8. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    It re-sets them on boot?

    maybe theres a way to go in and change.
  9. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    I think the best way is just pulling the sysctl file out of the zip and copying it over the one already in /etc...just try to reboot once a day to clear out the big cache it builds up
    Again I think of this zip as the "idiots guide" to optimizing kernel performance lol

    Sent from my Droid using DroidForums
  10. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    Oh good idea.

    Would cachemate delete the cache it builds up?
  11. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    I'm not sure, but this is the basic script the .zip has scheduled to run automatically once a day (at least I think that's all of it, I know nothing about Linux or stuff like that)

    #!/system/bin/sh
    free; sync;
    echo 3 > /proc/sys/vm/drop_caches;
    free
    pkill zygote

    That seems to obviously dump the vm caches and pkill zygote is basically a hot reboot
    But it seems like you need to run the entire script to clear the cache without a full reboot

    Sent from my Droid using DroidForums
  12. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    I went ahead and copied the .conf over to my phone. I'll let ya know if i notice a difference.

    Thats all i had to do ya? just copy the file and reboot?( i didnt want to trade the minfree values)
  13. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    If you wanna check go to /proc/sys/cm with root explorer and view dirty background ratio; dirty ratio; and vfs cache pressure
    They should match what's on the sysctl file
    BUT DO NOT TRY TO CHANGE ANYTHING IN THERE
    I'm not sure what it would do but I doubt it would be good

    Sent from my Droid using DroidForums
  14. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    ya they match. thanks pal!
  15. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    Btw did that break your screen on/ screen off animations?

    Sent from my Droid using DroidForums
  16. bigeric828
    Offline

    bigeric828 New Member

    Joined:
    Mar 8, 2011
    Messages:
    510
    Likes Received:
    1
    Trophy Points:
    0
    i don't use animations, ill check it out if u want though.
  17. metalspring
    Offline

    metalspring New Member

    Joined:
    Jan 9, 2011
    Messages:
    2,228
    Likes Received:
    24
    Trophy Points:
    0
    Location:
    hermitage, pa
    Its not a big deal, I'm just wondering how sysctl values would have anything to do with the animations lol

    Sent from my Droid using DroidForums
Search tags for this page

android kernel optimization

,
android optimise kernel
,
best kernel opmization for battery
,
how to optimise android kernal
,

how to optimize android kernel

,

how to optimize android rom

,
how to optimize sysctl on verizon sgs3?
,
how to optimize the android kernel
,
how to tweak kernel on android for optimized performances
,
optimise an android kernel
,
optimise android kernel
,

optimize android kernel

,

optimize droid bionic

,
optimize droid x battery life
,
performance optimization tools in android kernel