5,595,645 Members 44,325 Now Online
XDA Developers Android and Mobile Development Forum

SD Card reading speed fix

Tip us?
 
daedric
Old
#11  
daedric's Avatar
Senior Member
Thanks Meter 312
Posts: 1,532
Join Date: Dec 2006
Location: Porto
ok, OC 480, data on sd partition. micro sdhc 4gb CLASS 2. Custom rom based on Gingerbones.

2048:
Write- 5.7
Read- 23.4

128(default):
Write- 5.7
Read- 12.1

4096: (OC 550)
Write- 6.1
Read- 11.5

HTC Kaiser . CM6 ......... OC@530mHz - Kitchen Watch with NTP .
HTC Leo .... CMX OC@1.19gHz, Jellybean
HTC Ace .... CMX OC@1.5gHz, ICS + Sense 4.0
 
Aiex Rlder
Old
#12  
Member
Thanks Meter 1
Posts: 49
Join Date: Aug 2010
hmm i tested this by just manual editing the value which resets after reboot.

4gb class2 card with no OC. sys on nand, data in partition using not so super froyo.

128:
write: 4.8 read 11.4

2048:
write 5.2 read 24.2

not sure if this improvement in read speed actually speeds up my kaiser. do you think a class 6 card would speed it up much?

not sure exactly how to implement it permanently, i tried manually adding a file but it didn't seem to work. though altering this value isn't too bad as i don't reboot often.
 
daedric
Old
#13  
daedric's Avatar
Senior Member
Thanks Meter 312
Posts: 1,532
Join Date: Dec 2006
Location: Porto
There's no caching on write aparently (probably to avoid lost data).
So writes must be mostly dependent on class + SD reader/writer driver.

Acording to wikipedia:
Class 2, 2 MB/s, slowest for SDHC cards.
Class 4, 4 MB/s.
Class 6, 6 MB/s.
Class 10, 10 MB/s.

(this is write speed, MegaBYTE).
So... either we are getting bogus results, or our cards are a little above the quoted class.

HTC Kaiser . CM6 ......... OC@530mHz - Kitchen Watch with NTP .
HTC Leo .... CMX OC@1.19gHz, Jellybean
HTC Ace .... CMX OC@1.5gHz, ICS + Sense 4.0
 
Aiex Rlder
Old
#14  
Member
Thanks Meter 1
Posts: 49
Join Date: Aug 2010
Quote:
Originally Posted by daedric View Post
There's no caching on write aparently (probably to avoid lost data).
So writes must be mostly dependent on class + SD reader/writer driver.

Acording to wikipedia:
Class 2, 2 MB/s, slowest for SDHC cards.
Class 4, 4 MB/s.
Class 6, 6 MB/s.
Class 10, 10 MB/s.

(this is write speed, MegaBYTE).
So... either we are getting bogus results, or our cards are a little above the quoted class.
i think the classes are minimum speeds, and it seems other users are getting higher speeds than their class. how did you implement this script btw?
 
daedric
Old
(Last edited by daedric; 31st March 2011 at 02:29 PM.)
#15  
daedric's Avatar
Senior Member
Thanks Meter 312
Posts: 1,532
Join Date: Dec 2006
Location: Porto
Read 1st post. Follow Link. Read whole 1st post there. There's a sample script there.
You must create a file in /system/etc/init.d/ named 99something_you_chose (should begin with 99, the files are executed in order, we should have our script run last).
So... either you remount /system with read+write permissions, and put the file there, or edit the androidinstall.tar and put the file there, or a androidupdate.tar with the file there.

Or...

https://market.android.com/details?i...k.sdspeedboost

HTC Kaiser . CM6 ......... OC@530mHz - Kitchen Watch with NTP .
HTC Leo .... CMX OC@1.19gHz, Jellybean
HTC Ace .... CMX OC@1.5gHz, ICS + Sense 4.0
 
-Arturo-
Old
#16  
-Arturo-'s Avatar
Senior Member - OP
Thanks Meter 15
Posts: 669
Join Date: Oct 2007
Quote:
Originally Posted by daedric View Post
Read 1st post. Follow Link. Read whole 1st post there. There's a sample script there.
You must create a file in /system/etc/init.d/ named 99something_you_chose (should begin with 99, the files are executed in order, we should have our script run last).
So... either you remount /system with read+write permissions, and put the file there, or edit the androidinstall.tar and put the file there, or a androidupdate.tar with the file there.

Or...

https://market.android.com/details?i...k.sdspeedboost
@Daiedric

Did you notice any speed improvements in data read?
 
drfno1
Old
#17  
Member
Thanks Meter 4
Posts: 61
Join Date: Dec 2007
Location: Kansas
Wow, class 2 4GB sdhc /system on ext4 /data on ext4, Krazy 2.6.32.9, cynMod7,
Rogue Tools OC 529

Before
write 1.8
read 9.1

After mod to 2048 with Root explorer
write 2.9
read 20.1
 
Aiex Rlder
Old
#18  
Member
Thanks Meter 1
Posts: 49
Join Date: Aug 2010
hmm, drfno1, so do you have system and data on your SD card? is your kaiser quite slow then with write speeds of 2MBbps :S

i can't decide whether to buy a higher class SD card and if that will improve my kaiser's speed.
 
drfno1
Old
#19  
Member
Thanks Meter 4
Posts: 61
Join Date: Dec 2007
Location: Kansas
Been playing with this config only a few days with wifi only. My understanding is that the ext4 file system speed is what makes the system very usable. The only thing I find frustrating is the time it takes to boot and become stable. I say try it on your current sd first. The boost in reading seems to help starting apps and using file managers.
 
-Arturo-
Old
#20  
-Arturo-'s Avatar
Senior Member - OP
Thanks Meter 15
Posts: 669
Join Date: Oct 2007
Quote:
Originally Posted by drfno1 View Post
Been playing with this config only a few days with wifi only. My understanding is that the ext4 file system speed is what makes the system very usable. The only thing I find frustrating is the time it takes to boot and become stable. I say try it on your current sd first. The boost in reading seems to help starting apps and using file managers.
I don't like this sd tools app at all. It gives me some ridiculous readings. I have a 6 gig class 4 card with 5 GB fat32 partition, the app shows that the size of the partition is 4,2 gb. Also I get speeds of around 1.9 writing and 4.5 reading...this can't be right. I have just tried another app and the results were as follows writing speed 5.1 and reading speed 10, this seems more like it. Unfortunately after applying the script I don't see any changes in results still around 5ws /10 rs.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Add Swipe Utilities to Your App with SimpleFingerGestures Library

Gestures have become an increasingly important element in smartphone UI … more

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more