Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
minhgi
Old
(Last edited by minhgi; 2nd July 2011 at 09:38 PM.) Reason: did not cure my SOD problem
#1  
Senior Member - OP
Thanks Meter 11
Posts: 198
Join Date: Jul 2008
Location: Houston
Default [SCRIPT] The Best RAM Optimization

Hello,

I just try this on my Asus Transformer and it seem to make a big different on the tablet smoothness.

Before when I either wake up the TF or running allot of program, it would lag allot. After the ram tweak, I can said it does make a different. Even after I had almost fill my memory up to 90%, opening new programs and swapping screen is fast. Android does a decent amount of work and return my memory back to 150 (and up) with the OOM Kill task. It did not cure my SOD problem.

I am current running the ram optimization with no other ram optimizer or task killer.

Here my TF configuration:

Prime 1.5, Netformer 1.5 @ 1.5GHZ, SD Boost, and Script Ram Optimization. The link is below. Check it out and let me know how it goes on your transformer. As always, make a nano backup before the tweak.

Credit goes to Juwe11

http://forum.xda-developers.com/show...&highlight=ram
The Following 4 Users Say Thank You to minhgi For This Useful Post: [ Click to Expand ]
 
Roach2010
Old
(Last edited by Roach2010; 2nd July 2011 at 05:22 PM.)
#2  
Roach2010's Avatar
Recognized Developer
Thanks Meter 2248
Posts: 828
Join Date: Sep 2008
Location: Glasgow

 
DONATE TO ME
Hi, if you're running prime 1.5 it has support for sysctl changes built in. By using /system/etc/sysctl.conf_default as a guide, simply put the desired settings into the /system/etc/sysctl.conf file and these will be applied on reboot by the 04sysctl init.d script that's already in the rom.

Or just use the script for the post above, it should work fine too.
The Following User Says Thank You to Roach2010 For This Useful Post: [ Click to Expand ]
 
amerikian
Old
#3  
Senior Member
Thanks Meter 13
Posts: 209
Join Date: Mar 2007
Location: madison
Question nice work !

By the way, what is SD Boost?
 
devilpera64
Old
#4  
devilpera64's Avatar
Senior Member
Thanks Meter 121
Posts: 672
Join Date: Dec 2008
Location: Monfumo (NGI Service)
can i use this tweak with the netformer kernel and stock rom?
..::Impossible is nothing::..
 
frosty5689
Old
#5  
frosty5689's Avatar
Senior Member
Thanks Meter 83
Posts: 570
Join Date: May 2011
Quote:
Originally Posted by amerikian View Post
By the way, what is SD Boost?
The default settings for I/O is really slow when it comes to SD r/w. With SD Boost app on market, it'll tweak the I/O parameters on boot. If you're running Prime, then it is already tweaked for you and is permanent.
ASUS Eee Pad Transformer 32GB - EOS 4.2.2
Samsung Galaxy SIII (d2can) - PAC-Man 4.2.2
 
devilpera64
Old
#6  
devilpera64's Avatar
Senior Member
Thanks Meter 121
Posts: 672
Join Date: Dec 2008
Location: Monfumo (NGI Service)
Quote:
Originally Posted by frosty5689 View Post
The default settings for I/O is really slow when it comes to SD r/w. With SD Boost app on market, it'll tweak the I/O parameters on boot. If you're running Prime, then it is already tweaked for you and is permanent.
But those files can be applied on stock rom with root and Kernel netformer 1.5 or i can fall in some issue if i don't have prime 1.5 installed into TF?
..::Impossible is nothing::..
 
jonitfcfan
Old
#7  
jonitfcfan's Avatar
Senior Member
Thanks Meter 34
Posts: 217
Join Date: Dec 2010
Location: Find me...
Quote:
Originally Posted by devilpera64 View Post
But those files can be applied on stock rom with root and Kernel netformer 1.5 or i can fall in some issue if i don't have prime 1.5 installed into TF?
Apps like that or SD Speed Increase should be fine with just a rooted device at minimum.
Samsung Galaxy S3 i9300 16GB (main phone)

ROM: AllianceROM ICS Final
Kernel: Siyah v1.5.3lm
Baseband: XXLH1

Samsung Galaxy S i9000 16GB

ROM: AllianceROM JW4 base ROM
Kernel: Semaphore v2.7.4bmfr
Baseband: ZSJV5
Lagfix enabled

Asus Eee Pad Transformer 16GB (with keyboard dock )

ROM: Revolver v4.2.0
Kernel: [default with above]
 
devilpera64
Old
#8  
devilpera64's Avatar
Senior Member
Thanks Meter 121
Posts: 672
Join Date: Dec 2008
Location: Monfumo (NGI Service)
Quote:
Originally Posted by jonitfcfan View Post
Apps like that or SD Speed Increase should be fine with just a rooted device at minimum.

and the RAM tweak? if i apply it with CWM on the stock rom (as i have done with wpa_supplicant to turn on Ad-Hoc connections) it's ok or i can have issues?
..::Impossible is nothing::..
 
jerdog
Old
#9  
jerdog's Avatar
Developer Committee / OEM Relations / XDA News Writer - Harbinger of Doom
Thanks Meter 3011
Posts: 4,567
Join Date: May 2007
Location: Kansas; Likes: XDA, Coffee, Android, Intelligence Dislikes: Self-entitled twits and id10ts

 
DONATE TO ME
Here is what Roach2010 already has in the kernel by default:

[taken from the /system/etc/sysctl.conf_default file in PRIME v1.5]
NOTE: only the values that relate to what is in the script that the OP links to
Code:
vm.dirty_background_ratio = 5
vm.dirty_ratio = 20
vm.dirty_writeback_centisecs = 500
vm.dirty_expire_centisecs = 200
vm.swappiness = 60
vm.vfs_cache_pressure = 100

Here are the values to place into the /system/etc/sysctl.conf file that Roach2010 mentions above:

NOTE: these are the replaced values that relate to the script the OP links to
Code:
vm.dirty_background_ratio = 5
vm.dirty_ratio = 90
vm.dirty_writeback_centisecs = 1000
vm.dirty_expire_centisecs = 500
vm.swappiness = 50
vm.vfs_cache_pressure = 10
Looks to be similar to this app => https://market.android.com/details?i...=search_result



Quote:
Notify your physician if after exposure to XDA n00bs you experience any of the following symptoms: rapid or irregular heartbeat, chest pain, shortness of breath, leg cramps, headache, nervousness, irritability, sleeplessness, tremors, change in appetite, weight gain or loss, vomiting, diarrhea, excessive sweating, heat intolerance, fever, changes in menstrual periods, hives or skin rash, or any other unusual medical event.
I'm an NVIDIA Tegra Champ. Any opinion that I express here and elsewhere are solely based on my personal
preference and any relevant expertise that I may/may not have on the subject matter.

The Following User Says Thank You to jerdog For This Useful Post: [ Click to Expand ]
 
Globespy
Old
#10  
Senior Member
Thanks Meter 233
Posts: 1,270
Join Date: Jun 2008
Location: Spaceship Earth
Quote:
Originally Posted by Roach2010 View Post
Hi, if you're running prime 1.5 it has support for sysctl changes built in. By using /system/etc/sysctl.conf_default as a guide, simply put the desired settings into the /system/etc/sysctl.conf file and these will be applied on reboot by the 04sysctl init.d script that's already in the rom.

Or just use the script for the post above, it should work fine too.
Canny figure oot if yer sayin this is gonny help oor no?
I'm running Prime 1.5 and clemsys kernel v14b.
If my answer/idea was useful please hit the 'Thanks' button!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Forums Added for the LG Optimus G Pro and Sony Xperia Tablet Z

Not too long ago, we talked about how Sony was continuing its AOSP efforts on … more

Permanent Screen Off for the Visually Impaired

Most of us take the simple act of waking up our devices and having a quick glance at the … more

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more