[Tutorial] ROMs & Sysctl.conf & other tweaks!

This is a discussion on [Tutorial] ROMs & Sysctl.conf & other tweaks! within the Droid X Hacks forums, part of the Droid X Development category; Well you guys have certainly run away with this and the options I'm a subscriber to simple. I want the best performance with the least ...


+ Reply to Thread
Page 14 of 60 FirstFirst ... 4 12 13 14 15 16 24 ... LastLast
Results 131 to 140 of 597
Like Tree42Likes

Thread: [Tutorial] ROMs & Sysctl.conf & other tweaks!

  1. #131
    X Informant Achievements:
    250 Experience Points3 months registered31 days registered100 Experience Points7 days registered
    Inkarnit's Avatar
    Member #
    23562
    Join Date
    Dec 2010
    Location
    Buckeye, AZ
    Posts
    37
    Liked
    1 times
    Well you guys have certainly run away with this and the options I'm a subscriber to simple. I want the best performance with the least amount of babysitting. I don't want to use Tasker or cache cleaners or anything of the sort. I posted these much earlier in the thread (first couple pages?) but I'll reiterate and include my results:

    vm.min_free_kbytes = 2048
    vm.dirty_ratio = 95
    vm.dirty_background_ratio = 60
    vm.vfs_cache_pressure = 50
    vm.kill_oom_allocating_task = 1

    My phone has now been booted for 58.5 hours without a slowdown. This battery charge is closing on 2.5 hours in and still showing as 100%. I think simple is better

  2. Droid X Forums
    Ads


  3. #132
    *Rescue Squad*
    Supporting Member
    Points: 46,089, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0.6%
    Achievements:
    500 Experience Points250 Experience Points7 days registered100 Experience PointsTagger Second Class
    Awards:
    Posting Award
    macpro88's Avatar
    Member #
    20491
    Join Date
    Dec 2010
    Posts
    6,966
    Liked
    322 times
    Quote Originally Posted by Inkarnit View Post
    Well you guys have certainly run away with this and the options I'm a subscriber to simple. I want the best performance with the least amount of babysitting. I don't want to use Tasker or cache cleaners or anything of the sort. I posted these much earlier in the thread (first couple pages?) but I'll reiterate and include my results:

    vm.min_free_kbytes = 2048
    vm.dirty_ratio = 95
    vm.dirty_background_ratio = 60
    vm.vfs_cache_pressure = 50
    vm.kill_oom_allocating_task = 1

    My phone has now been booted for 58.5 hours without a slowdown. This battery charge is closing on 2.5 hours in and still showing as 100%. I think simple is better

    Very nice, I ran these settings for a while too, with great results as well. Trying the pressure on 1 and having Cache Cleaner NG (which has a scheduler built in so you don't have to mess with it) should hopefully work out nicely without having to reboot for a while, and should have good battery life as well.

    And as for my Market FC problem, Market still works.... still I will put this on the back burner for while.
    But thank you guys for your suggestions.

    Also, I noticed that Liberty does not have a built in battery manager where you can change the settings? I am assuming this was a blur element. Any suggestions on an app that does a great job at managing the battery like the stock one?

    DroidXForums Guidelines of Conduct
    Show Your Support and Become a Supporting Member Today!


    And always remember to read, read, read, and read some more!


  4. #133
    Advocate X
    Supporting Member
    Points: 24,548, Level: 95
    Level completed: 20%, Points required for next Level: 802
    Overall activity: 31.6%
    Achievements:
    Three Friends500 Experience Points250 Experience Points100 Experience Points7 days registered
    WugFresh's Avatar
    Member #
    19823
    Join Date
    Nov 2010
    Location
    Earth
    Posts
    5,135
    Liked
    454 times
    I use tasker, but Juice Defender can adjust similar settings.

    @Inkarnit
    What's your opposition to Tasker or Cache cleaners?

    {{ WugFresh }}
    Easy method for SBF'ing your phone back to stock
    + SBFboot - the easy way to sbf
    Best ways to improve your phones overall performance:
    + How To Optimize Battery Life & Speed
    Wireless tethering on GB simplified
    + WugPacked GB Tether Patch [All-In-One Zips]
    Other helpful resources:
    + Deodexing Explained + How To
    + [One Stop] Rom Goodies, Extras, Mods & More

    ..:: Follow me on Twitter and Google+::..

  5. #134
    *Rescue Squad*
    Supporting Member
    Points: 46,089, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0.6%
    Achievements:
    500 Experience Points250 Experience Points7 days registered100 Experience PointsTagger Second Class
    Awards:
    Posting Award
    macpro88's Avatar
    Member #
    20491
    Join Date
    Dec 2010
    Posts
    6,966
    Liked
    322 times
    Quote Originally Posted by WugFresh View Post
    I use tasker, but Juice Defender can adjust similar settings.

    @Inkarnit
    What's your opposition to Tasker or Cache cleaners?

    {{ WugFresh }}
    Wow, Tasker is expensive lol, if it is like the free version of Juice Defender, I will likely consider it, trying out Juic Defender right now to see how things improve.

    DroidXForums Guidelines of Conduct
    Show Your Support and Become a Supporting Member Today!


    And always remember to read, read, read, and read some more!


  6. #135
    X Informant Achievements:
    250 Experience Points3 months registered31 days registered100 Experience Points7 days registered
    Inkarnit's Avatar
    Member #
    23562
    Join Date
    Dec 2010
    Location
    Buckeye, AZ
    Posts
    37
    Liked
    1 times
    Quote Originally Posted by WugFresh View Post
    I use tasker, but Juice Defender can adjust similar settings.

    @Inkarnit
    What's your opposition to Tasker or Cache cleaners?

    {{ WugFresh }}
    No true opposition, as I've not used either. I just don't want to have apps to control what I'm doing. I have my phone set up pretty well through what I do have. Adding more stuff seems counterproductive to me. I don't need to change settings for different times. With my sysctl tweaks coupled with Autostarts to stop the BS apps from starting on their own, I don't see any need to mess with things. My phone runs very fast, scoring around 1500 on quadrant without any overclocking, has a battery that lasts longer than I ever need it, and a cache that apparently doesn't need a reboot except MAYBE once a week. I don't even know if it needs it that much. I've got things pretty much in the money spot. What can Tasker or cache cleaners do for me?

  7. #136
    X Operative Achievements:
    3 months registered250 Experience Points100 Experience Points31 days registered7 days registered
    Marius's Avatar
    Member #
    17580
    Join Date
    Oct 2010
    Posts
    202
    Liked
    18 times
    I agree simple is better for most people, but if you're a OCD tweaker like me I need to push my phone to its limits!

    I think the important thing is that the folks simply at least just turn on sysctl in their liberty settings. Liberty 1.0 ships with stock rom kernel settings, and they can be less than ideal in terms of battery life or performance.

    Btw, before the tweaks my phone used to reboot daily, but now it's been up for over 4 days straight!

    # uptime
    16:33:59 up 4 days, 2:06, load average: 0.87, 0.26, 0.22
    #

    So reliabilty has gone up as well!

    As for Cache Cleaner NG, i'm not sure which cache it's actually cleaning. Would be nice to get some sort of technical explanations. There are different types of caches. The vfs_cache_pressure settings affect file system cache only (dentry/inodes), and the dirty_* settings affect block cache. I suspect it may clear application caches only which is not what we're looking for here.
    Last edited by Marius; 01-24-2011 at 10:40 AM.
    Marius, aka. Imoseyon
    http://www.imoseyon.com/

  8. #137
    X Operative
    Points: 2,485, Level: 30
    Level completed: 24%, Points required for next Level: 115
    Overall activity: 0.2%
    Achievements:
    250 Experience PointsCreated Album pictures100 Experience Points31 days registered7 days registered
    BadMedicine's Avatar
    Member #
    9633
    Join Date
    Sep 2010
    Location
    Charleston, SC
    Posts
    213
    Liked
    6 times
    I ran these settings for a day:

    Min KB free: default
    Dirty Background Ratio: 90
    Dirty Ratio: 90
    VFS cache pressure: 10

    I had 2 random reboots while the phone was on these settings. I'm confident that the Dirty Background caused the problem. Battery life was about as it was on default settings.

    I'm now at:

    Min KB free: default
    Dirty Background Ratio: 70
    Dirty Ratio: 90
    VFS cache pressure: 20

    Been running this for the last 2.5 days and have seen great results. Battery life increased after the first day. The second day after a full charge I'm at 70% after 19 hours. No slow downs, reboots, or FC's.
    Droid X Rooted (OTA 2.2.1) Liberty ONE Point O Overclocked at 1.2Ghz LV

  9. #138
    X Operative Achievements:
    3 months registered250 Experience Points100 Experience Points31 days registered7 days registered
    Marius's Avatar
    Member #
    17580
    Join Date
    Oct 2010
    Posts
    202
    Liked
    18 times
    Quote Originally Posted by BadMedicine View Post
    I ran these settings for a day:

    Min KB free: default
    Dirty Background Ratio: 90
    Dirty Ratio: 90
    VFS cache pressure: 10
    Whoa dirty_background_ratio = dirty_ratio = 90 is very dangerous! You're basically telling the kernel not to flush any data to disk until you have less than 10% of memory free, at which point all processes requiring I/O will be blocked to wait for I/O. And then your processes will start piling up, hanging, things just get in a bad shape. Nothing to do with Liberty, it's just how linux works.
    Marius, aka. Imoseyon
    http://www.imoseyon.com/

  10. #139
    Advocate X
    Supporting Member
    Points: 24,548, Level: 95
    Level completed: 20%, Points required for next Level: 802
    Overall activity: 31.6%
    Achievements:
    Three Friends500 Experience Points250 Experience Points100 Experience Points7 days registered
    WugFresh's Avatar
    Member #
    19823
    Join Date
    Nov 2010
    Location
    Earth
    Posts
    5,135
    Liked
    454 times
    @Inkarnit
    Well with Marius's point about cache cleaners, I am begining to second guess my logic about using them, running a script to clear system cache is really what I should be doing; I think Marius is right and cache cleaners just clear app cache. Rebooting obviously is a substitute for automating a system cache clear, since system cache is always flushed when there is no power source. So I need to revise my approach.

    However, I think Tasker is a must have. If your outlook is 'simple is better' then I think tasker is for you. Well... if you define 'simple' the way I do. I consider it to mean, unattended/without user interaction; set my tasks up once and have my phone do everything I want it to automatically; less user interaction means increased productivity, not counter-productivity. Here are some examples of things I have made tasker do:

    When I start Maps, GPS initiates and then shuts off when I exist.

    When I plug in my headphones, volume increases, Pandora starts

    When a good WiFi connection is detected my device turns on WiFi connects and turns off 3G.

    When I plug my device into my charger, autosync initiates

    When I open 3G hotspot, autosync is disabled.

    When I physically move my phone using various gestures it launches different apps, or tasks.

    Literally, tasker does anything you want it to.. anything you can think of.

    In context to this thread about sysctl.config edits, if I can use tasker to clear system cache and therefore have the opportunity to push my phone to the limit, via cache pressure = 1, then that is already one great example of utilizing Tasker for a great benefit. And is "simpler" then rebooting so to speak... if you don't factor in the time to make the tasker profile to begin with.

    @macpro
    Tasker does everything which is why it can also do what Juice Defender does, but not vise versa. Tasker is worth every penny, in fact I consider it to be a bargain considering how many apps I have replaced with it.

    {{ WugFresh }}
    Easy method for SBF'ing your phone back to stock
    + SBFboot - the easy way to sbf
    Best ways to improve your phones overall performance:
    + How To Optimize Battery Life & Speed
    Wireless tethering on GB simplified
    + WugPacked GB Tether Patch [All-In-One Zips]
    Other helpful resources:
    + Deodexing Explained + How To
    + [One Stop] Rom Goodies, Extras, Mods & More

    ..:: Follow me on Twitter and Google+::..

  11. #140
    X Operative
    Points: 2,485, Level: 30
    Level completed: 24%, Points required for next Level: 115
    Overall activity: 0.2%
    Achievements:
    250 Experience PointsCreated Album pictures100 Experience Points31 days registered7 days registered
    BadMedicine's Avatar
    Member #
    9633
    Join Date
    Sep 2010
    Location
    Charleston, SC
    Posts
    213
    Liked
    6 times
    Quote Originally Posted by Marius View Post
    Whoa dirty_background_ratio = dirty_ratio = 90 is very dangerous! You're basically telling the kernel not to flush any data to disk until you have less than 10% of memory free, at which point all processes requiring I/O will be blocked to wait for I/O. And then your processes will start piling up, hanging, things just get in a bad shape. Nothing to do with Liberty, it's just how linux works.
    Yeah I was aware that it would be unstable, I was just giving it a try for the heck of it. I know it's not Liberty's fault, I'm just playing around and seeing what's good.

    Also, You guys are worried about clearing the cache and cache cleaners. In Liberty Settings there is an option to clear cache/fix permissions on bootup. I have these options checked. Question: which cache(s) is it clearing?
    Droid X Rooted (OTA 2.2.1) Liberty ONE Point O Overclocked at 1.2Ghz LV

+ Reply to Thread
Page 14 of 60 FirstFirst ... 4 12 13 14 15 16 24 ... LastLast

Ads

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. Nenolod's performance tweaks - sysctl.conf - effective?
    By armedmonkey in forum Droid X Hacks
    Replies: 4
    Last Post: 03-21-2011, 05:47 PM
  2. Sysctl settings
    By patrick72 in forum Droid X General Discussion
    Replies: 4
    Last Post: 02-16-2011, 01:40 PM
  3. Kernel Tweaks
    By MXDX in forum Droid X Hacks
    Replies: 4
    Last Post: 02-06-2011, 11:13 AM
  4. Kernel Tweaks
    By MXDX in forum Droid X ROMs
    Replies: 0
    Last Post: 02-04-2011, 07:23 PM
  5. X Performance / Memeory tweaks
    By DISCOSTU9 in forum Droid X General Discussion
    Replies: 9
    Last Post: 07-17-2010, 06:12 PM

Search tags for this page

android sysctl
,
android sysctl tweaks
,
android sysctl.conf
,
oom kill allocating task
,
sysctl android
,
sysctl tweak
,

sysctl tweaks

,
sysctl.conf
,

sysctl.conf android

,
sysctl.conf tweaks
Click on a term to search our sites for related topics.

Tags for this Thread