LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-19-2009, 01:41 PM   #1
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Rep: Reputation: 30
USB file transfers make my computer really slow


Hello, i'm running kubuntu jaunty and whenever i try to copy a few gigabytes to my external backup drive, the computer slows down. Stuff like switching from firefox to thunderbird take about 15 seconds instead of half a second. Everything is just super slow.

Looking at my processes (top), the cpu is pretty much idle.

As soon as the usb transfer stops the computer is fine again. I've tried using nautilus and dolphin and both slow the computer down. I've tried gnome and kde and both are the same.

Even typing in the command line is slow.

The computer is a dell P4, 2.8Ghz, with 3gb of ram and a 250gb seagate hard drive internally. I've got several external drives and they're all slow. All drives except my boot partition are xfs. The boot partition is ext3.

-Thanks for any help provided.

Oh and i'm talking about just doing a transfer. I'm not running a program that is archiving and transfering at the same time, as that would use a lot of cpu and a slowdown would be understandable.
 
Old 08-20-2009, 09:15 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Possibly a buggy driver for the USB controller you have. Do you get any errors or strange messages in the system logs during the transfer? Do the boot messages mention anything about USB while the system is starting? Kubuntu uses a bootsplash so you wouldn't see them normally, but you can check them after the machine starts with a command like "dmesg | grep usb".
 
Old 08-20-2009, 09:54 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
I've got a similar issue with my laptop. If I use the CDRW/DVD drive and the USB at the same time, the mouse updates every 3 seconds or so and it just becomes unusable until it finishes. I don't have this issue with any other computer with the same distro (to some extent) installed. I was going to recommend more RAM, but at 3GB, you've got 3x's more than my best at the moment. Is this a laptop that you're using?
 
Old 08-20-2009, 11:49 AM   #4
xmrkite
Member
 
Registered: Oct 2006
Location: California, USA
Distribution: Mint 16, Lubuntu 14.04, Mythbuntu 14.04, Kubuntu 13.10, Xubuntu 10.04
Posts: 554

Original Poster
Rep: Reputation: 30
Here is a dmesg | grep usb printout:

Quote:

[ 0.850281] usbcore: registered new interface driver usbfs
[ 0.850281] usbcore: registered new interface driver hub
[ 0.850281] usbcore: registered new device driver usb
[ 4.396107] usb usb1: configuration #1 chosen from 1 choice
[ 4.396569] usb usb2: configuration #1 chosen from 1 choice
[ 4.396930] usb usb3: configuration #1 chosen from 1 choice
[ 4.397288] usb usb4: configuration #1 chosen from 1 choice
[ 4.397650] usb usb5: configuration #1 chosen from 1 choice
[ 4.397856] usbcore: registered new interface driver libusual
[ 4.397906] usbcore: registered new interface driver usbserial
[ 4.397948] usbcore: registered new interface driver usbserial_generic
[ 4.397951] usbserial: USB Serial Driver core
[ 4.717007] usb 1-1: new high speed USB device using ehci_hcd and address 2
[ 4.852272] usb 1-1: configuration #1 chosen from 1 choice
[ 4.915229] usb-storage: device found at 2
[ 4.915234] usb-storage: waiting for device to settle before scanning
[ 4.915276] usbcore: registered new interface driver usb-storage
[ 5.352017] usb 2-2: new full speed USB device using uhci_hcd and address 2
[ 5.530906] usb 2-2: configuration #1 chosen from 1 choice
[ 5.772021] usb 3-1: new low speed USB device using uhci_hcd and address 2
[ 5.949953] usb 3-1: configuration #1 chosen from 1 choice
[ 5.962618] usbcore: registered new interface driver hiddev
[ 5.977173] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input3
[ 5.977420] generic-usb 0003:046D:C502.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.1-1/input0
[ 6.002328] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.1/input/input4
[ 6.002705] generic-usb 0003:046D:C502.0002: input,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.1-1/input1
[ 6.002730] usbcore: registered new interface driver usbhid
[ 6.002735] usbhid: v2.6:USB HID core driver
[ 9.912747] usb-storage: device scan complete
[ 15.618407] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x327E
[ 15.618455] usbcore: registered new interface driver usblp
What log would i check? Also, the transfer speeds are pretty decent, (20 megabytes per second or so) it's just that the whole computer slows down to a halt, even though top reports the cpu as nearly idle.
 
Old 03-28-2014, 11:42 AM   #5
random0munky
LQ Newbie
 
Registered: Jul 2011
Location: Washington, USA
Distribution: Ubuntu, CentOS, FreeBSD
Posts: 22

Rep: Reputation: Disabled
Quote:
Originally Posted by xmrkite View Post
Hello, i'm running kubuntu jaunty and whenever i try to copy a few gigabytes to my external backup drive, the computer slows down. Stuff like switching from firefox to thunderbird take about 15 seconds instead of half a second. Everything is just super slow.

Looking at my processes (top), the cpu is pretty much idle.

As soon as the usb transfer stops the computer is fine again. I've tried using nautilus and dolphin and both slow the computer down. I've tried gnome and kde and both are the same.

Even typing in the command line is slow.

The computer is a dell P4, 2.8Ghz, with 3gb of ram and a 250gb seagate hard drive internally. I've got several external drives and they're all slow. All drives except my boot partition are xfs. The boot partition is ext3.

-Thanks for any help provided.

Oh and i'm talking about just doing a transfer. I'm not running a program that is archiving and transfering at the same time, as that would use a lot of cpu and a slowdown would be understandable.
I know this is a really old forum post but I think I found a solution.

I was experiencing the same kind of behavior with the mouse updating every 3 seconds during an rsync to a 'generic' microSD card from local hard disk and found that I had to manually throttle the transfer speed to --bwlimit=2048 or 2 MB/s. Hope this helps some people.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File transfers are slow and take 100% of CPU stringZ Linux - Software 3 12-07-2008 07:35 AM
Fast Internet; Slow File Transfers? bthornton Linux - Wireless Networking 7 08-31-2008 10:17 PM
[Debian Lenny::Samba/CIFS] Network File Transfers Slow t3hl33td4rg0n Linux - Server 0 03-12-2008 11:11 PM
Slow network file transfers purelithium Linux - Networking 4 02-14-2006 05:28 PM
slow file transfers between hard drives akshunj Linux - Hardware 3 06-01-2004 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration