Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
dsexton702
Old
(Last edited by dsexton702; 7th August 2011 at 06:36 PM.)
#1  
dsexton702's Avatar
Recognized Developer - OP
Thanks Meter 2234
Posts: 2,476
Join Date: Apr 2011
Location: Las Vegas

 
DONATE TO ME
Default [MOD]EXT4 optimization UPDATE 8-7-11

here is an init.d script to optimize your ext4 partitions


thanks to crackpot for the original script, all i did was change the values to optimize performance

this has been tested and does improve performance

go inside tar and extract s99 file put into init.d folder /system/etc/init.d
Attached Files
File Type: tar S99partition_mounts.tar - [Click for QR Code] (2.0 KB, 682 views)
The Following 11 Users Say Thank You to dsexton702 For This Useful Post: [ Click to Expand ]
 
RaverX3X
Old
#2  
RaverX3X's Avatar
Recognized Developer
Thanks Meter 5111
Posts: 4,226
Join Date: Jun 2011
Location: Cali

 
DONATE TO ME
Quote:
Originally Posted by dsexton702 View Post
because im not professional with kernels raver or drhonk will have to install this on the kernel, but for those who have ext4 on all partitions on GB this mod is definitely for you


"Barriers allow usage of delayed allocations without risk. Delayed allocations are the key to performance for modern filesystems," supercurio.

THIS IS FOR EXPERIENCED PEOPLE WITH ADB

plug the phone in
make sure debug is on
and type the following into your command prompt

adb shell
mount -o remount,barrier=0 /system /system
mount -o remount,barrier=0 /cache /cache

for some reason the kernel only has /data with barriers when all 3 should have them

you will notice your quad go up about 2-300 more
and your performance will be much better
the barriers were prob removed to the fact of such little actuall memory on the system and cache partition or they may be looking at shortning the sgs4g cache partition size and when they keis the gingerbread forgot to add the barrier back in. Also note when you barrier the cache you also run the risk of locking downloads to a set size hince why some had issues on frayo with download sizes larger then 30 mb in size also why u dont see that in gb or if you adb shell in frayo

/unmount cache

rmdir cache

mdir cache

then ln the 2 caache files back which removes the limit :P



So don't you worry your pretty little mind
People throw rocks at things that shine
And life makes love look hard
The stakes are high, the water's rough
But this love is ours
The Following User Says Thank You to RaverX3X For This Useful Post: [ Click to Expand ]
 
Part Four
Old
#3  
Account currently disabled
Thanks Meter 62
Posts: 1,157
Join Date: Feb 2010
Must we ADB this, or can we do this via terminal as well?
 
dsexton702
Old
#4  
dsexton702's Avatar
Recognized Developer - OP
Thanks Meter 2234
Posts: 2,476
Join Date: Apr 2011
Location: Las Vegas

 
DONATE TO ME
Quote:
Originally Posted by Part Four View Post
Must we ADB this, or can we do this via terminal as well?
i believe terminal is fine as well

Andromeda Crew In Development - ACID

Follow me: Twitter

I work hard for the community, so hit the thanks button please If you love my work buy me a coffee
 
Somairotevoli
Old
#5  
Senior Member
Thanks Meter 207
Posts: 932
Join Date: May 2011
Wow! Finally broke 3000!

Sent from my SGH-T959V using Tapatalk
Attached Thumbnails
Click image for larger version

Name:	ScrtnShot.jpg
Views:	706
Size:	29.1 KB
ID:	676554  
 
crackpot
Old
#6  
crackpot's Avatar
Senior Member
Thanks Meter 92
Posts: 252
Join Date: Oct 2009
Location: SC
Do we need to do this every (re)boot, or just once?

Thanks, amazing as always dsexton!
 
shotchacokov
Old
#7  
shotchacokov's Avatar
Senior Member
Thanks Meter 75
Posts: 494
Join Date: Mar 2011
Location: Orlando
It will, but you will have to input out each time you reboot. Also...if you do use terminal to do it, you may need to put the commands in a note pad and copy /paste it. (holds down on the screen to get the paste function) it kept changing barriers to barrIers which is not valid .

Sent from my GS4G using XDA app.
Galaxy Note 2


Retired:
Galaxy S 4G
AOKP - Milestone6 - FB
Feeling Blue Theme - Me
 
Somairotevoli
Old
#8  
Senior Member
Thanks Meter 207
Posts: 932
Join Date: May 2011
there's an app called script manager, its free. just create new script, place code, save, set to root and to run at boot.
 
Part Four
Old
#9  
Account currently disabled
Thanks Meter 62
Posts: 1,157
Join Date: Feb 2010
Quote:
Originally Posted by shotchacokov View Post
It will, but you will have to input out each time you reboot. Also...if you do use terminal to do it, you may need to put the commands in a note pad and copy /paste it. (holds down on the screen to get the paste function) it kept changing barriers to barrIers which is not valid .

Sent from my GS4G using XDA app.
ADB it is then!
 
shotchacokov
Old
(Last edited by shotchacokov; 4th August 2011 at 03:23 AM.)
#10  
shotchacokov's Avatar
Senior Member
Thanks Meter 75
Posts: 494
Join Date: Mar 2011
Location: Orlando
Quote:
Originally Posted by Somairotevoli View Post
Wow! Finally broke 3000!

Sent from my SGH-T959V using Tapatalk
were you OC'd or stock? also, did you cook that battery mod? and are you on the kg4 or kg6 rom?
Galaxy Note 2


Retired:
Galaxy S 4G
AOKP - Milestone6 - FB
Feeling Blue Theme - Me

 
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...