You are not logged in.

#1 2011-08-19 17:43:59

Bart6114
Member
Registered: 2009-02-21
Posts: 24

USB i/o very slow

Copying files from an external HDD to another USB source (e.g. flashdrive) slows down my computer to a crawl/freezes it. When this occurs I think the copying process is still going on but goes very slowly.

Another problem is that the power of my external HDD goes off once the PC starts booting Arch. I have to manually pull out the cable and plug it in again. But maybe this is unrelated.

I have no idea how to solve this problem.

Below the output of lspci (if it is of any use)

Thanks in advance!

[bart@ArchPC ~]$ lspci
00:00.0 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
00:01.0 ISA bridge: nVidia Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP78S [GeForce 8200] SMBus (rev a1)
00:01.2 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:01.3 Co-processor: nVidia Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
00:01.4 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
00:02.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:04.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
00:04.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
00:06.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] IDE (rev a1)
00:07.0 Audio device: nVidia Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)
00:08.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:09.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:12.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
00:13.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:14.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)
02:00.0 VGA compatible controller: nVidia Corporation C77 [GeForce 8200] (rev a2)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
[bart@ArchPC ~]$ 

Offline

#2 2011-08-19 19:39:34

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: USB i/o very slow

Perhaps this is normal since you are using USB twice in this transfer so it is doubly slow thereby.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2011-08-19 19:42:33

Bart6114
Member
Registered: 2009-02-21
Posts: 24

Re: USB i/o very slow

Its not only an extremely slow file transfer, but it actually makes the system unresponsive. Running GNOME3 btw.

Offline

#4 2011-09-01 19:16:13

Bart6114
Member
Registered: 2009-02-21
Posts: 24

Re: USB i/o very slow

Sorry to bump this post, someone an idea of what might cause this?

Offline

#5 2011-09-01 19:17:10

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: USB i/o very slow

Have you searched the forums. There are at least 2 other threads on this topic. Maybe you will find an answer in one of them.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2011-10-03 21:30:04

akurei
Member
From: Bochum, NRW, Germany
Registered: 2009-05-25
Posts: 152
Website

Re: USB i/o very slow

After trying almost all available kernels and checking everything twice, I finally found a solution that worked wonders for me:

Run as root:

echo 1 > /proc/sys/vm/dirty_ratio && echo "echo 1 > /proc/sys/vm/dirty_ratio" >> /etc/rc.local

Offline

#8 2011-10-05 19:11:02

Draje
Member
Registered: 2007-06-21
Posts: 102
Website

Re: USB i/o very slow

akurei wrote:

After trying almost all available kernels and checking everything twice, I finally found a solution that worked wonders for me:

Run as root:

echo 1 > /proc/sys/vm/dirty_ratio && echo "echo 1 > /proc/sys/vm/dirty_ratio" >> /etc/rc.local

The problem still persits for me on both the stock Arch kernel and the linux-ck-k10 kernel. I've also experimented with the value 5 and 10 while also setting dirty_background_ratio to 10 and 1 respectively without any luck.

However, Kubuntu installed on another patition runs flawlessly and never hangs when I run a bunch of file copies. Have you tried using ubuntu's 11.04 kernel in Arch?

Offline

Board footer

Powered by FluxBB