Notices


Reply
Thread Tools
bigears5000's Avatar
Posts: 468 | Thanked: 775 times | Joined on May 2010 @ Hereford, England
#11
Ok. First command says no such
file or directory. I have saved it to MyDocs in n900?
 
Posts: 309 | Thanked: 115 times | Joined on May 2010 @ Malaysia
#12
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..
Attached Files
File Type: txt sdbench.sh.txt (562 Bytes, 121 views)
 

The Following User Says Thank You to one1002 For This Useful Post:
Posts: 8 | Thanked: 16 times | Joined on May 2010
#13
Originally Posted by bigears5000 View Post
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
 

The Following User Says Thank You to akih For This Useful Post:
bigears5000's Avatar
Posts: 468 | Thanked: 775 times | Joined on May 2010 @ Hereford, England
#14
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
 
Posts: 992 | Thanked: 738 times | Joined on Jun 2010 @ Low Earth Orbit
#15
Originally Posted by one1002 View Post
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
 

The Following User Says Thank You to kureyon For This Useful Post:
Posts: 136 | Thanked: 47 times | Joined on Apr 2010 @ SF East Bay, Cali
#16
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
 

The Following User Says Thank You to JayBEE For This Useful Post:
Posts: 36 | Thanked: 2 times | Joined on Sep 2010
#17
thanks for the share. worked for me

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
 
Posts: 256 | Thanked: 92 times | Joined on Oct 2010
#18
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?
 

The Following User Says Thank You to lunat For This Useful Post:
Posts: 136 | Thanked: 47 times | Joined on Apr 2010 @ SF East Bay, Cali
#19
Originally Posted by bountou View Post
thanks for the share. worked for me

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
 
Posts: 136 | Thanked: 47 times | Joined on Apr 2010 @ SF East Bay, Cali
#20
Originally Posted by lunat View Post
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.
 

The Following User Says Thank You to JayBEE For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 13:05.