Results 1 to 16 of 16

Thread: slow writing on flash disk

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: slow writing on flash disk

    Hi,
    just wanted to say I got a lead.
    It looks like there are changes in the kernel about the FATFS, somthing to do with accessing the FS with a sync , which makes it slow.
    See here:
    http://www.ussg.iu.edu/hypermail/lin...07.3/1451.html
    But its too late for me to read any more or try what they suggested there (changing the sync option in fstab).
    But if someone can try it, or confirm it, before I get to try it tomorrw (err.. today) then please post!

    Cheers.

  2. #2
    Join Date
    Jan 2006
    Posts
    7
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: slow writing on flash disk

    Quote Originally Posted by high_flyer
    Hi,
    just wanted to say I got a lead.
    It looks like there are changes in the kernel about the FATFS, somthing to do with accessing the FS with a sync , which makes it slow.
    See here:
    http://www.ussg.iu.edu/hypermail/lin...07.3/1451.html
    But its too late for me to read any more or try what they suggested there (changing the sync option in fstab).
    But if someone can try it, or confirm it, before I get to try it tomorrw (err.. today) then please post!

    Cheers.
    any success, high_flyer? I still can't make it normal.

  3. #3
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: slow writing on flash disk

    Didn't have time to test it yet (can you believe it??)
    I am sooo busy its really crazy... got at 24:00 home last night, from work!!
    I'll post as soon as I test it.
    Did you try to take the the sync out of the mount command?
    Dont forget to run sync before you take the USB stick out!

  4. #4
    Join Date
    Jan 2006
    Posts
    7
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: slow writing on flash disk

    it's autodetected by hal. I donot know how to change hal configuration. I've tried to remount it with async option, but it still slow.

    I have the same problem from console and gnome (you are, codepoet, right it's not kde's fault). It only happen to my suse not kubuntu 5.10 (which hasn't been updated yet).

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: slow writing on flash disk

    could you show us the mount parameters frm that device?

  6. #6
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: slow writing on flash disk

    Yes it works.
    My original mount is:
    mount -t subfs -o fs=floppyfss,sync,procuid,nosuid,nodev,exec,utf8=t rue
    And the modified one:
    mount -t subfs -o fs=floppyfss,procuid,nosuid,nodev,exec,utf8=true

    Simply take 'sync' out of the line.
    It works fast as it should this way.
    Don't forget to run sync before you take out the memory stick, to make sure any buffered data is flushed.

  7. #7
    Join Date
    Feb 2006
    Posts
    1

    Default Re: slow writing on flash disk

    I got it working fast by just changing the fs type to vfat
    It helped, though i don't know whether should it help

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.