LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 10-27-2005, 07:01 AM   #1
Ryanlee
LQ Newbie
 
Registered: Oct 2005
Location: China
Distribution: SuSE 10.0
Posts: 15

Rep: Reputation: 0
Copy files from partition to partition too slow, SATA hard disk.What should I do


I have 3 partitions in linux, all reiser format.
Copy small file is ok. Copy big files from partition to partiton, like 1.4G dvdrip movie :
It's about 11 MB/s at beginning , soon the speed slow down , the slowest speed is about 3.4 MB/s, most of time the copy speed is 5 Mb/s .
This speed is very slow. What should I do ?
My hard disk is 80G 7200rpm sata.
 
Old 10-27-2005, 07:08 AM   #2
Keruskerfuerst
Member
 
Registered: Oct 2005
Location: Lat: 482356N, Lon: 104145E
Distribution: Gentoo 2006
Posts: 719

Rep: Reputation: 31
Hello!

The slow speed results from copying from partition to partition on a single disk.

Greetings
 
Old 10-27-2005, 07:12 AM   #3
Ryanlee
LQ Newbie
 
Registered: Oct 2005
Location: China
Distribution: SuSE 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
but much slower than do copy in windows.
 
Old 10-27-2005, 07:15 AM   #4
Ryanlee
LQ Newbie
 
Registered: Oct 2005
Location: China
Distribution: SuSE 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
copy 1.4G in linux Suse10.0, about 3 mins.
in windows, less than 1:20.
 
Old 10-27-2005, 07:40 AM   #5
broch
Member
 
Registered: Feb 2005
Distribution: Arch current, SuSe 10.1 32-bit, FreeBSD current, OpenBSD 4.0
Posts: 453

Rep: Reputation: 30
on SATA SuSE 9.3 (XFS) copying 3.4 GB on the same disk between two partitions took 2:50
It would depend on FS, controler (SIl is worse than nVidia), other disk intensive processes
 
Old 10-27-2005, 10:13 AM   #6
Ryanlee
LQ Newbie
 
Registered: Oct 2005
Location: China
Distribution: SuSE 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
su
RLee:/home/lee # hdparm -Tt /dev/sda

/dev/sda:
Timing cached reads: 2060 MB in 2.00 seconds = 1029.94 MB/sec
Timing buffered disk reads: 42 MB in 3.04 seconds = 13.81 MB/sec

how about yours?
 
Old 10-27-2005, 11:29 AM   #7
broch
Member
 
Registered: Feb 2005
Distribution: Arch current, SuSe 10.1 32-bit, FreeBSD current, OpenBSD 4.0
Posts: 453

Rep: Reputation: 30
hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 3508 MB in 2.00 seconds = 1753.39 MB/sec
Timing buffered disk reads: 170 MB in 3.00 seconds = 56.66 MB/sec

This is not really informative test
 
Old 10-27-2005, 07:56 PM   #8
Ryanlee
LQ Newbie
 
Registered: Oct 2005
Location: China
Distribution: SuSE 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
.......................

oops...........

did you do some settings after you install suse?
 
Old 10-28-2005, 07:53 AM   #9
Ryanlee
LQ Newbie
 
Registered: Oct 2005
Location: China
Distribution: SuSE 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
RLee:/home/lee # hdparm -d1 /dev/sda

/dev/sda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
HDIO_GET_DMA failed: Inappropriate ioctl for device


hmmmm.......somebody help me pls.........
 
Old 10-28-2005, 07:59 AM   #10
broch
Member
 
Registered: Feb 2005
Distribution: Arch current, SuSe 10.1 32-bit, FreeBSD current, OpenBSD 4.0
Posts: 453

Rep: Reputation: 30
I have not changed anything specific.
I have Seagate 120MB (Hitachi worked as well until disk died) SATA connected to nvidia SATA controler (there are some problems with SIl because of design), XFS file system and option noatime set in fstab. Disk is divided into /, /boot, /home, and swap (obviously). There is a problem with your hardware I am afraid. Though it is possible that something happened with your SuSE installation. I have seen worse (and better results) than mine, but yours is "unhealthy". I would try some disk diagnostics.
 
Old 10-28-2005, 08:01 AM   #11
broch
Member
 
Registered: Feb 2005
Distribution: Arch current, SuSe 10.1 32-bit, FreeBSD current, OpenBSD 4.0
Posts: 453

Rep: Reputation: 30
Quote:
hdparm -d1 /dev/sda

/dev/sda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
HDIO_GET_DMA failed: Inappropriate ioctl for device
This is normal, benign error: SATA is not fully recognized as DMA capable. Forget about this error.
 
Old 10-28-2005, 10:30 AM   #12
Ryanlee
LQ Newbie
 
Registered: Oct 2005
Location: China
Distribution: SuSE 10.0
Posts: 15

Original Poster
Rep: Reputation: 0
my disk is healthy. I am quite sure.
 
Old 10-28-2005, 10:56 AM   #13
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
Hi,

Have you tried playing with the other hdparm parameters to check if you have 32-bit access to the disk etc?

Make sure to check out your harddrives physical capabilities before changing the settings, as tweaking too much can lead to dataloss or worse!

As an example, I increased harddrive performance on my system by adding this to the startup-scripts : /usr/sbin/hdparm -c3 -m16 /dev/hda

-Y1

Last edited by Yalla-One; 10-28-2005 at 10:57 AM.
 
Old 10-28-2005, 10:57 AM   #14
broch
Member
 
Registered: Feb 2005
Distribution: Arch current, SuSe 10.1 32-bit, FreeBSD current, OpenBSD 4.0
Posts: 453

Rep: Reputation: 30
DMA settings do not apply to SATA.
 
Old 10-28-2005, 12:10 PM   #15
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
Quote:
Originally posted by Ryanlee
my disk is healthy. I am quite sure.
Your disk is just fine. It depends on disk itself. I have ATA and S-ATA:

Code:
slackware:/home/slackerlx# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   1796 MB in  2.00 seconds = 896.34 MB/sec
 Timing buffered disk reads:  158 MB in  3.02 seconds =  52.24 MB/sec
slackware:/home/slackerlx# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   1896 MB in  2.00 seconds = 948.14 MB/sec
 Timing buffered disk reads:  166 MB in  3.01 seconds =  55.18 MB/sec
slackware:/home/slackerlx#
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard disk partition copy elmu Linux - Hardware 1 11-10-2005 08:31 AM
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 11:46 AM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 11:25 AM
Copy files to Windows partition DavidW567 Linux - Software 5 11-16-2004 06:11 PM
Cant copy files to a fat partition i mount as RW? FocusedWolf Linux - Hardware 6 03-18-2004 04:43 PM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration