Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-26-2005, 03:02 PM
|
#1
|
Member
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189
Rep:
|
floppies mounted in sync mode very slow
Hello all. When I mount a floppy disk or a usb mass storage device with the sync flag in /etc/fstab, writing is unbearably slow. I expected some performance hit, but not by an order of magnitude. I'm thinking maybe this could be a bug with vfat since both the usb drive and floppy use that file system instead of it being an inherent behavior. Any ideas on how to solve it?
|
|
|
05-26-2005, 04:11 PM
|
#2
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
Interesting question, How slow are you talking about. Can't be that slow for a Floppy, there is only a finite amount of data to write.
I too have seen some proformance drop when using floppies in Linux, however, minimul. I learned the hard way the difference between write-through (sync) or write-back (async).
My current MDK 10.1 uses 'supermount" and is synced, my Slackware box is not synced and I have to make sure to unmount the drive before removing it or I could lose data.
I have noticed though that writing to a floppy with a single 1meg file is faster then 10 100k files, due to more head movement I guess...
Either way... I don't know how you would speed up the write process in sync mode, might be a Kernel issue...
Just a thought
KC
|
|
|
05-26-2005, 04:38 PM
|
#3
|
Member
Registered: Jul 2004
Location: Milpitas, California
Distribution: 1/2 Debian 1/2 my own
Posts: 189
Original Poster
Rep:
|
By slow, I mean it takes 24 seconds to write a 15k file to the floppy! Faster for the usb drive though. It should take only one second since a floppy drive's throughput is ~50k/second. Ideally I think there should be a mount option such as ext3's commit interval which allows async. io, but guarantees a writeback after a certain time.
|
|
|
04-23-2020, 05:38 AM
|
#4
|
LQ Newbie
Registered: Apr 2020
Distribution: Debian
Posts: 7
Rep: 
|
I too experience the same issue of very slow file operations with sync, but that's the only way to confirm that ie. a file has
been copied to the floppy after the copy dialog has been closed, thus the floppy can be ejected safely.
With async you will risk data loss/corruption when you assume that when the dialog closes you may eject the disk,
when in fact the file operation may not have executed and is still in buffer.
I'm currently using autofs with the sync option.
Last edited by randywatson; 04-23-2020 at 05:40 AM.
|
|
|
04-23-2020, 05:48 AM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,340
|
How many respondents of that 15 year old thread really care any more ?.
|
|
|
All times are GMT -5. The time now is 07:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|