Results 1 to 16 of 16

Thread: slow writing on flash disk

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

    Default slow access on flash disk

    My system has problem on writing something on an USB drive (flash disk). It tooks quite a long time (like downloading big file from internet with slow connection) to write on but, it has no problem with reading.

    I suspect it's KDE's problem since i experienced it after upgrading to kde 3.5. I use SUSE 10.0.

    Oh, one more thing. My kate (and all apps that use it) crashs quite often. It also often reports that some programs have modified the file i'm currently editing. But, I'm sure that no other program is using it.

    Anyone who knows what my problem is? Thanks before.

    sorry for my bad english.
    Last edited by ir210; 26th January 2006 at 17:13.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 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

    Does it operate on USB 2.0 or 1.1? I'm asking about the driver used not about what is the device capable of. Sometimes it happens that a 2.0 device attaches to a 1.1 hub, and operates much slower. BTW. What file system do you have on that flash disk?

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

    Default Re: slow writing on flash disk

    Quote Originally Posted by wysota
    Does it operate on USB 2.0 or 1.1? I'm asking about the driver used not about what is the device capable of. Sometimes it happens that a 2.0 device attaches to a 1.1 hub, and operates much slower. BTW. What file system do you have on that flash disk?
    it operates on USB 2.0 and the filesystem is fat32 (as i formated it from windows). it never happened before. i mean, it was fast enough before i upgrade my KDE to version 3.5.

    is there any conflicts? or something wrong with my SUSE? Actually, I also updated it before upgrading KDE.

    thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    85
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: slow writing on flash disk

    I don't think it is something with KDE because it has nothing to do with the drivers. It's SUSE, maybe you got a newer kernel which does not support your device as good as the old on.

    You can simply try if it is KDE or not: Go into runlevel 3 (console only) and try to copy some files on the shell.

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

    Default Re: slow writing on flash disk

    maybe you'r right.
    thanks, I'll try it next time I come home.

    if it's true, any idea how to solve it? Must i downgrade my kernel? is there anything else i can do beside it?

  6. #6
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    85
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: slow writing on flash disk

    Check whether your kernel was upgraded or not.

    Another kernel would then probably help.
    Try these: Your last kernel (should fix it), newest SUSE, newest standard kernel from kernel.org
    Maybe even the mm series.

    You could try a Knoppix or another live cd if it is slow...

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

    Default Re: slow writing on flash disk

    Quote Originally Posted by Codepoet
    Check whether your kernel was upgraded or not.

    Another kernel would then probably help.
    Try these: Your last kernel (should fix it), newest SUSE, newest standard kernel from kernel.org
    Maybe even the mm series.
    thanks,

    I've downgraded my kernel to the previous one since I cannot update it just because i access the internet from internet cafe which have tooo slow connection.

    well, no change. I know my previous kernel did its jobs well. It seems that the problem is not with kernel. I still cannot figure out what the problem is. I've also tracked all updated packages, but no one is involving with i/o mechanism. So, i just leaved them alone.

    is there any suggestion?

    Btw, how about my second question (about kate)?

    thanks again.

  8. #8
    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 noticed the same behaviour on my system, also SUSE10.
    ir210, if you solve the problem, please post it here, I ofcourse will do the same.

  9. #9
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    85
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: slow writing on flash disk

    If it's not the kernel I have no good idea... Did you try a live cd?

    Kate and app crashes: Should not happen. With Gentoo I would say recompile but here... No idea

  10. #10
    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.

  11. #11
    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.

  12. #12
    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!

  13. #13
    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).

  14. #14
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 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?

  15. #15
    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.

  16. #16
    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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.