Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
I recently noticed while writing files to my USB thumb-drive with a FAT32 file system that the write speed was averaging 8 KB/s, maxing at 32 KB/s and stalling frequently. I assumed the problem was the large amount of minuscule files was the problem, so I tried writing them all at once in an archived format, but that only raised the average to 12 KB/s and left the max alone. I can't think of a reason for the write speed to be this low, as all proper USB drivers are compiled into the kernel and my thumb-drives formatted with native Linux file systems perform fine, yet they all perform equally terrible formatted with FAT32. Thus, I ask, is this behavior normal (which I doubt), and if not, are there any suggestions which may improve this condition?
Sorry about the very late reply, I went on vaccation for a week and completely forgot about this.
To answer your questions, the thumbdrive is fullspeed and shows up as /dev/sd*. From what I can see, there is nothing odd in dmesg either.
Output of dmesg | grep usb:
Code:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb usb5: configuration #1 chosen from 1 choice
usb 2-2: new low speed USB device using uhci_hcd and address 2
usb 2-2: configuration #1 chosen from 1 choice
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #1 chosen from 1 choice
usb 3-2: new low speed USB device using uhci_hcd and address 3
usb 3-2: configuration #1 chosen from 1 choice
usbcore: registered new driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x0904
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
usbcore: registered new driver usb-storage
input: USB HID v1.10 Joystick [Twin USB Joystick] on usb-0000:00:1d.0-2
input: USB HID v1.10 Mouse [Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.1-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new driver ov511
drivers/usb/media/ov511.c: v1.64 for Linux 2.5 : ov511 USB Camera Driver
drivers/usb/media/se401.c: SE401 usb camera driver version 0.24 registering
usbcore: registered new driver se401
usbcore: registered new driver mdc800
drivers/usb/image/mdc800.c: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera
usbcore: registered new driver microtekX6
usbcore: registered new driver usbled
usb 3-2: USB disconnect, address 3
How are you mounting the drives? In particular, are you mounting them with the sync option?
For some reason (I don't know why) using synchronous writes on USB thumb drives results in miserable performance. I had the same problem. Simply removing the sync option from the drive's line in /etc/fstab, so that writes were done asynchronously, fixed the problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.