![]() |
How fast is your SD card?
So far it seems as all answers to the question "how good/fast is the SD slot?" are guesses. Some think the phone supports UHS, other don't and so on.
So I thought it's time to benchmark. Now I could provide a rpm but that's overkilled as all you need is the hdparm binary. Either download the sources from http://sourceforge.net/projects/hdparm/ and compile it for yourself (which is as simple as executing make) or use this precompiled one. To benchmark with it do: Code:
/path/to/your/hdparm -t --direct /dev/mmcblk1 Code:
# /home/nemo/horst-NFS/hdparm-9.48/hdparm -t --direct /dev/mmcblk1 Another benchmark could be to read from the card after dropping caches but first we would need a file to read... Ideas? //EDIT: Just for reference here the speed of the internal storage: Code:
# /home/nemo/horst-NFS/hdparm-9.48/hdparm -t --direct /dev/mmcblk0 |
Re: How fast is your SD card?
Code:
# /home/nemo/horst-NFS/hdparm-9.48/hdparm -t --direct /dev/mmcblk0 Thanks for the code ! |
Re: How fast is your SD card?
Quote:
EDIT FWIW, here are my results. First, from my Jolla: Code:
[root@Dinghy hdparm-9.48]# /home/nemo/Dev/hdparm-9.48/hdparm -t --direct /dev/mmcblk0 Code:
Bianca:~# /home/user/MyDocs/Dev/hdparm-9.48/hdparm -t --direct /dev/mmcblk0 |
Re: How fast is your SD card?
Quote:
Quote:
Quote:
|
Re: How fast is your SD card?
Here is the result from my Jolla:
Code:
[root@touko nemo]# ./hdparm -t --direct /dev/mmcblk1 |
Re: How fast is your SD card?
1 Attachment(s)
A result from my N900.
|
Re: How fast is your SD card?
@jeyroll Please note that there's a difference when using --direct. I try to get statistics from the card slot itself, so --direct is more close to metal.
//EDIT: For another test I just putted a sample from /dev/urandom of my desktop onto the sd card. Re-inserted into the phone and tried to read it: Code:
$ dd if=random.sample of=/dev/null bs=4k BTW: When testing with such files like the one in my edit make sure (parts of) the file isn't in cache! |
Re: How fast is your SD card?
The median from a range of 20.64 to 20.77 MB/s
Code:
hdparm -t --direct /dev/mmcblk1 |
Re: How fast is your SD card?
Catching up with TMO after some absence and coming back to this thread. It seems that my el-cheapo 16 GB card is doing about as well as otber people's super-duper 64 or 128 GB. In other words, it is not my card that is the bottleneck. What else might it possibly be, I wonder ;)
It might be interesting to compare the results for the same card between a Jolla and a desktop. |
Re: How fast is your SD card?
Quote:
|
All times are GMT. The time now is 13:51. |
vBulletin® Version 3.8.8