Author Topic: SD / CF card speed measurement  (Read 4960 times)

sigmaX

  • Full Member
  • ***
  • Posts: 110
    • View Profile
SD / CF card speed measurement
« on: August 24, 2004, 11:07:59 am »
Is there any existing application that measures speed in a storage medium, compiled for PdaXrom ? If not.... any cool soul can do it ?

Maybe it can be done from scratch:

1) start a timer
2) Store a dummy file (size user configurable)
3) measure save speed
4) Read that file
5) measure read speed

I bought an SD card that suppossedly is "Speeded up" (A viking 512MB) but I think it is no good speed behind it ... I would love to see actual numbers !!

Regards,

Enrique.
« Last Edit: August 24, 2004, 11:09:15 am by sigmaX »
Enrique

sl-c860 / 1gigCF 40X / 256mbSD / Ambicom WIFI / TRENDnet 10/100 ethernet / SL-5500 CF 40X 32MB

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
SD / CF card speed measurement
« Reply #1 on: August 24, 2004, 08:36:08 pm »
Maybe it's a little n00b solution and not accurate, but this is how I imagine a simple test:

Writing speed test (writing a 32Mb file to SD card):
Code: [Select]
# time dd if=/dev/zero of=/mnt/card/testfile count=65536You get a real time, Divide it by 32 get the reciproc (1/x) and tadaaa.  You get a Mb/sec value from it.

The read test is just the same:
Code: [Select]
# time dd if=/mnt/card/testfile of=/dev/nullSame procedure.

Ohh, and a tip: don't forget to delete the testfile.
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
SD / CF card speed measurement
« Reply #2 on: August 24, 2004, 08:45:01 pm »
1,301 Mb/sec reading and 1,217 Mb/sec writing speed here. Yeah, it was the cheapest SD in the store.
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

Xumbi

  • Full Member
  • ***
  • Posts: 178
    • View Profile
SD / CF card speed measurement
« Reply #3 on: August 24, 2004, 09:09:13 pm »
I'm not sure how to read these results, but I got 38.746s for the first test, and 5.888s for the second test.  What does that mean?

By the way, I'm using a 256MB SimpleTech SD card.

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
SD / CF card speed measurement
« Reply #4 on: August 25, 2004, 05:17:34 am »
Quote
I'm not sure how to read these results, but I got 38.746s for the first test, and 5.888s for the second test.  What does that mean?

By the way, I'm using a 256MB SimpleTech SD card.
Divide it by 32 (38.746/32=1.211) and get the reciproc (1/1.211=0.826). So you have a 0.826 Mb/sec card writing speed. The reading is much better, but... calculate it yourself.

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

rgrep

  • Full Member
  • ***
  • Posts: 149
    • View Profile
SD / CF card speed measurement
« Reply #5 on: August 25, 2004, 05:45:49 am »
There is already a good program available for doing read and write speed tests.  See this thread for instructions and the download link.
[img]https://www.oesf.org/forums/style_emoticons/default/smile.gif\" border=\"0\" class=\"linked-sig-image\" /] Has: Dynamism C760 / Linksys WCF12 WiFi / Kingston 512MB SD
[img]https://www.oesf.org/forums/style_emoticons/default/biggrin.gif\" border=\"0\" class=\"linked-sig-image\" /] Loves: pdaXrom / Warwalking
[img]https://www.oesf.org/forums/style_emoticons/default/sad.gif\" border=\"0\" class=\"linked-sig-image\" /] Hates: NetGear MA701 WiFi / SanDisk 256MB SD / C760 Charging Faults

sigmaX

  • Full Member
  • ***
  • Posts: 110
    • View Profile
SD / CF card speed measurement
« Reply #6 on: August 26, 2004, 08:50:06 pm »
Damned Viking card, bought thru amazon .... they stated "6 mb per second transfer speed" ... blah blah ... it goes like:

0m41.652s for writing
0m24.345s for reading

It's formatted in ext2 .. and got some stuff already in it ... I think that being with some megs already in use deteriorates the test result ... but anyway it is pretty slow !!
Enrique

sl-c860 / 1gigCF 40X / 256mbSD / Ambicom WIFI / TRENDnet 10/100 ethernet / SL-5500 CF 40X 32MB

sigmaX

  • Full Member
  • ***
  • Posts: 110
    • View Profile
SD / CF card speed measurement
« Reply #7 on: August 26, 2004, 08:52:34 pm »
zumi I have not clear at all your math ... you create a file with count=65536 and state it is a 32 mb file ?
Enrique

sl-c860 / 1gigCF 40X / 256mbSD / Ambicom WIFI / TRENDnet 10/100 ethernet / SL-5500 CF 40X 32MB

mh

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
SD / CF card speed measurement
« Reply #8 on: August 27, 2004, 02:10:12 am »
Hi

I guess that the count argument to dd is not in bytes but in blocks. Each block is 512 bytes, that gives the 32MB file size. (Please correct me if I'm wrong)

Anyhow, have you guys had any problems with corruption while doing your tests? I have had some major SD corruption since I bought my Sandisk card. The only thing that helps is to include the sync parameter when mounting.

/Marcus

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
SD / CF card speed measurement
« Reply #9 on: August 27, 2004, 04:04:53 am »
Quote
Hi

I guess that the count argument to dd is not in bytes but in blocks. Each block is 512 bytes, that gives the 32MB file size. (Please correct me if I'm wrong)

Anyhow, have you guys had any problems with corruption while doing your tests? I have had some major SD corruption since I bought my Sandisk card. The only thing that helps is to include the sync parameter when mounting.

/Marcus
Correct, tt creates a 32Mb file.

Sync is your friend anyway. It forces the system to write everything immediately to the card. This is good, because you can pull out the cards anytime; maybe by accidentally, or you forgot that you just wrote something on it and it is not physically written on it yet. And you create a mess on your card with this move. So use sync! (isn't this the default anyway??? because if not, this test would be highly imprecise)

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!

mh

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
SD / CF card speed measurement
« Reply #10 on: August 27, 2004, 04:14:42 am »
Its quite interesting about the SYNC parameter. It took me about 5 min to thrash the SD card after installing 1.1.0-RC2 since the SYNC parameter wasn't set in the fstab file. I added it and reformatted the card and no problems so far.

I cant remember exactly but I think that my performace for both write and read was about 23 sec, no too bad anyhow.

/Marcus

tumnus

  • Hero Member
  • *****
  • Posts: 1176
    • View Profile
    • http://www.cpinkney.org.uk
SD / CF card speed measurement
« Reply #11 on: November 04, 2004, 12:33:14 pm »
I've just got a Kingmax 512MB MMC (not SD) formatted with FAT16.

Using Zumi's method I get:

Read: 1.5MB/s
Write: 1.5MB/s

Pretty impressed by that for a MMC card.
# Search the Zaurus Howtos ## Search the Zaurus FAQs ## Find Z software at ELSI #
--------------------
UK SL5500 with Sharp ROM 3.13, SL5600 with Sharp ROM 1.32 - SuSE 9.0 Pro, Windows XP Home
Qualendar for Calendar and Todo
Socket Bluetooth CF Card (Rev F), Kingmax 512MB MMC Card, Palm Tungsten T Stylus,
Pretec CF->Smartmedia Adapter, Semsons Universal Battery Extender

Xumbi

  • Full Member
  • ***
  • Posts: 178
    • View Profile
SD / CF card speed measurement
« Reply #12 on: November 05, 2004, 08:40:22 am »
Just ran this test on my brand new Lexar 1GB SD:

Write - 1.86MB/s
Read - 32.52MB/s

gromituk

  • Full Member
  • ***
  • Posts: 207
    • View Profile
SD / CF card speed measurement
« Reply #13 on: November 05, 2004, 05:07:42 pm »
Lexar SD128 (ext2):

Write: 0.55 Mbit/sec
Read: 1.3 Mbit/sec

Bytestor "Hi-speed" CF 256M (FAT):

Write: 1.3 Mbit/sec
Read: 2.1 Mbit/secMbit/sec

xe1yyb

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • http://
SD / CF card speed measurement
« Reply #14 on: November 05, 2004, 06:58:47 pm »
lexar  256 MB 32x high-speed (ext2)
write 1.33 Mb/
read  42.78 Mb/s

 
pdaxrom 1.1.0 Kathrin rc9 ,sl c860
1 Gb Sand disk SD, 256 mb CF ultra ll
CF modem 56k ambicom, CF ethetnet trendnet te-cf100