[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Promise ATA-100 controller - lots of hdparm results...
Alex Hudson wrote:
>
> A couple of other things you might want to do. Firstly, drop us the output
> of hdparm. Esp. interested in io support, unmasqirq, using_dma, but it's
> easiest just to chop & slap the whole output. Anything juicy in /proc in the
> ide section might be handy. Running a hdparm -Tt would also be quite fun,
> and if you're feeling nasty you could get a copy of bonnie from somewhere &
> run that. Chances are you'll get a lot more interrupt losts, but it might
> cause other things to happen too, you never know. Anything in
> /var/log/messages would also be useful, and possibly dmesg...
>
OK - here's the system as it stands:
[root@flux /root]# mount
/dev/hda7 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hda5 on /backup type ext2 (rw,noatime)
/dev/hda1 on /boot type ext2 (rw)
/dev/hdb2 on /usr type ext2 (rw,noatime)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type shm (rw)
[root@flux /root]# hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 91366U4, FwRev=RA530JN0, SerialNo=H40BXP6C
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=26406576
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 udma0 udma1 *udma2 udma3 udma4
[root@flux /root]# hdparm -i /dev/hdb
/dev/hdb:
Model=Maxtor 91021U2, FwRev=FA520S60, SerialNo=G22429QC
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=512kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=20010816
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 udma0 udma1 *udma2 udma3 udma4
[root@flux /root]# cat /proc/ide/pdc202xx
PDC20267 Chipset.
------------------------------- General Status
---------------------------------
Burst Mode : enabled
Host Mode : Normal
Bus Clocking : 66 External
IO pad select : 10 mA
Status Polling Period : 4
Interrupt Check Status Polling Delay : 1
--------------- Primary Channel ---------------- Secondary Channel
-------------
enabled enabled
66 Clocking disabled disabled
Mode PCI Mode PCI
FIFO Empty FIFO Empty
--------------- drive0 --------- drive1 -------- drive0 ----------
drive1 ------
DMA enabled: no no no yes
DMA Mode: NOTSET NOTSET NOTSET
NOTSET
PIO Mode: NOTSET NOTSET NOTSET
NOTSET
[root@flux /root]# hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 1.22 seconds =104.92 MB/sec
Timing buffered disk reads: 64 MB in 5.32 seconds = 12.03 MB/sec
[root@flux /root]# hdparm -Tt /dev/hdb
/dev/hdb:
Timing buffer-cache reads: 128 MB in 1.23 seconds =104.07 MB/sec
Timing buffered disk reads: 64 MB in 4.98 seconds = 12.85 MB/sec
Both drives are set as follows:
[root@flux /root]# hdparm -u1 -d1X66 -c3 -k1 /dev/hdb
/dev/hdb:
setting 32-bit I/O support flag to 3
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
setting keep_settings to 1 (on)
setting xfermode to 66 (UltraDMA mode2)
I/O support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
I'm just about to power down and swap a few cables about....
Baz.
--
Barrie J. Bremner
Email: TheEnglishman [at] ecosse.net
(PGP public key available at pgp.mit.edu)
URL: http://www.geocities.com/thefatenglishman
Telephone: UK 01672 811246
Mobile: 07968 792975
"Linux? Is that some kind of MacOS?"
-- British Telecom technical support
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.