Hohe CPULast bei Festplattenzugriffen etc.

Thomas Findeisen npl at npl.de
Tue Jan 18 18:54:08 CET 2005


> Diese exakten Angaben helfen sehr dabei, die Namen der Gerätschaften mal
> in Google einzuwerfen, um z.B. nach bekannten Unverträglichkeiten zu
> suchen...

Sorry. Folgendermaßen:

cat /proc/interrupts

            CPU0
   0:    4805876          XT-PIC  timer
   1:       3471          XT-PIC  i8042
   2:          0          XT-PIC  cascade
   7:       8531          XT-PIC  cbm
   8:    2706455          XT-PIC  rtc
  10:     660438          XT-PIC  bttv0, aic7xxx, NVidia nForce2, eth1
  11:      23300          XT-PIC  aic7xxx, ohci1394, ohci_hcd, eth0, HiSax
  12:     129778          XT-PIC  i8042
  14:      10799          XT-PIC  ide0
  15:        121          XT-PIC  ide1
NMI:          0
LOC:    4806108
ERR:        176
MIS:          0

---

cat /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
   Vendor: IBM      Model: DCAS-32160W   !# Rev: S69D
   Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
   Vendor: IBM      Model: DDRS-39130D      Rev: DC1B
   Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 08 Lun: 00
   Vendor: QUANTUM  Model: XP32275W         Rev: LXY4
   Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 04 Lun: 00
   Vendor: YAMAHA   Model: CRW2100S         Rev: 1.0N
   Type:   CD-ROM                           ANSI SCSI revision: 02
...

---

cat /proc/ide/amd74xx

----------AMD BusMastering IDE Configuration----------------
Driver Version:                     2.13
South Bridge:                       0000:00:09.0
Revision:                           IDE 0xa2
Highest DMA rate:                   UDMA133
BM-DMA base:                        0xf000
PCI clock:                          33.3MHz
-----------------------Primary IDE-------Secondary IDE------
Prefetch Buffer:              yes                 yes
Post Write Buffer:            yes                 yes
Enabled:                      yes                 yes
Simplex only:                  no                  no
Cable Type:                   80w                 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode:       UDMA      UDMA      UDMA       DMA
Address Setup:       30ns      30ns      30ns      90ns
Cmd Active:          90ns      90ns      90ns      90ns
Cmd Recovery:        30ns      30ns      30ns      30ns
Data Active:         90ns      90ns      90ns     330ns
Data Recovery:       30ns      30ns      30ns     270ns
Cycle Time:          15ns      20ns      60ns     600ns
Transfer Rate:  133.3MB/s  99.9MB/s  33.3MB/s   3.3MB/s

> Ah, ja, das sind sehr vergleichbare Werte; vor allem, wenn man mangels
> Namen der Geräte nicht die Specs dazu suchen kann...

> Wie viele Interrupts pro Sekunde bei welcher geleisteter I/O-Last bei
> welcher Blockgröße über dem normalen "Rauschen" entspricht das genau?
> Meine Wunderkugel sagt, daß das irgendwo zwischen null und 20000 liegen
> müßte...

Die Anzahl der Interrupts nimmt kaum zu bei Vollast. Ca. 120/Sek
auf IRQ 10, 140 bei Last. Load geht sehr schnell auf 3 hoch.

IDE:

cat /proc/ide/hda/model
   Maxtor 6Y120L0
cat /proc/ide/hdb/model
   SAMSUNG SV1604N
cat /proc/ide/hdc/model
   HL-DT-ST DVDRAM GSA-4120B

---
vmstat:

Ohne Zugriffe:

procs -----------memory---------- ---swap-- -----io---- --system-- 
----cpu----
  r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us 
sy id wa
  2  0      0 378656   5168 455872    0    0   396   181 1665  1848  7 
1 89  3
viscid at lfs:~$>vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- 
----cpu----
  r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us 
sy id wa
  4  0      0 378572   5188 456124    0    0   395   181 1664  1848  7 
1 89  3
...

Mit Last:

procs -----------memory---------- ---swap-- -----io---- --system-- 
----cpu----
  r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us 
sy id wa
  5  4      0   3988   5440 757724    0    0   384   180 1666  1848  7 
1 89  3
viscid at lfs:~$>vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- 
----cpu----
  r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us 
sy id wa
  5  5      0   3988   5440 764048    0    0   385   180 1666  1848  7 
1 89  3
viscid at lfs:~$>vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- 
----cpu----
  r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us 
sy id wa
  4  5      0   3988   5440 764048    0    0   385   180 1666  1848  7 
1 89  3
...

MfG Thomas
-- 
If your VCR is still blinking 12:00, you don't want Linux
[Bruce  Perens, Debian's Fearless Leader]





More information about the Linux mailing list