[Q] Is my SD card good for Data2SD ? - Desire Q&A, Help & Troubleshooting

I have a samsung mini sdcard class 2 on my HTC desire.
Read : 20MB/s
Write : 5MB/s
measured by an Sd test app.
I notice some lag while trying the amarullz data2sd in some apps. but not sure if other sdcard can improve the speed
As I read around, the difference between my card and other higher class is only the Write speed. Is it true ? and does it matter ? because for app i think it only needs to read the data to the memory most of the time.
I would like to confirm this before buying a new sdcard. Thanks

Yes, it's correct.
I've a class 10 sd card and get 22MB/s for reading, but 11MB/s for writing.
5MB/s is a good value for a class 2 card.
I think you get only a advantage with application with a high usage of writing like a backup or something else. Sometimes my Desire with data2sd is lagging too (0,5 - 1s).

Related

SD Card reading speed fix

Would our phones benefit from this script?
Any brave soul care to try it?
http://forum.xda-developers.com/showthread.php?p=12437265#post12437265
it might be but i think that it uses much ram...
l1q1d said:
it might be but i think that it uses much ram...
Click to expand...
Click to collapse
Iq1d just to clarify a few things If we changed the cache to for example 2048 kb would that mean that the system would have 2MB of ram less? If so we could test other cache sizes for example 1024 that's only a 1 MB of ram and I would be willing to sacriface it for the sake of higher sd writing/reading speeds.
Here's one of the tests from the thread
"My speed test result on HTC Desire CM7 RC2, Kingmax Class 10 8GB
128 default
1) 7.5, 13.5
2) 5.2, 16.2
3) 18.6, 18.7
4) 18.8, 20.9
4096
26.2, 53.9
17.5, 62.9
19.7, 59.6
26.7, 57.2
27.8, 55.7
3072 - before reboot
23.6, 46.7
17.6, 70.2
24.3, 36.5
23.6, 66.1
15.9, 67.2
3072 - after reboot
6.2, 51.6
13.5, 23.3
5.4, 17.4
11.5, 86.4
16.7, 41.6
25, 50.9
23.6, 51.7
I think it is worth trying I suppose it would speed up the devices of users who have data on sd card.
To gain extreme stability, we must use data on sd img/part.
If we can improve sd reading speed at the cost of 1/2 mb of ram, it would be worth it IMHO.
i really hope this works, as the only way to have stable data is on SD but the phone runs really really slow this way.
EDIT: I installed SD tools and ran it a couple of times, getting speeds of around 5mbps write/ 10mbps read on my class2. With these speeds my kaiser runs painfully slowly, wondering if the script will make any noticable difference.
Aiex Rlder said:
i really hope this works, as the only way to have stable data is on SD but the phone runs really really slow this way.
EDIT: I installed SD tools and ran it a couple of times, getting speeds of around 5mbps write/ 10mbps read on my class2. With these speeds my kaiser runs painfully slowly, wondering if the script will make any noticable difference.
Click to expand...
Click to collapse
Results from one of the users from the thread.
Using the 2gb Class 2 that came with the phone.
Default:
W: 4.2
R: 9.3
2048kb:
W: 4
R: 26.2
3024kb:
W: 5.1
R: 33.8
The card read speed gains are mind blowing.
-Arturo- said:
Results from one of the users from the thread.
Using the 2gb Class 2 that came with the phone.
Default:
W: 4.2
R: 9.3
2048kb:
W: 4
R: 26.2
3024kb:
W: 5.1
R: 33.8
The card read speed gains are mind blowing.
Click to expand...
Click to collapse
are you using data on SD? does your kaiser feel faster? because i don't know if i've done it wrong but my system is really slow all the time and apps are even slow
Aiex Rlder said:
are you using data on SD? does your kaiser feel faster? because i don't know if i've done it wrong but my system is really slow all the time and apps are even slow
Click to expand...
Click to collapse
You misunderstood me. This arent my results I just posted them here. The resulrs where taken from the original sd card fix thread.
-Arturo- said:
You misunderstood me. This arent my results I just posted them here. The resulrs where taken from the original sd card fix thread.
Click to expand...
Click to collapse
ah sorry must learn to read <_<
-Arturo- said:
Would our phones benefit from this script?
Any brave soul care to try it?
http://forum.xda-developers.com/showthread.php?p=12437265#post12437265
Click to expand...
Click to collapse
Hm, could be useful for people who have fried NANDs ... *cough*
Though what really needs to improve is write speeds. Read speeds would be fine if /system is on NAND, but write speeds needs to improve as that's where our slowdowns come from.
On average, our Kaiser's SD Card reader writes on average 4.8Mbps, where it writes about 8-12Mbps depending on how much actual RAM is available.
Granted we could really use the increase in read speeds, but what good is fast read speeds if the SD card dogs down due to it having a very slow write speed.
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
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.
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.
daedric said:
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.
Click to expand...
Click to collapse
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?
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?id=com.vaelek.sdspeedboost
daedric said:
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?id=com.vaelek.sdspeedboost
Click to expand...
Click to collapse
@Daiedric
Did you notice any speed improvements in data read?
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
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.
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.
drfno1 said:
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.
Click to expand...
Click to collapse
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.

[Q] SD Card Speed Booster - Is it working for you?

There is an app called SD Card Speed Booster in the Market.
Is it working for you?
I got it from 128 to 4096.
Maybe the gallery is a little quicker...
Have you tried this mod yet?
http://forum.xda-developers.com/showthread.php?t=1010807
It showed a little improvement for me. Run the benchmark program "SD Tools" to get your before and after.
Yup,big improvement. Flashed this morning & now my pic gallery loads almost instantly.
Sent from my HTC Vision using XDA Premium App
Both of those methods do the exact same thing - one just takes no memory to do. All they do it set the read ahead buffer to a higher limit. Next time you open something from the sdcard - odds are it's still in the memory so it loads from there without needing to wait for the sdcard. It *should* work for a2ext also so if you have a slow card (or even a fast one) things will become faster. Not sure if it helps with linux swap though (not that we really need it) - will some one with swap test this to confirm?
Okay I installed SD tools and this is what came out:
before.
write speed: 7.7 mb/s
read speed: 17.5 mb/s
after.
write speed: 8.8 mb/s
read speed: 17.5 mb/s
So only the write speed improved...

[Q] SD Card Writing Speed

I made the experience thats on Cyanogenmod- based ROMs, the writing speed of both my 4 class 16gb and 4 class 8gb sandic micro sdhc card is very very slow- ca 300 kbs/sec (Miui too)
when i tried the sd card on a sense based rom- take insertcoin or leedroid- there are speeds beyong 2mbs/ sec!!
I want cyanogenmod but the speed is so annoying!
Does anyone have the same problem?
There is some cache tweak to speed up the SD card. You can google this tweak.
You can compare these value's from your MIUI rom to the other roms.
If you see big differences, you can set this value to the value that does give you speed.
And btw, a class 4 means at least 4MB/s!
This is definitely rom related.
hi,
look at this thread
http://forum.xda-developers.com/showthread.php?t=1010807
thank u very much so i want to keep insertcoin for a while, but if i want to change to cm again, i will try this tweak
i wonder why some roms have so low cache sizes?
fragargon said:
hi,
look at this thread
http://forum.xda-developers.com/showthread.php?t=1010807
Click to expand...
Click to collapse
Thx... worked like a charm for me.
it is all about blocksizes and caches ...
if you write or read really small blocks from the sd it will be much slower than reading a block with an optimal size for your sd.
Class 4 has 4MB/s writing speed. That is the definition but it is sequential write with big blocksize which does the 4Mb/s and is not really the real life speed.
but i tested this with a music album.. on both cm7 and leedroid/insertcoin
result: sense-roms were almost 10 times faster
does anybody have the same problem?
i don't get it why the writing speed for cm7 is soooo slow ^^
mhhhh did you read the thread??? 8)
sure i did... but i dont get it why the maker of some roms implement such a "feature" like slow writing speed.. even cyanogenmod
yep, this is a good question!
can only suggest to try leedroid v307++
actally got 1536Ko read_ahead_kb value writing as buffer and as i am using a data++ rom it s very smoothly and fast.
fragargon said:
hi,
look at this thread
http://forum.xda-developers.com/showthread.php?t=1010807
Click to expand...
Click to collapse
I wonder how i can improve the speed because the link doesnt help me, unfortunatley. I wanna use asop- roms again....
is there any application to detect memory card speed?
on market or any download site
SD Tools. <- search the market
Low write speeds are kernel related. It's a bug in the 2.6.37 and 2.6.38 kernels.
CM7's stock kernel is a 2.6.37. Just flash a 2.6.35 custom kernel e.g. ManU 2.0 (http://forum.xda-developers.com/showthread.php?t=883598) and write speeds should increase to normal values.
Write speed can be further improved when you use "SD Formatter 3.0" from the SD association to format the card. It aligns the filesystem to the internal structures of the flash memory resulting in a speed boost up to 100% (but only if your SD wasn't filesystem aligned before)
Yeah, there i go! Its true when i use manu's kernel the writing speed is much faster! thanks! can be closed

A2SD+ vs DATA2SD

I've googled around a fair bit but nothing realy interesting came up. So what's the difference, is DATA2SD really supperior to A2SD+ in every way?
end_of_message / COMPUTOR4500
A2SD+ = app + Dalvik cache on the external SD (through an ext2/3/4 partition) BUT your data app remains on the internal storage.
Data2SD = app + Dalvik cache + data on the external SD.
With DATA2SD you might get much more free space for apps BUT if you have a slow sd-card your phone can become more slowly when it comes to overall performance and especially starting apps as they are completly on sd-card.
So if you donĀ“t have that much apps you should go with A2SD
Thanks, that's good to know
end_of_message / COMPUTOR4500
i prefer data2sd, for me is better and if u have a good class sd, i think it may improve my desire speed..
oxygen 2.2.2 without data2sd about 1700 quadrant;
oxygen 2.2.2 with data2d about 2200/2300 quadrant points.
my sd is a SanDisk 8 Gb class4.
yosoyelchupacabra said:
i prefer data2sd, for me is better and if u have a good class sd, i think it may improve my desire speed..
oxygen 2.2.2 without data2sd about 1700 quadrant;
oxygen 2.2.2 with data2d about 2200/2300 quadrant points.
my sd is a SanDisk 8 Gb class4.
Click to expand...
Click to collapse
It has been discussed million times, that the data2sd/d2w/d2ext scripts fool quadrant, so you get FAKE scores, which do not reflect the actual score.
Altough it is good to show off to others
I have class 10 card and it's slow as sh*t.
Agree with both posts above. All data2sd and data2ext Roms are slow and laggy.
Terepin said:
I have class 10 card and it's slow as sh*t.
Click to expand...
Click to collapse
Because sd card class doesn't guarantee high sequential read and write speeds crucial for d2sd. He might have a lower class card and yet get better scores than you.
davebugyi said:
Altough it is good to show off to others
Click to expand...
Click to collapse
Quadrant == language of the ignorants.
I also found data2sd roms slower than a2sd, even with class 10 card. you got plenty of space with a2sd so i don't really see the point going data2sd
325i. said:
Agree with both posts above. All data2sd and data2ext Roms are slow and laggy.
Click to expand...
Click to collapse
I disagree, all data2sd RoMs I have used are super fast and get zero lag. only time phone will lag is when installing an app and its only for couple seconds.
If you partition your phone right and use Gparted and have a good brand sd card your good to go.
Does it improve the lag if install the app of SD Speed Increase(from Market) and change the setting to 2048kb or 3072kb?
No. This setting doesn't improve anything, all positive effects are placebos.
TouchPaled from Oxygen with Transparent XDA App
So far so good with mine running MIUI rom data2sd.2gb of internal memory.sweet
Sent from my HTC Desire using XDA App
Has anyone used a rom with Data2SD that has Sense and isn't laggy? I use a 16GB Class 6 Card. Any help would be deeply appreciated, Thank you!
I recommend to try this one:
http://forum.xda-developers.com/showthread.php?t=1045824
Never tried myself, but it seems droidzone gives good support for this rom and he is very experienced in data2sd roms with sense.

[TIP] Enhance SD card Speed. Specially For Data2SD Users

I've noticed there are many Data2SD users across various ROM's like CM7, Minhacker's ROM, .Sense etc.
Many of these users are facing problems with read speed of the SD card which seems to cause a bit of a lag. Well, class of the SD does matter to an extent but I did find a workaround which worked for me to quite an extent.
So here is what you do :
1> Download SD Booster from the Android Market (called Play Shop now)
2> Set the cache value to 1024, 2048 or 4096 as per your convenience. These are stable values. Check which one works for you best. You can set values upto 8192.
3> Grant superuser permissions when it asks for it.
Click to expand...
Click to collapse
Easy peasy? Hope it works for you guys (and girls )
I had lag with mindhacker's ROM at times while unlocking which is completely gone now. Plus, I've noticed a good increase in read speed of the SD card. The ROM feels quite smooth. Not a dev to be playing around with benchmarks but I guess there will be a positive result if we did one.
Do thank if it helped you
Have done this and have run atu beanchmark have have got about a 25% read and write speed increase on a 4gb class 4 card
Can anyone post if they have a class 10 Card and what increased speed they get on read / write and how the rom performs thanks
2.2 write 7.7 read mbs
Sent from my HTC Wildfire S
I have a class 10 Samsung card
Before
WRITE 9,2MB/s
READ 15,0MB/s
After
WRITE 11,5MB/s
READ 16,1MB/s
Cache value at 2048
Good to know it worked
Sent from my HTC Wildfire S A510e using XDA
I have kingston 8G class 4, run on 4096, cpu clock at 806Mhz
The result is about:
R=11.1MBps
W=5.0MBps
But why every time I run the antutu bm, the result is vary even i fixed other parameters?
I'm no dev but I do agree with you. The results change even if you do back to back tests. I've seen drastic change that's the result I don't quite fancy this benchmark.
It worked for me practically and was quite noticeable so I posted it here. I hope it worked for you too
Sent from my HTC Wildfire S A510e using XDA
interesting
128kb default
4.2 MB/s WRITE
15.8 MB/s READ
1024kb higher
4.2 MB/s WRITE
24.0 MB/s READ
2048kb higher
4.2 MB/s WRITE
25.4 MB/s READ
Samsung Extreme Class10
SD Booster default 128KB
Write 11.3 MB/s
Read 15.9 MB/s
SD Booster 2048KB
Write 11.5 MB/s
Read 16.8 MB/s
SD Booster 4096KB
Write 11.8 MB/s
Read 16.9 MB/s
It improves performance the more you increase the values. An 8MB cache is pretty cool.

Categories

Resources