maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   Memory card speed test (https://talk.maemo.org/showthread.php?t=25245)

Rassilon7 2008-11-28 11:08

Memory card speed test
 
Hi

I have been given some memory cards as gifts and wanted to test their speeds, how should I go about doing this?

I looked back through the archives and found this command:

sync; time sh -c "dd if=/dev/zero of=/media/mmc1/testfile bs=1M count=100; sync"

But I keep getting "media/mmc1/testfile No such file of directory" Should I be specifiying a file, or have things changed with OS2008?

Thanks in advance

Steve

pycage 2008-11-28 11:26

Re: Memory card speed test
 
If you have a Linux box, maybe the best way to test is to use
Code:

hdparm -tT /dev/sda
as root. /dev/sda should be replaced by the actual device file.
This will report read and write speeds.

Quote:

But I keep getting "media/mmc1/testfile No such file of directory" Should I be specifiying a file, or have things changed with OS2008?
Make sure that /media/mmc1 exists and has the card mounted.

Rassilon7 2008-11-28 11:33

Re: Memory card speed test
 
I'm on a Mac.

Yes media/mmc1 exists and the card has been mounted.

I'm doing this on the N810 is that correct?

pycage 2008-11-28 13:07

Re: Memory card speed test
 
Quote:

Code:

sync; time sh -c "dd if=/dev/zero of=/media/mmc1/testfile bs=1M count=100; sync"

This looks correct to me. Maybe you made a typo when trying on your N810?

Rassilon7 2008-11-28 13:49

Re: Memory card speed test
 
Ha!

I wasn't logged in as root... Idiot!

Thanks for your help.

Steve

ace 2008-11-28 14:02

Re: Memory card speed test
 
Quote:

Originally Posted by Rassilon7 (Post 245258)
But I keep getting "media/mmc1/testfile No such file of directory" Should I be specifiying a file, or have things changed with OS2008?

Maybe the memory card had errors and was mounted read-only? Run "mount" and confirm that mmc1 is mounted read-write "rw".

As for OS2008, on my N800, the following command worked for me.

Quote:

sync && time sh -c "dd if=/dev/zero of=/media/mmc1/test.data bs=1M count=100 && sync && echo success"
I changed the semi-colons to "&&", so that errors in one command stop the next command from being executed.

ace 2008-11-28 14:07

Re: Memory card speed test
 
Quote:

Originally Posted by Rassilon7 (Post 245298)
I wasn't logged in as root... Idiot!

The normal user should have write permission to the memory cards, I didn't have to run the command as root. Are you using a filesystem on the memory cards other than the typical FAT? What's "mount" say about the memory card?

Rassilon7 2008-11-28 14:11

Re: Memory card speed test
 
Well it didn't work before, but now I am root it does.

Either way I got:

Real: 41.86
User: 0.00
Sys: 2.56

It was on an 8 gig Kingston Mini SD, I also tried a 2 gig micro SD and got

Real: 35.58
User 0.00
Sys: 1.60

Saturn 2008-11-28 21:29

Re: Memory card speed test
 
There is also a compiled hdparm if you would like to run it in your tablet.

http://www.internettablettalk.com/fo...69&postcount=1

pycage has given the command to use it above..

Rassilon7 2008-12-01 10:25

Re: Memory card speed test
 
Sorry how do I install hdparm? Do I need to save it somewhere in particular?


All times are GMT. The time now is 10:03.

vBulletin® Version 3.8.8