Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Hard disk performance
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
lroy1978
Apprentice
Apprentice


Joined: 28 Jan 2006
Posts: 189
Location: Lille, France

PostPosted: Tue Feb 14, 2006 6:28 pm    Post subject: Hard disk performance Reply with quote

Hi All,
My hard disk performance seems less than perfect. I have tried the following commands:

tux lee # hdparm /dev/hda

/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 24792/255/63, sectors = 203928109056, start = 0
tux lee # hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads: 1756 MB in 2.00 seconds = 877.95 MB/sec
Timing buffered disk reads: 2 MB in 3.75 seconds = 546.39 kB/sec
tux lee # hdparm -c 1 -d 1 /dev/hda

/dev/hda:
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
IO_support = 1 (32-bit)
using_dma = 0 (off)
tux lee # hdparm -Tt /dev/hda

/dev/hda:
Timing cached reads: 1752 MB in 2.00 seconds = 875.95 MB/sec
Timing buffered disk reads: 4 MB in 3.97 seconds = 1.01 MB/sec

Is this normal?
Thanks,
Lee
Back to top
View user's profile Send private message
tost
Guru
Guru


Joined: 10 Dec 2005
Posts: 506

PostPosted: Tue Feb 14, 2006 6:48 pm    Post subject: Reply with quote

You must have activate the right dma settings in the kernel.
(if you don´t know where you can find it look in the wiki or ask again pls)

then you can use hdparm for enabling some nice tweakings like dma and stuff
http://www.linuxdevcenter.com/pub/a/linux/2000/06/29/hdparm.html
http://www.gentoo-wiki.com/HOWTO_Use_hdparm_to_improve_IDE_device_performance

edit:
Your error comes up quite often ;-)
HDIO_SET_DMA failed

tost
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Wed Feb 15, 2006 12:38 am    Post subject: Re: Hard disk performance Reply with quote

lroy1978 wrote:
/dev/hda:
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
IO_support = 1 (32-bit)
using_dma = 0 (off)

hdparm doesn't fix lack of dma support in your kernel. You need to build the correct IDE chipset driver into your kernel.
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