Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Slow Hard Disk performance and High Cpu Usage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
oober
n00b
n00b


Joined: 28 Apr 2005
Posts: 39
Location: South Africa, Bloemfontein

PostPosted: Sun Aug 14, 2005 9:22 pm    Post subject: Slow Hard Disk performance and High Cpu Usage Reply with quote

I have a IDE and SATA drive installed and I'm not getting the proper performance out of these drives.

The performance tests I ran all show normal performance but when I copy a large file(350MB) from one disk to the other I only get about 35MB/s
and the CPU usage jumps up to about 80-90%.

Here is some info.

hdparm -tT /dev/hda

/dev/hda:
Timing cached reads: 3860 MB in 2.00 seconds = 1929.33 MB/sec
Timing buffered disk reads: 166 MB in 3.04 seconds = 54.69 MB/sec

hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 3812 MB in 2.00 seconds = 1905.34 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Timing buffered disk reads: 186 MB in 3.00 seconds = 61.99 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device

hdparm /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 120034123776, start = 0

hdparm /dev/sda

/dev/sda:
IO_support = 0 (default 16-bit)
readonly = 0 (off)
readahead = 256 (on)
geometry = 24321/255/63, sectors = 200049647616, start = 0
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Mon Aug 15, 2005 1:33 pm    Post subject: Reply with quote

I would at least enable 32-bit I/O on the IDE drive, and on the SCSI drive if it has that capability.
Also try copying a large file again when running dstat or vmstat - that will give you exact measurements on I/O.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum