OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Write Speed On Sd With R121
elfenkoenig
post Jan 3 2007, 12:53 AM
Post #1





Group: Members
Posts: 3
Joined: 3-January 07
Member No.: 13,645



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
Go to the top of the page
 
+Quote Post
louigi600
post Jan 3 2007, 02:20 AM
Post #2





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



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.
Go to the top of the page
 
+Quote Post
elfenkoenig
post Jan 3 2007, 09:06 AM
Post #3





Group: Members
Posts: 3
Joined: 3-January 07
Member No.: 13,645



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.
Go to the top of the page
 
+Quote Post
Meanie
post Jan 3 2007, 06:24 PM
Post #4





Group: Members
Posts: 2,808
Joined: 21-March 05
From: Sydney, Australia
Member No.: 6,686



QUOTE(elfenkoenig @ Jan 4 2007, 03:06 AM)
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.
*


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.
Go to the top of the page
 
+Quote Post
louigi600
post Jan 3 2007, 07:52 PM
Post #5





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



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 ?
Go to the top of the page
 
+Quote Post
elfenkoenig
post Jan 4 2007, 01:17 AM
Post #6





Group: Members
Posts: 3
Joined: 3-January 07
Member No.: 13,645



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).
Go to the top of the page
 
+Quote Post
louigi600
post Jan 7 2007, 09:23 AM
Post #7





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



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.
Go to the top of the page
 
+Quote Post
Antikx
post Jan 7 2007, 11:02 PM
Post #8





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



louigi600, I added your SD card findings to the List.
Hope that's OK.
Go to the top of the page
 
+Quote Post
Speedy
post Jan 10 2007, 02:14 AM
Post #9





Group: Members
Posts: 13
Joined: 11-August 06
Member No.: 10,744



@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
Go to the top of the page
 
+Quote Post
louigi600
post Jan 10 2007, 10:17 AM
Post #10





Group: Members
Posts: 474
Joined: 21-May 06
Member No.: 9,928



QUOTE(Speedy @ Jan 10 2007, 12:14 PM)
@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}).
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th December 2014 - 07:50 AM