Author Topic: Write Speed On Sd With R121  (Read 2813 times)

elfenkoenig

  • Newbie
  • *
  • Posts: 3
    • View Profile
Write Speed On Sd With R121
« on: January 03, 2007, 03:53:44 am »
I have a c-1000 and a 2gb sd with an ext2 and a swap partition.
Since i changed from beat3 to r121 i noticed that writing on sd is extremly slow and the the mmcqd prozess toke the whole cpu-power. Also when it began to use the swap, the system would be unuseable.
The sd-card has no bad blocks and works without problems in my desktop-pc.
Is it an configuration problem or could it be a driver bug?



sorry for bad english
thanks

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Write Speed On Sd With R121
« Reply #1 on: January 03, 2007, 05:20:00 am »
Adding SD support to the linux MMC driver is work in progress. There is work being done to speed it up but to my last readings it's in experimental phase.
While waiting for a better stable implementation try to see if things get better by avoiding to swap on the SD.
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

elfenkoenig

  • Newbie
  • *
  • Posts: 3
    • View Profile
Write Speed On Sd With R121
« Reply #2 on: January 03, 2007, 12:06:17 pm »
It is not only the swap, writing at all is nearly impossible (the last try copy 100mb on the sd i reseted it after one hour).
And i really need the sd space for installing programms and as swap.

Are there any other 2gb or 4gb sd-cards which are working on c-1000 with r121 without these problems?

Then i could buy me an other sd-card.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Write Speed On Sd With R121
« Reply #3 on: January 03, 2007, 09:24:36 pm »
Quote
It is not only the swap, writing at all is nearly impossible (the last try copy 100mb on the sd i reseted it after one hour).
And i really need the sd space for installing programms and as swap.

Are there any other 2gb or 4gb sd-cards which are working on c-1000 with r121 without these problems?

Then i could buy me an other sd-card.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=149947\"][{POST_SNAPBACK}][/a][/div]

you could try using the async option instead of sync when mounting the SD. Thus would make it faster but you risk corrupting your files when you eject without properly unmounting the SD. With larger SD cards, ie > 1GB, you also risk corrupting your partition table/SD layout thingy and render your SD card unrecognizable...
use beta3 and be happy.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Write Speed On Sd With R121
« Reply #4 on: January 03, 2007, 10:52:17 pm »
I did a nand backup on a 1Gb SD and it took so long I hadto go off and do something elese ... on other cards it did not take so long so I guess a lot may depend on the card itself (the more expensive ones with the 40x label may work faster)

I've had corruption while using a 256Mb SD as root on beta4 ... not sure if things have gotten better in r121 ... but I now do my testing on a MMC card.
It's a bit more expensive but free from the SD intellectual property problems.
I recently got a 1Gb MMC for just 9 Euro more then the 1G SD (32, 23 respectively).
Can you try an MMC card (or at least a different SD) and see if it gets any better ?
« Last Edit: January 03, 2007, 11:07:44 pm by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

elfenkoenig

  • Newbie
  • *
  • Posts: 3
    • View Profile
Write Speed On Sd With R121
« Reply #5 on: January 04, 2007, 04:17:00 am »
Async helps only short time, then the same.
At home i have a 1gb sd which i could test in 2 or 3 weeks.
I really like r121, it feels much faster then beta3 and all other things, which i need, are working.

What about the speed between mmc and sd? I read that mmc are much slower then sd cards (if sd is working correctly).

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Write Speed On Sd With R121
« Reply #6 on: January 07, 2007, 12:23:55 pm »
I had a a look at the performance of some SD with respect to my MMC.
They are different brands and different sizes ... here they are:
1Gb MMC (Transcend) 900 Kb/s
1Gb SD (Tossiba) 1.1 Mb/s
256 Mb SD (Kingston) 1.9 Mb/s
128 Mb SD (Panasonic) 700 Kb/s
I must add that all the devices (appart from the 256Mb Kingston) are really low price devices from which one can expect poor performance ... but what the hell my Z is'nt going to take off any way, save 50 to 75% off the hight priced device and be happy.

So my guess is that a lot depends on brand ... and that the brand can make an SD slower that an MMC.
I have no other MMC's to compare with but I'm sure that there will be a similar situation.

Incidently the onboard flash on my C760 performs at 1.4 Mb/s.
« Last Edit: January 07, 2007, 01:36:53 pm by louigi600 »
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Write Speed On Sd With R121
« Reply #7 on: January 08, 2007, 02:02:58 am »
louigi600, I added your SD card findings to the List.
Hope that's OK.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Speedy

  • Newbie
  • *
  • Posts: 13
    • View Profile
Write Speed On Sd With R121
« Reply #8 on: January 10, 2007, 05:14:22 am »
@louigi600: Which program do you use for benchmarking?
I tested hardinfo but it crashes when opening the storage dialog.

Greetings from Germany
Andreas

---------
pdaxrom R121 | C1000

louigi600

  • Sr. Member
  • ****
  • Posts: 471
    • View Profile
Write Speed On Sd With R121
« Reply #9 on: January 10, 2007, 01:17:02 pm »
Quote
@louigi600: Which program do you use for benchmarking?

I do it the old way (before there was explicit benchmark software)

I test read spead with:
time dd if=/dev/mmcblk0p1 of=/dev/null bs=1024 count=10240
I the calculate the avarage Mb per sek by division (10/real time)
This works on all linux distributions and flavors ;-)

write speed dangerous this way as it's distructive on data  and on format (but can be used on empty cards).
It is possible to write simple scripts that overwrite many times the same blocks but it's not healthy for flash devices.  
I use hdparm for write speed (although write speed is a minor concern as  I use the SD/MMC mainly for reading {multimedia files, maps, documents ... etc}).
Regards
David

SL-c760*  pdaXrom latest
SL-c860    pdaXrom latest ;-)
SL-c1000  pdaXrom Latest
Acer Aspire One running slackware and Clash
Toshiba AC100 running ARMedslack and Clash

*with some hardware problems but good for testing