maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MicroSD benchmark (https://talk.maemo.org/showthread.php?t=64971)

bigears5000 2010-11-03 17:01

Re: MicroSD benchmark
 
Ok. First command says no such
file or directory. I have saved it to MyDocs in n900?

one1002 2010-11-03 17:35

Re: MicroSD benchmark
 
1 Attachment(s)
well..i had the same problem as you at first..and i was using windows to create the script..

then i booted into ubuntu machine..copy pasted the same way..yet it worked!

i have attach the file..

try this steps:

0. download the attachment (sdbench.sh.txt)
1. rename it to "sdbench.sh" (be sure to untick "hide extensions for known file types". to do this, open My Computer --> Tools --> Folder Options --> View tab.)
2. then copy the script to the phone.. (i copied straight to /home/user/MyDocs/)
3. in xterm, "cd /home/user/MyDocs/" and enter (without the quotes).
4. type "sh sdbench.sh" and enter (without the quotes)
5. it'll display ".......please wait a few minutes"
6. depending on your microSD speed, and size..it'll take at least 2 minutes to display the result..

akih 2010-11-03 18:04

Re: MicroSD benchmark
 
Quote:

Originally Posted by bigears5000 (Post 862392)
Ok. First command says no such
file or directory. I have saved it to MyDocs in n900?

Code:

gzip -d  MyDocs/sdbench_s.sh.gz

bigears5000 2010-11-03 18:20

Re: MicroSD benchmark
 
Ok. Thanks for all the help.
@one1002. Followed this to the letter. Still get testing message and nothing happens after 10 mins
@akih. Typed that in xterm and it says gzip: can't open 'MyDocs/sdbench_s.sh' : File exists

kureyon 2010-11-04 04:04

Re: MicroSD benchmark
 
Quote:

Originally Posted by one1002 (Post 862422)
well..i had the same problem as you at first..and i was using windows to create the script..

then i booted into ubuntu machine..copy pasted the same way..yet it worked!

Text files created using Windows apps will mostly likely default to using CRLF as end of line character(s), this will choke on linux which uses LF.

http://en.wikipedia.org/wiki/Crlf

JayBEE 2010-11-04 04:37

Re: MicroSD benchmark
 
akih:
Thanks for the script! I just ran it and got the following:

Patriot Class 10 8GB
Read: 14.0621 MB/s
Write: 11.4785 MB/s

bountou 2010-11-04 05:33

Re: MicroSD benchmark
 
thanks for the share. worked for me :cool:

question thou, how would i know what class the mmc is? it didn't show up on the results. just the read and write results. thanks

lunat 2010-11-04 05:56

Re: MicroSD benchmark
 
hi,
why don't you use the usual tools like hdparm and the like. do they deliver bad results? doesn't hdparm -tT /dev/mmcblk0 do what you want?

JayBEE 2010-11-04 06:30

Re: MicroSD benchmark
 
Quote:

Originally Posted by bountou (Post 862898)
thanks for the share. worked for me :cool:

question thou, how would i know what class the mmc is? it didn't show up on the results. just the read and write results. thanks

The script does not tell you this, that's for sure. Hopefully the packaging your microSDHC card came in, if you still have it around, would mention it. Some cards have the designation on it, if you have good eyes or a magnifying glass. I believe class designation came about with SDHC. http://en.wikipedia.org/wiki/Secure_Digital

JayBEE 2010-11-04 06:42

Re: MicroSD benchmark
 
Quote:

Originally Posted by lunat (Post 862904)
hi,
why don't you use the usual tools like hdparm and the like. do they deliver bad results? doesn't hdparm -tT /dev/mmcblk0 do what you want?

A quick search around TMO suggested that hdparm can only be had on the N900 by installing Easy Debian. So this script is a simpler means until someone ports hdparm to the N900.


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

vBulletin® Version 3.8.8