You are not logged in.

#1 2008-10-12 12:32:52

pwntigo
Member
Registered: 2006-09-25
Posts: 15

Very bad hdd performance

I have no idea whats the problem but in linux the hdd is really slow...

when i type something in firefox3's adress bar it takes up to 1 minute until it let's me display something, pacman is even worse sometimes searching sometimes takes up to 2 minutes and i hear the hdd working pretty hard like it's gonna die any second (and it's only 1 year old hdd)

coping files is also very slow

few tests show normal but everything that hdd related making it work very hard and i hear it very loud and just can't do anything else while the "job" is being done.


 hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2604 MB in  2.00 seconds = 1302.06 MB/sec
 Timing buffered disk reads:  192 MB in  3.01 seconds =  63.74 MB/sec

this shows normal (i think?) but except this little test everything else is quite slow.


/dev/sda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
 HDIO_GET_DMA failed: Inappropriate ioctl for device
hdparm -i /dev/sda

/dev/sda:

 Model=Maxtor 6V200E0                          , FwRev=VA111680, SerialNo=V400B9QG
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=398294975
 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=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0:  ATA/ATAPI-1,2,3,4,5,6,7

 * signifies the current active mode
dmesg |grep DMA
  DMA             0 ->     4096
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
ata1: PATA max UDMA/100 cmd 0x8000 ctl 0x8400 bmdma 0x9000 irq 16
ata2: PATA max UDMA/100 cmd 0x8800 ctl 0x8c00 bmdma 0x9008 irq 16
ata1.00: ATAPI: HL-DT-ST DVDRAM GSA-H10L, LL10, max UDMA/33
ata1.00: configured for UDMA/33
ata3: SATA max UDMA/133 abar m8192@0xf9000000 port 0xf9000100 irq 19
ata4: SATA max UDMA/133 abar m8192@0xf9000000 port 0xf9000180 irq 19
ata5: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14
ata6: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15
ata5.00: ATA-7: Maxtor 6V200E0, VA111680, max UDMA/133
ata5.00: configured for UDMA/133
ata7: SATA max UDMA/133 cmd 0xd800 ctl 0xdc00 bmdma 0xe800 irq 19
ata8: SATA max UDMA/133 cmd 0xe000 ctl 0xe400 bmdma 0xe808 irq 19

Offline

#2 2008-10-12 13:13:56

robertp
Member
From: Warszawa, Poland
Registered: 2007-09-11
Posts: 123

Re: Very bad hdd performance

The common problem with hdd speed is disabled DMA but from your hdparm output I see it is enabled.

You may try running:

smartctl -a /dev/sda

and analyze its output.

Do you use dual-boot with Windows and have similar problem on Windows?

Offline

#3 2008-10-12 13:19:58

pwntigo
Member
Registered: 2006-09-25
Posts: 15

Re: Very bad hdd performance

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax 10 family (SATA/300)
Device Model:     Maxtor 6V200E0
Serial Number:    V400B9QG
Firmware Version: VA111680
User Capacity:    203,927,027,200 bytes
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
Local Time is:    Sun Oct 12 15:19:06 2008 PDT
SMART support is: Available - device has SMART capability.
SMART support is: Disabled

SMART Disabled. Use option -s with argument 'on' to enable it.

whats smart support?

and yes i have windows and i don't have problems with it.

Last edited by pwntigo (2008-10-12 13:20:16)

Offline

#4 2008-10-12 14:34:28

robertp
Member
From: Warszawa, Poland
Registered: 2007-09-11
Posts: 123

Re: Very bad hdd performance

SMART gathers information on how your disk is performing (e.g. various error rates and counts). And you should enable it unless you have any reason not to do so. As I remember it can be done in BIOS.

But since you don't have these problems on Windows you can surely exclude hardware failure.

Last edited by robertp (2008-10-12 14:35:06)

Offline

Board footer

Powered by FluxBB