microSD/SD benchmarks on Galaxy S - Galaxy S I9000 Android Development

Trying to figure out some facts about the internal/external SD cards speed, I came up to some conclusions.
First the benchmarks I've used:
For write speed:
Code:
rm /sdcard/sd/empty.file
echo 1 > /proc/sys/vm/drop_caches
time dd if=/dev/zero of=/sdcard/sd/empty.file bs=100000 count=2000
For read speed:
Code:
echo 1 > /proc/sys/vm/drop_caches
time dd of=/dev/null if=/sdcard/sd/empty.file bs=100000
Results:
Galaxy_S_internal_sd_card:
7.84MB/s write
10.49MB/s read
-------------------------------------
some Noname Silicon Power 2GB, no class specified (FAT with 32kilobytes) - the fastest microSD I own
8.51MB/s write
15.86MB/s read
-------------------------------------
Verbatim 4GB, class 4 (FAT with 32kilobytes)
5.14MB/s write
16.70MB/s read
-------------------------------------
A real SD card, not a microSD
SanDisk Ultra II class 4 (FAT32 with 4 kilobytes)
6.52MB/s write
11.47MB/s read
-------------------------------------
Again the same real SD card, not a microSD
SanDisk Ultra II class 4 (FAT32 but with 64 kilobytes)
16.81MB/s write
13.37MB/s read
-------------------------------------
Conclusions so far:
The microSD is faster at reading than my SD card. Including on Windows when tested with CrystalDiskMark.
When writing comes into play, the cluster size (4kb vs. 64kb) really makes a difference on Android. It is a huge difference when writing on the SD card. On Windows in CrystalDiskMark it doesn't matter.
Graph attached.
Can't figure out why writing on the SD card is faster than reading. Also can't figure out why reading is so slow comparing to the microSD cards.
P.S. I really want to test one of those Sandisk Ultra III class 10 with 30MB/s sustained write speed.
Also, would be great to know stats for the Sandisk microSD class 6 8GB with part number: SDSDQY-8192-E11M

For me (JPM Universal lagfix 0.3 full ext4) :
Internal NAND i9000 8GB
fat 32 :
4.561835 MB/s Write no cache
6.676458 MB/s Write with cache
10.782833 MB/s Read no cache
11.609682 MB/s Read with cache
3C_Pro 16 GB Class 6.
fat 32 :
5.397527 MB/s Write
6.002400 MB/s Write with cache
10.413954 MB/s Read
11.194447 MB/s Read with cache

speedmod-kernel-vC1-500hz-O2-ui
turn on the all tweak in clockwork recovery
/data
ext4
12.80 MB/s
11.01 MB/s
/system
rfs
5.75 MB/s
17.58 MB/s
/cache
rfs
7.25 MB/s
17.60 MB/s
internal SD
fat32
10.74 MB/s
11.24 MB/s
external SD : Kingston 8GB C4
fat32 with 32k block
7.56 MB/s
11.10 MB/s

@arise:
how on earth did u get a non-microSD into the phone ???

Contiguous file transfer speeds don't matter.

andrew_vi said:
/data
/system
Click to expand...
Click to collapse
How do you benchmarked those partitions? What is the free space available on those?
lemmz said:
how on earth did u get a non-microSD into the phone ???
Click to expand...
Click to collapse
With a SD to microSD adapter, obvious.
SetiroN said:
Contiguous file transfer speeds don't matter.
Click to expand...
Click to collapse
I can agree with this one. But what truly matters?

i have 30M+ free spaces in /system and 1.5GB+ in /data
so in /system, i take the test with a 20MB empty file by creat and write
and /data is same as you do, 200MB
though the write speed is not important in /system.
i think the r/w speed in /cache and /dbdata is more important than others

Arise said:
With a SD to microSD adapter, obvious.
Click to expand...
Click to collapse
Why would someone make this?

Because SD has few advantages over the microSD, like capacity size, price and speed. The only downside is the size of the card itself.
You can use such a thing vor various mods (it's up to you to find a way cramming the giant SD card inside your phone) or you can use your phone for backup/view the pictures taken with a REAL photo/video camera.

During some googling I came across this article:
http://windowsphonesecrets.com/2010...micro-sd-and-windows-phone-storage-expansion/
It seems that Microsoft has a bad attitude regarding using microSD cards.
“Even with high end cards, we have seen wild differences in IO and performance,” he said. “There is just no standardization there.” Put simply, if you expand the storage in a compatible Windows Phone device, it may work, and it may not.
Click to expand...
Click to collapse
I don't understand if the stance is regarding microSD cards or also the standard SDHC card. I somewhat believe it is related only to microSD cards. This is one of the reason I would also like to use a normal SD card in my phone.
Also, I found this article:
http://www.bunniestudios.com/blog/?p=918
The article, tells us couple of things:
1. it seems that some microSD cards are plain fakes. (it's not something we don't know)
2. it seems that Kingston is buying the controllers from Toshiba, and the controllers are the same as the ones used by Sandisk. So, when you compare Kingston vs Sandisk, you know who is the king.

Related

[Q] SD card alignement

I have recently bought a 16GB class 10 SD card (Kingston).
I follow a guide to align the partitions to the the "erase blocks" and "pages" of the nand in the sd. This was done using gpareted with "align to MB" and leaving 16 MB in front, and rounding down all partitions sizes to 16MB.
The problem is, that write speed is only about 2-3 MB/s (card reader or phone).
I attached some pictures from Gparted. Can someone with more knowledge and experience look at them and tell me if I aligned the partitions correctly?
Thanks!

[Q] MicroSD format for performance ?

OK, I got a class10 micro SD....tried some speed checks after formatting in Windows 7 64bit, using the SD card formatter, and using the phone.
For consistency, I formatted to fat32 and set the block size from default to the largest 64KB size.
Was copying files in Windows from the hard drive (7200speed 16mb cache drive) to the SD card and it never got over 4mb/sec, and usually stuck at 3mb a sec. I have a second class 10 card, but havent messed with it yet to see if it was a bad card or not. I ran a sd card test using the J card test app on the market and when I set it to the 8k size test, I saw 13mb/sec test, but the app said every time it couldnt write to cache, so I didnt know if it could be trusted.
I was just wondering how people were formatting their cards - via phone, windows, etc - and what level they found was the best for performance for class 6+ cards.
Mee too,i read that 32kb allocation is best.Would formating sdcard using Ext4 be faster then fat32/nfs?
I didnt know if I should be smaller (instead of 64 of 32k) since most of the files that we run are smaller ?? maybe it would run faster, I dunno....
also from what i read, ntfs isnt supported in android....right ?
I would be interested in this as well. I have a 16GB class 6 card in my Epic, and depending on the CPU clock speed governor I use I sometime get errors recording HD video ay 720p saying my card doesn't support it. If I put the governor to ondemand it works well though.
I'll try some testing with the Jcard app to see what I'm getting speed wise. I formatted my chip on Win7 default settings. When I was copying my files to it in Win7 I was getting 7 - 9 MB/s speeds. That was with the integrated SD card reader on my laptop.
I did some testing on my Team 16GB Micro SDHC I bought on newegg a while back, its a class 6 chip. I think it matters a lot what program you use to test. I did not find a j card app on the market but I used two that I found called "SD Tools" and "SDCardTester". Wildly divergent results below:
SD Tools:
Write Speed: 13.6 MB/s
Read Speed: 17.4 MB/s
SDCardTester:
Write Speed: 6.32 MB/s
Read Speed: 6.14 MB/s
This card is formatted with the standard 32 KB sectors.
---------- Post added at 11:48 PM ---------- Previous post was at 11:41 PM ----------
By the way, in general larger sectors should make for better performance, but the trade off is that you lose some storage. This is because the smallest amount of storage that can be allocated is going to be one sector. So if your sectors are 64 KB and you write a 8KB file, it will take the whole sector and even though there is only 8KB of data 64KB of space on the chip is used. In Windows, when you look at the properties for a folder, this is why there is a difference between "Size:" and "Size on Disk:" values.
Larger block sizes are generally better because there are fewer reads and writes to the device when saving a large file. For instance if you save a 1MB file on a 64 KB sector FS it needs to write to 16 different sectors, if you save the same file in a 8KB sector file system it needs to write to 128 different sectors.

[Q] Faulty Samsung 32 Gb class 10 micro sd

just got my new Samsung 32 Gb class 10 from mymemory
here are the speed test results.
I think that somthing wrong with those speeds, what do you think?
firebirdrc said:
just got my new Samsung 32 Gb class 10 from mymemory
here are the speed test results.
I think that somthing wrong with those speeds, what do you think?
Click to expand...
Click to collapse
It performs worse than my class 4 kingston, altough its different test method. I used sd card tester (can be found from market with that name). I get 5.8MB write speed with 300MB+ (tested up to 2GB) file and 34-39MB/s reading speed.
One thing that could be reason for bad performance is formatting card with windows tool. Use SD Card formatter. I formatted my kingston with windows original formatter and perform was about 30% of what i get now after formatting it with that tool: https://www.sdcard.org/downloads/formatter_3/

[Q] Is my Micro SD card really a class 10?

Hi! I bought a class 10, 8 gb micro sd card from a not-so-trustworthy dealer a couple of week ago for my Galaxy W. The package says it's class 10, but my antutu benchmark tests shows 5.2 MB/s for SD card write and 22.7 MB/s SD card read. I started doubting the authenticity of my SD card when I saw an antutu screenshot somewhere here that showed 15 MB/s SD card write. Someone please help..
Try using SDTools on the market, it tests your External SD card and shows the result about the write/read speed of your External SD card.
And when using Antutu benchmark, make sure that the External SD Card is being tested, and not the Internal SD Card. Open the menu -> Settings -> Choose SD Card, make sure it shows "/sdcard/external_sd", and not just "/sdcard"
Hope this helps
Wow so that's the trick! Thanks for your help bro, now my SD card write is 13.3 MB/s.
Glad to hear that it worked out
Sent from Ridwandroid-2.3.6 : 1804 MHz OC & Customized I8150DXLA2 Stock ROM w/ Cowithgun's kernel & Zeppelinrox V6 Script
how to know if sd is fake >?
See the writing reading speed.
Sent from my GT-I8150

microSD 8GB Class 10 - Slow write/read speed after formatting

Hello. I have a microSD 8GB Class 10 card whose speed is: read 93MB/s and write: 10MB/s, a moment ago I was formatted this card and speed dropped to read: 21MB/s and write: 6.4MB/s. How do I restore card to the original (factory) speed, please help me?
Give this a shot. https://sdcard.org/downloads/formatter_4/

Categories

Resources