On Monday 04 April 2005 16:55, Jose Gonzalez Gomez wrote:
> Hi there,
>
> I've been experiencing performance problems in my laptop (Acer Aspire
> 1522WLMi). I have the feeling that the problem is related to hard
> drive performance, as whenever I do some I/O intensive task (mainly
> tested compiling Java code) my system performance goes down, and
> switching to any other application takes a lot (hard drive performance
> problem while doing swapping?). I hasn't been able to solve it,
> although I've read doco and tried tweaking the hd peformance with
> hdparm.
>
> Here is the info for my system, notice the unknown devices in lspci
> output (any missing driver in kernel?) and the "BuffType=unknown,
> BuffSize=0kB" in hdparm output (is my hard drive using its 8Mb
> internal buffer???):
>
> Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.2,
> glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
> System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
>
> packet root # lspci
> 0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0204
> 0000:00:00.1 Host bridge: VIA Technologies, Inc.: Unknown device 1204
> 0000:00:00.2 Host bridge: VIA Technologies, Inc.: Unknown device 2204
> 0000:00:00.3 Host bridge: VIA Technologies, Inc. K8M800
> 0000:00:00.4 Host bridge: VIA Technologies, Inc.: Unknown device 4204
> 0000:00:00.7 Host bridge: VIA Technologies, Inc. K8M800
> 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800
> South] 0000:00:0a.0 Ethernet controller: Linksys, A Division of Cisco
> Systems [AirConn] INPROCOMM IPN 2220 Wireless LAN Adapter (rev 01)
> 0000:00:0b.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
> 0000:00:0b.1 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
> 0000:00:0b.2 FireWire (IEEE 1394): Texas Instruments PCI7x20
> 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
> 0000:00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8169 Gigabit Ethernet (rev 10)
> 0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
> 1.1 Controller (rev 80)
> 0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
> 1.1 Controller (rev 80)
> 0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
> 1.1 Controller (rev 80)
> 0000:00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
> 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
> 0000:00:11.1 IDE interface: VIA Technologies, Inc.
> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
> 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
> VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
> 0000:00:11.6 Communication controller: VIA Technologies, Inc. AC'97
> Modem Controller (rev 80)
> 0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] HyperTransport Technology Configuration
> 0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] Address Map
> 0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] DRAM Controller
> 0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
> [Athlon64/Opteron] Miscellaneous Control
> 0000:01:00.0 VGA compatible controller: nVidia Corporation NV36
> [GeForce FX Go5700] (rev a1)
>
> packet root # grep VIA /usr/src/linux/.config
> CONFIG_BLK_DEV_VIA82CXXX=y
> CONFIG_SCSI_SATA_VIA=m
> CONFIG_VIA_RHINE=m
> # CONFIG_VIA_RHINE_MMIO is not set
> # CONFIG_VIA_VELOCITY is not set
> # CONFIG_I2C_VIA is not set
> CONFIG_I2C_VIAPRO=m
> CONFIG_SENSORS_VIA686A=m
>
> packet root # hdparm -vid /dev/hda
>
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  1 (32-bit)
>  unmaskirq    =  1 (on)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 65535/16/63, sectors = 80026361856, start = 0
>
>  Model=TOSHIBA MK8025GAS, FwRev=KA023A, SerialNo=74631490S
>  Config={ Fixed }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=48
>  BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
>  IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
>  PIO modes:  pio0 pio1 pio2 pio3 pio4
>  DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 mdma2
>  UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
>  AdvancedPM=yes: unknown setting WriteCache=enabled
>  Drive conforms to: device does not report version:
>
>  * signifies the current active mode
>
> packet root # hdparm -tT /dev/hda
>
> /dev/hda:
>  Timing cached reads:   2216 MB in  2.00 seconds = 1107.06 MB/sec
>  Timing buffered disk reads:   76 MB in  3.03 seconds =  25.06 MB/sec
>
>
> Any suggestions?
>
> Thanks in advance, best regards
> Jose
> --
> gentoo-user@gentoo.org mailing list

I think your hd is not slow from your hdparm -tT result.
And hdparm often says "unknown" type of cache, it doesn't matter.

-- 
Regards,
    Jan

Computer Science & Engineering Department,
College of Computer Science, Zhejiang University,
Hangzhou, China

Attachment: pgpo3otC5dWSj.pgp
Description: PGP signature

Reply via email to