HD performance dropping while copying
I have a BX-133 RAID mother board containing the Highpoint's HTP370 ATA-100 RAID controller. There is 256Mb RAM and the processor works at 700MHz.
From scratch I installed SuSE 8.0 on the system where 1 MAXTOR drive is connected to ide3 (/dev/hde), 1 MAXTOR to ide4 (/dev/hdg) and 1 IBM to ide4 (/dev/hdh). All are ATA/100 discs. All have at least a few Gb free space on each of them.
File copy performance to and from the IBM at /dev/hdh is awfully slow: it starts with a few Megabytes per second and quickly drops to something less than 1 Mb/s. Unusable if you want to copy a video production directory of 35 Gb. If I look at the processes with "top" then the CPU-usage of kdeinit (or cp, depending how you start the file copy) rises to more then 80%. The data transfer between /dev/hde and /dev/hdg is better, but here too I witness a drop in performance: starting with 15Mb/s and gradually settling to some 5 Mb/s. Haven't checked CPU-usage here. I have the impression that performance is especially worse when dealing with large files ( > 1 Gb). When doing the file copy (by the way: it is all between FAT32 partitions) with Windows98 things go much quicker and an average of 5Mb/s is reached when copying to or from the IBM. But still 5Mb/s is not impressive, is it? Having used "hdparm -v" I know that even the slowest of the HD's can attain 27Mb/s sustained transfer rate. Has anyone experienced this too? Ed Vaessen Disclaimer ************************************************************************ Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te informeren. Wij adviseren u om bij twijfel over de juistheid of de volledigheid van de mail contact met afzender op te nemen. ************************************************************************
Hoi !
I have a BX-133 RAID mother board containing the Highpoint's HTP370 ATA-100 RAID controller.
<->
If I look at the processes with "top" then the CPU-usage of kdeinit (or cp, depending how you start the file copy) rises to more then 80%. The data transfer between /dev/hde and /dev/hdg is better, but here too I witness a drop in performance: starting with 15Mb/s and gradually settling to some 5 Mb/s. Haven't checked CPU-usage here.
I have the impression that performance is especially worse when dealing with large files ( > 1 Gb).
There might be some problem with the HD-access mode . Possibly they are set to PIO-mode instead of DMA or U-DMA . In PIO-mode the cpu needs to do all the work , with DMA the device can write directly to memory without bothering the cpu . Check with hdparm -v /dev/hda . Possible output would be : /dev/hda: multcount = 16 (on) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 7476/255/63, sectors = 120103200, start = 0 This is an IBM 62 GB IDE drive . Performance for comparision is : /dev/hda: Timing buffered disk reads: 64 MB in 3.37 seconds = 18.99 MB/sec (Connected at DMA-66 interface) same type of drive at DMA-100 /dev/hde: Timing buffered disk reads: 64 MB in 1.69 seconds = 37.87 MB/sec cu Carsten -- Antworten und Fragen bitte als PM an carsten-becher@cbecher.de GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net
Hi Ed, On Tuesday, 13. August 2002 10:49 Vaessen, E.M.J. (Ed) wrote: first of all, I'd suggest you subscribe to suse-linux-e@suse.com as that list is in English while in suse-linux@suse.com generally German language is used. [...]
From scratch I installed SuSE 8.0 on the system where 1 MAXTOR drive is connected to ide3 (/dev/hde), 1 MAXTOR to ide4 (/dev/hdg) and 1 IBM to ide4 (/dev/hdh). All are ATA/100 discs. All have at least a few Gb free space on each of them.
File copy performance to and from the IBM at /dev/hdh is awfully slow: it starts with a few Megabytes per second and quickly drops to something less than 1 Mb/s. Unusable if you want to copy a video production directory of 35 Gb.
If you copy from /dev/hdh to /dev/hdg this low performance should result in both harddisks being attached to the same controller. As IDE-controllers can handle only one disk at a time, the transfer rate is much lower than copying from one disk to another disk which is attached to another controller.
If I look at the processes with "top" then the CPU-usage of kdeinit (or cp, depending how you start the file copy) rises to more then 80%. The data transfer between /dev/hde and /dev/hdg is better, but here too I witness a drop in performance: starting with 15Mb/s and gradually settling to some 5 Mb/s. Haven't checked CPU-usage here.
Looks like you haven't enabled DMA (Direct Memory Access) for your Harddisk. What output do you get when running hdparm -d /dev/hdX (using e, g and h instead of X) as root? [...] bye Philipp -- registered Linux user number 258854 HOW-TO? -> GOTO http://counter.li.org/
participants (3)
-
Carsten Becher
-
Philipp Zacharias
-
Vaessen, E.M.J. (Ed)