LinuxQuestions.org
Visit Jeremy's Blog.
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 05-21-2006, 04:33 AM   #1
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Rep: Reputation: 31
moving files is slow


I just installed another hd, and I am moving massive amounts of data (almost 200 GiB) from a bunch of partitions into one, but the process is mostly very slow! (=<2,4 MiB/s). however, one of the datasets was 8-10 times faster, and I have been unable to figure out why. the slow come from hde, while the fast from hdg. both masters on its ide channel. the target is sda (sata).

is there any way I can speed this up? I am going to move other data also, once I free up some more space.

mandriva2006
amd 3700+ (x86_64)
1,5G ram
2,3 G swap.
 
Old 05-21-2006, 04:44 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Quote:
Originally Posted by edgjerp
I just installed another hd, and I am moving massive amounts of data (almost 200 GiB) from a bunch of partitions into one, but the process is mostly very slow! (=<2,4 MiB/s). however, one of the datasets was 8-10 times faster, and I have been unable to figure out why. the slow come from hde, while the fast from hdg. both masters on its ide channel. the target is sda (sata).

is there any way I can speed this up? I am going to move other data also, once I free up some more space.

mandriva2006
amd 3700+ (x86_64)
1,5G ram
2,3 G swap.
is dma enabled?

Code:
/usr/sbin/hdparm /dev/hde |grep using_dma
/usr/sbin/hdparm /dev/hdg |grep using_dma
 
Old 05-21-2006, 04:58 AM   #3
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
that would explain a lot, hde is not using dma. how do I turn it on?
 
Old 05-21-2006, 05:28 AM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Code:
hdparm -d 1 /dev/hde
 
Old 05-21-2006, 05:43 AM   #5
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Original Poster
Rep: Reputation: 31
for some reason dma is turned off within a few seconds.

I get this error with dmesg:
Code:
ide: failed opcode was: unknown
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
...
<repeating>
...
PDC202XX: Primary channel reset.
ide2: reset: success
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was: unknown
...
<repeating>
is this a problem with my controller, the disk or just software?

edit: now it seems to be working for a while, but I doubt it will last.

Last edited by edgjerp; 05-21-2006 at 05:47 AM.
 
Old 05-21-2006, 07:32 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
promise controllers are very buggy, so i've heard. i've had really weird things happen with mine too. try a lower dma speed like 2. hdparm -X66 -d1 /dev/hde
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
moving files Baghdad Linux - Newbie 5 01-22-2006 02:39 AM
Moving files Pyrophorus Slackware 5 11-09-2005 11:47 AM
moving files pantera Programming 2 08-23-2005 06:58 AM
Moving Files arockia Linare 3 09-08-2004 09:14 AM
Moving Files jhotchkiss Linux - Newbie 5 09-16-2003 04:41 PM

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

All times are GMT -5. The time now is 02:15 AM.

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