File transfers to USB devices constantly SLOWS down on large files > 200MB!

Bug #582390 reported by Zordid
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I know that this BUG is killing MANY people for a looooong period of time. But still, the bug report for 197762 was kind of closed: no more comments and the advice that this is a hardware-dependent issue!

Well, I disagree! There are many people using Ubuntu that have that problem - but nobody seems to care!!

The symptom: when copying a file with several hundred MB in size (or larger) - the copy process starts fast (in my case >30MB/s) - but then, it dramatically slows down and gets slower and slower and slower!! The system load rises to levels > 6 (and NOTHING else is happening on the system at all!!). The copy process will finally come to a (successful) end - but it takes a long time: 2 GB copied in more than one hour!!

Now: it might be "hardware-dependent" but definitely NOT a hardware failure! The same system under Windows: no problems at all!

What I got: a Dell Latitude D830 with a Core2 Duo, 4GB of RAM - running the 64bit version of Ubuntu.
This bug has been there for many Ubuntu versions: the first I started with was 8.04 - same issue!!!

WOULD SOMEONE PLEASE TRY TO HELP???
Thanks!!!
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: zordid 1772 F.... pulseaudio
 /dev/snd/controlC0: zordid 1772 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf6ffc000 irq 21'
   Mixer name : 'SigmaTel STAC9205'
   Components : 'HDA:838476a0,102801fe,00100204'
   Controls : 19
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'SAA7134'/'saa7134[0] at 0xf1afe400 irq 16'
   Mixer name : 'SAA7134 Mixer'
   Components : ''
   Controls : 6
   Simple ctrls : 3
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=9280a996-7de5-48f9-884c-1531b0e33b82
MachineType: Dell Inc. Latitude D830
NonfreeKernelModules: nvidia
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=76630e3e-50ee-4e1f-9287-4b649ce261ea ro quiet splash
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Regression: No
RelatedPackageVersions: linux-firmware 1.34
Reproducible: Yes
Tags: lucid filesystem needs-upstream-testing
Uname: Linux 2.6.32-22-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers www-data
dmi.bios.date: 01/04/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.name: 0UY141
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA15:bd01/04/2010:svnDellInc.:pnLatitudeD830:pvr:rvnDellInc.:rn0UY141:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D830
dmi.sys.vendor: Dell Inc.

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: zordid 1835 F.... pulseaudio
 /dev/snd/pcmC0D0p: zordid 1835 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf6ffc000 irq 47'
   Mixer name : 'SigmaTel STAC9205'
   Components : 'HDA:838476a0,102801fe,00100204'
   Controls : 18
   Simple ctrls : 11
DistroRelease: Ubuntu 10.10
HibernationDevice: RESUME=UUID=9280a996-7de5-48f9-884c-1531b0e33b82
MachineType: Dell Inc. Latitude D830
NonfreeKernelModules: nvidia
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-20-generic root=UUID=76630e3e-50ee-4e1f-9287-4b649ce261ea ro quiet quiet splash
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-20.29-generic 2.6.35.4
Regression: No
RelatedPackageVersions: linux-firmware 1.38
Reproducible: Yes
Tags: maverick kernel-fs needs-upstream-testing
Uname: Linux 2.6.35-20-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers www-data
dmi.bios.date: 01/04/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.name: 0UY141
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA15:bd01/04/2010:svnDellInc.:pnLatitudeD830:pvr:rvnDellInc.:rn0UY141:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Latitude D830
dmi.sys.vendor: Dell Inc.

Revision history for this message
Zordid (zordid-gmx) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Zordid (zordid-gmx) wrote : AplayDevices.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : ArecordDevices.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : BootDmesg.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Card1.Amixer.values.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : IwConfig.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Lspci.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Lsusb.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : PciMultimedia.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : ProcModules.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : RfKill.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : UdevDb.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : UdevLog.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : WifiSyslog.txt

apport information

tags: added: kj-triage
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Zordid,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 582390

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Phil Stevenson (philstevenson25) wrote :

There are lots of reports of this bug in various iterations. Please also see bugs # 88746, 490112, 541937 and 599755. They all seem to exhibit the same behavior.

I'm currently using Lucid 64-bit. I'm going to copy and paste a post from the System76 support forums on what I've done to troubleshoot this:

It was reported that running the following commands in a terminal would solve this problem in past releases of Ubuntu:
sudo modprobe -r ehci_hcd
sudo modprobe ehci_hcd

However, this is not an option any longer as this module is now part of the kernel and can't be reloaded this way.

Changing the kernel from CFQ to Anticipatory Scheduling at the GRUB prompt doesn't seem to have any affect, though other users have reported some success with this method.

    * The 32-bit version of Lucid doesn't demonstrate this problem, either through a live cd environment or installed to the internal hard drive. Speed stays consistent, but does not seem to exceed 12 Mbps.
    * Puppy Linux 4.3.1 doesn't seem to demonstrate this problem, though because of the lack of a progress bar for the copy operation, I can't give exact speeds. I would guess that it is operating at 12 Mbps like the 32-bit version of Lucid as it seemed to take about the same amount of time to transfer a large file.
    * Fedora 13 64-bit (live cd) demonstrates this problem
    * A live cd for 64-bit Lucid bit also demonstrates this problem
    * Linux Mint 9 64-bit live cd also had this problem
    * Lucid Puppy 5.0.1 live cd did not have this problem, though I think this is a 32-bit distro, and was as fast as the live Windows cd
    * A live Windows cd does not demonstrate this problem.

Please let me know what other information I can provide to help with this.

Revision history for this message
Phil Stevenson (philstevenson25) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: phil 1669 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0700000 irq 22'
   Mixer name : 'Realtek ALC272'
   Components : 'HDA:10ec0272,15580770,00100001 HDA:11c11040,11c10001,00100200'
   Controls : 22
   Simple ctrls : 12
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xcfeec000 irq 17'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100100'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=6f2593f5-8a54-45b3-86d4-c4a0aaa3ee55
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
MachineType: System76, Inc. Pangolin Performance
NonfreeKernelModules: fglrx
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=1cb4d27c-b9df-4a33-ac97-d82ae73c71bb ro quiet splash acpi_os_name=Linux acpi_osi=Linux
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Regression: No
RelatedPackageVersions: linux-firmware 1.34.1
Reproducible: Yes
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: lucid needs-upstream-testing
Uname: Linux 2.6.32-24-generic x86_64
UserGroups:

dmi.bios.date: 06/07/2010
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: CALPELLACRB.86C.0000.X.0000000000
dmi.board.asset.tag: Tag 12345
dmi.board.name: W76x/M77xCUH
dmi.board.vendor: CLEVO
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: CLEVO
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrCALPELLACRB.86C.0000.X.0000000000:bd06/07/2010:svnSystem76,Inc.:pnPangolinPerformance:pvrpanp7:rvnCLEVO:rnW76x/M77xCUH:rvrNotApplicable:cvnCLEVO:ct9:cvrN/A:
dmi.product.name: Pangolin Performance
dmi.product.version: panp7
dmi.sys.vendor: System76, Inc.

Revision history for this message
Phil Stevenson (philstevenson25) wrote : AlsaDevices.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : AplayDevices.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : BootDmesg.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : IwConfig.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : Lspci.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : Lsusb.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : PciMultimedia.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : ProcModules.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : UdevDb.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : UdevLog.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote : WifiSyslog.txt

apport information

Revision history for this message
Phil Stevenson (philstevenson25) wrote :

Tested with 2.6.35-rc6-maverick, bug still persists.

tags: removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Zordid (zordid-gmx) wrote :

Here too: Maverick still suffers from the same problem. I'm really getting disappointed. :-(
Can anybody explain to me what happens to my system? Why is CPU load going up? All stupid Windows OSes could always copy files without any impact on foreground tasks! :-(

Revision history for this message
Zordid (zordid-gmx) wrote : AcpiTables.txt

apport information

description: updated
Revision history for this message
Zordid (zordid-gmx) wrote : AlsaDevices.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : AplayDevices.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : BootDmesg.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : IwConfig.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Lspci.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : Lsusb.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : PciMultimedia.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : ProcModules.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : RfKill.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : UdevDb.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : UdevLog.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote : WifiSyslog.txt

apport information

Revision history for this message
Zordid (zordid-gmx) wrote :

Hi Jeremy,
sorry for not having responded; I had stupid mail-rules that sorted away the automatic mails for this bug! :-(
Do I have to try an upstream kernel even when using a Maverick beta?? Isn' it using an upstream kernel?
Thanks!
Olaf

Revision history for this message
Zordid (zordid-gmx) wrote :

Yesterday I had another similar thing happening: even when I copy large files from one harddisk file system to another file system of the same hard disk (both are ext4), the load rises to values above 9!

Maybe this issue has nothing to do with USB drives, but only with copying from one file system to another??
How can I "prove" (show in logs) what's happening here when I encounter this? Which log files would show this annoying behavior??
Thanks!

Revision history for this message
Zordid (zordid-gmx) wrote :

The more I think about it: it's the file copying process between two file systems that produces load.
The faster the destination file system is, the higher the load!

That's why I had a huge load of above 9 while copying from hard disk to hard disk and a load about 5-6 when copying to a USB destination! I can even detect a load around 2 when copying to a network share!

So: question is how to show the details to somebody who knows what this is all about???

Revision history for this message
penalvch (penalvch) wrote :

Zordid, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: lucid needs-upstream-testing
removed: needs-kernel-logs
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Donald Lhoëst (d-lhoest-y) wrote :

Same problem here. Any bug still opened?

Revision history for this message
penalvch (penalvch) wrote :

Donald Lhoëst, if you have a bug in Ubuntu, could you please file a new report by executing the following in a terminal:
ubuntu-bug linux

For more on this, please see the Ubuntu Kernel team article:
https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports

the Ubuntu Bug Control team and Ubuntu Bug Squad team article:
https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue

and Ubuntu Community article:
https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Please note, not filing a new report may delay your problem being addressed as quickly as possible.

Thank you for your understanding.

tags: removed: copy kernel slow usb
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.