Entra

View Full Version : test con hdparm e velocità pietose


Fabio Erculiani
08-08-2003, 12:39
Ciao, rieccomi di nuovo....
a voi sembra possibile che con il kernel 2.4.22rc1 (ma anche con tutti gli altri), sul mio server abbia risultati del genere??

[root@mars root]# hdparm -t /dev/hdc

/dev/hdc:
Timing buffered disk reads: 46 MB in 3.02 seconds = 15.23 MB/sec


Su un MAXTOR da 80Gb ATA133 sia con ext3 che con reiser ottengo prestazioni così deludenti...
Il kernel è compilato con il supporto al DMA attivato ed il chipset viene riconosciuto correttamente da Linux, il via 8233a con supporto fino a ata133 (spero di aver scritto il modello giusto)...

<6>Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<6>VP_IDE: IDE controller at PCI slot 00:11.1
<4>PCI: No IRQ known for interrupt pin A of device 00:11.1 - using IRQ 255
<6>VP_IDE: chipset revision 6
<6>VP_IDE: not 100% native mode: will probe irqs later
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<6>VP_IDE: VIA vt8233a (rev 00) IDE UDMA133 controller on pci00:11.1
<6> ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
<6> ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
<4>hda: WDC WD200EB-00CSF0, ATA DISK drive
<4>blk: queueago 8 11:30:50 mars syslog: Avvio syslogd succeeded

Sir Wallace
08-08-2003, 13:40
Leggi il man di hdparm e vedi se sono effettivamente attivi tutti i parametri giusti... così a memoria dovrebbe essere
hdparm senza opzioni
poi, per i dettagli
hdparm -Ii

puoi anche settare il dma ed il mode (ATA5 o 6)...

hdparm -d1 -c1 -m16 -u1

!!controlla sul man!!

;)

Ciaus

Fabio Erculiani
08-08-2003, 17:53
/dev/hdc:

Model=Maxtor 6Y080L0, FwRev=YAR41BW0, SerialNo=Y2VBR33E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=160086528
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
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):

* signifies the current active mode


ATA device, with non-removable media
Model Number: Maxtor 6Y080L0
Serial Number: Y2VBR33E
Firmware Revision: YAR41BW0
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 4047
heads 16 16
sectors/track 63 255
--
CHS current addressable sectors: 16511760
LBA user addressable sectors: 160086528
device size with M = 1024*1024: 78167 MBytes
device size with M = 1000*1000: 81964 MBytes (81 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* Automatic Acoustic Management feature set
SET MAX security extension
Advanced Power Management feature set
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- below Vih
Device num = 0 determined by the jumper
Checksum: correct


Secondo me c'è qualcosa che non va...

Le prestazioni sono sempre deludenti...

Hrc211v
08-08-2003, 17:55
Prova a copia incollare cosa dice hdparm /dev/hdc

Fabio Erculiani
08-08-2003, 18:32
[root@mars root]# hdparm /dev/hdc

/dev/hdc:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 158816/16/63, sectors = 160086528, start = 0

Fabio Erculiani
10-08-2003, 18:08
Risolto...
era il setpci configurato x abilitare l'idle sul kt266a che oltre rallentare l'hd in maniera spropositata (da 55 a 15 mb/sec) mandava nei casini la sk di rete che aveva tanti rx errors da far paura.