OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: ShiroiKuma on May 11, 2006, 05:38:29 am

Title: Writing To Sd And Cf Cards Super Slow
Post by: ShiroiKuma on May 11, 2006, 05:38:29 am
I flashed 3.4.5.1rc2 to my 3200. I have noticed so far that writing to both SD and CF cards - fat format - is SUPER slow. For instance yesterday I untared a 30 MB file, it took more than an hour. Now I copied a 30 MB file, took 30 minutes.

This is ridiculous...

Can I trace anyhow why this is, and if it is related to my setup having something messed up?
Title: Writing To Sd And Cf Cards Super Slow
Post by: koen on May 11, 2006, 05:42:36 am
Quote
I flashed 3.4.5.1rc2 to my 3200. I have noticed so far that writing to both SD and CF cards - fat format - is SUPER slow. For instance yesterday I untared a 30 MB file, it took more than an hour. Now I copied a 30 MB file, took 30 minutes.

This is ridiculous...

Can I trace anyhow why this is, and if it is related to my setup having something messed up?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126511\"][{POST_SNAPBACK}][/a][/div]

CF and SD cards are being mounted with the 'sync' option to prevent dataloss. You can change it to 'async' if you want, but don't complain if you lose data
Title: Writing To Sd And Cf Cards Super Slow
Post by: ShiroiKuma on May 11, 2006, 05:52:49 am
Quote
CF and SD cards are being mounted with the 'sync' option to prevent dataloss. You can change it to 'async' if you want, but don't complain if you lose data
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126512\"][{POST_SNAPBACK}][/a][/div]
OK, what does this mean basically, that then there is a risc that for instance writing to a CF is gonna be so fast that it's gonna corrupt the written files? Or what is the practical risk? Is there then any way to check whether there is data corruption?
Title: Writing To Sd And Cf Cards Super Slow
Post by: koen on May 11, 2006, 06:12:44 am
Quote
Quote
CF and SD cards are being mounted with the 'sync' option to prevent dataloss. You can change it to 'async' if you want, but don't complain if you lose data
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126512\"][{POST_SNAPBACK}][/a][/div]
OK, what does this mean basically, that then there is a risc that for instance writing to a CF is gonna be so fast that it's gonna corrupt the written files? Or what is the practical risk? Is there then any way to check whether there is data corruption?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126517\"][{POST_SNAPBACK}][/a][/div]

'sync' means that data is written to the card immediately, 'async' keeps it in memory and writes it at a later time. If you battery runs out, or you remove the card before the data has been written to the card -> dataloss