Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Are my dma settings correct?
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
AveryTorn
n00b
n00b


Joined: 19 Jul 2003
Posts: 10
Location: Manhattan, KS

PostPosted: Thu Jul 24, 2003 12:11 am    Post subject: Are my dma settings correct? Reply with quote

Code:
hdparm -i /dev/hda:

/dev/hda:
 
 Model=MAXTOR 6L040L2, FwRev=A93.0500, SerialNo=662210822009
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=DualPortCache, BuffSize=1819kB, MaxMultSect=16, MultSect=16
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=78177792
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:
 
 * signifies the current active mode


Code:
cat /etc/conf.d/hdparm:

# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/sys-apps/hdparm/files/hdparm-conf.d,v 1.1 2003/03/01 21:17:39 sethbc Exp $
 
# You can either set hdparm arguments for each drive using disc*_args and cdrom*_args..
# eg.
disc0_args="-d1 -A1 -m16 -u1 -a64 -X70"
# disc1_args"-d1"
# cdrom0_args="-d1"
 
# Or, you can set hdparm options for ALL drives using all_args..
# eg.
# this mimics the behavior of the current script
all_args="-d 1"


Code:
cat /proc/dma:

 4: cascade


Code:
hdparm -tT /dev/hda3:

/dev/hda3:
 Timing buffer-cache reads:   1116 MB in  2.00 seconds = 556.61 MB/sec
 Timing buffered disk reads:  122 MB in  3.04 seconds =  40.20 MB/sec


The /proc/dma is what confuses me. The drive is a Maxtor 40GB 7200RPM ATA133. Any thoughts?
Back to top
View user's profile Send private message
cchapman
Guru
Guru


Joined: 16 Jan 2003
Posts: 440
Location: Fremont, NE

PostPosted: Thu Jul 24, 2003 6:40 pm    Post subject: Reply with quote

have you done this.
Code:
rc-update add hdparm default
Back to top
View user's profile Send private message
AveryTorn
n00b
n00b


Joined: 19 Jul 2003
Posts: 10
Location: Manhattan, KS

PostPosted: Thu Jul 24, 2003 7:54 pm    Post subject: Reply with quote

cchapman wrote:
have you done this.
Code:
rc-update add hdparm default


Yep.
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