Author Topic: Writing To Sd And Cf Cards Super Slow  (Read 3187 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Writing To Sd And Cf Cards Super Slow
« 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?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Writing To Sd And Cf Cards Super Slow
« Reply #1 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
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Writing To Sd And Cf Cards Super Slow
« Reply #2 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?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

koen

  • Hero Member
  • *****
  • Posts: 1008
    • View Profile
    • http://dominion.thruhere.net/koen/cms/
Writing To Sd And Cf Cards Super Slow
« Reply #3 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
Forums are not bugtrackers!!! Smart questions
Ångström release team
iPAQ h2210, iPAQ h5550, iPAQ hx4700, Zaurus SL-C700, Nokia 770, all running some form of GPE
My blog