Performance Einbruch ...

Stefan Ulrich Hegner stefan at hegner-online.de
Mon Oct 13 17:16:37 CEST 2003


Hi Töns, JBG, *

Toens Bueker wrote:
 >>Wo kann ich bei so einer "schwammigen" Erstdiagnose weitersuchen, um
 >>herauszufinden, was genau beim LW-Zugriff hakt ... oder ob das Problem
 >>noch ganz woanders herkommt?
 >
 > In dem Du z. B. postest, was Du für einen Kernel auf der

2.4.20-gentoo-r7

 > Büxe laufen hast - und ob verdächtige Nachrichten in den
 > Logfiles (z. B. syslog) stehen.

Hmmmm. Wie wärs z.B. mit:

Oct 13 16:00:45 [modprobe] modprobe: Can't locate module char-major-226

zu den Laufwerken:
Oct 13 16:01:33 [kernel] hdc: ATAPI 32X DVD-ROM drive, 256kB Cache,
	UDMA(33)
Oct 13 16:01:33 [kernel] Attached scsi CD-ROM sr0 at scsi0, channel 1, id
	4, lun 0
Oct 13 16:01:33 [kernel] sr0: scsi3-mmc drive: 16x/16x writer cd/rw
	xa/form2 cdda tray
Oct 13 16:01:33 [kernel] sr1: scsi-1 drive

Die folgenden Fehler müssen irgendwas mit devfs zu tun haben. Ich verstehe 
nicht, wieso er mit den SCSI CDs nur glücklich ist, wenn eine Disk drin 
ist. In der fstab steht da jew. ein "noauto"

Oct 13 16:07:57 [kernel] sr1: Failed to sense mmc-3 profile
Oct 13 16:08:07 [kernel] sr1: CDROM (ioctl) reports ILLEGAL REQUEST.
Oct 13 16:08:09 [kernel] Device not ready.  Make sure there is a disc in
	the drive.
Oct 13 16:08:19 [kernel] sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Die letzte Zeile wiederholt sich immer mal wieder (weil eben keine CD drin 
ist).

Jan-Benedict Glaw wrote:
> - top
fand ich unaufällig. Sprach ja davon, daß die Prozessorlast nicht das 
Problem zu sein scheint.

<<<<<<<<<<<<<<<<<< Schnipp >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><

top - 16:38:36 up 39 min,  2 users,  load average: 1.91, 2.07, 1.66
Tasks: 131 total,   2 running, 128 sleeping,   0 stopped,   1 zombie
  Cpu0 :  36.0% user,  13.0% system,   9.7% nice,  41.3% idle
  Cpu1 :  39.5% user,  12.1% system,   8.0% nice,  40.4% idle
Mem:    643832k total,   629168k used,    14664k free,    25080k buffers
Swap:  1004020k total,        0k used,  1004020k free,   423112k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  Command
17830 root      25   0 11252  10m 2760 R 99.6  1.7   0:02.64 cc1
                                          ^^^^^
Hier kompiliert er grad Gimp. Aber die Langsamkeit ist davon unabhängig.

27204 hegi      16   0  1024 1024  788 S  4.1  0.2   0:32.39 top
17527 root      16   0  1028 1028  788 R  3.5  0.2   0:00.28 top
     1 root      15   0   504  504  444 S  0.0  0.1   0:04.21 init
     2 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration_CPU0
     3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration_CPU1
     4 root      15   0     0    0    0 S  0.0  0.0   0:00.02 keventd
     5 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd_CPU0
     6 root      34  19     0    0    0 S  0.0  0.0   0:00.01 ksoftirqd_CPU1
     7 root      15   0     0    0    0 S  0.0  0.0   0:00.05 kswapd
     8 root      15   0     0    0    0 S  0.0  0.0   0:00.29 kscand
     9 root      25   0     0    0    0 S  0.0  0.0   0:00.00 bdflush
    10 root      15   0     0    0    0 S  0.0  0.0   0:00.15 kupdated
    11 root      25   0     0    0    0 S  0.0  0.0   0:00.00 scsi_eh_0
    12 root      15   0     0    0    0 S  0.0  0.0   0:00.09 kjournald
   156 root      15   0   908  908  612 S  0.0  0.1   0:00.18 devfsd

<<<<<<<<<<<<<<<<<< Schnapp >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><

> - ps axfl

siehe Anhang

> - vmstat 1

<<<<<<<<<<<<<<<<<< Schnipp >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><
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  14684  25208 415632    0    0   116    40   66   357 47 13 
40  0
  3  0      0  22568  25208 415652    0    0     0     0  106   520 81 18 
  0  0
  2  0      0  22584  25208 415652    0    0     0     0  105   606 73 27 
  0  0
  2  0      0  21132  25208 415688    0    0     0     0  105   362 74 26 
  0  0
  2  0      0  17080  25208 415688    0    0     0   128  108   194 83 17 
  0  0
  2  0      0  15332  25208 415688    0    0     0     0  105   241 91  9 
  0  0
  2  0      0  22528  25208 415700    0    0     0     0  105   631 76 24 
  0  0
  2  0      0  21588  25208 415700    0    0     0     0  105   586 70 30 
  0  0
  2  0      0  20016  25208 415728    0    0     0     0  105   247 81 19 
  0  0
  2  0      0  16664  25212 415728    0    0     4     0  106   271 79 21 
  0  0
  2  0      0  22484  25212 415740    0    0     0     0  105   245 95  5 
  0  0
  2  0      0  22468  25212 415740    0    0     0     0  105   593 72 28 
  0  0
  2  0      0  21644  25212 415760    0    0     0     0  105   610 70 30 
  0  0
  2  0      0  19180  25212 415768    0    0     0     0  105   224 80 20 
  0  0
  2  0      0  16220  25212 415768    0    0     0   128  109   199 82 18 
  0  0
  2  0      0  22424  25212 415776    0    0     0     0  105   431 91  9 
  0  0
  2  0      0  22424  25212 415776    0    0     0     0  105   656 74 26 
  0  0
  2  0      0  22400  25212 415800    0    0     0     0  105   419 73 27 
  0  0
  2  0      0  18292  25212 415800    0    0     0     0  105   272 83 17 
  0  0
  2  0      0  15836  25212 415800    0    0     0     0  105   202 94  6 
  0  0
  3  0      0  22388  25212 415812    0    0     0     0  105   462 86 14 
  0  0

<<<<<<<<<<<<<<<<<< Schnapp >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><

... für mich machen da die Meldungen mit den SCSI CDs am ehesten Sinn ... 
Nur hat das ja nun überhaupt nix damit zu tun, daß ich IDE Geräte 
angeklemmt habe. In der devfsd.conf habe ich auch nur das IDE DVD LW. 
definiert. Die SCSI Geräte spreche ich über /dev/cdroms/cdrom? an.

Das Setup am Raid Controller sollte auch nicht das Problem sein:

Kanal	ID	Gerät	
A	0	Platte Solo
A	1	Platte Raid5
A	2	Platte Raid5
A	4	Brenner (narrow adapter)
A	7	HostA

B	0	Platte Raid5
B	1	Platte HotSpare
B	2	CD-Rom (narrow adapter)
B	3	DDS3 DAT (narrow adapter)
B	7	HostB

Verkabelung ist sauber, terminiert, kein Y ... usw.

Langsam regt mich der ganze Mist mächtig auf ... Fummel da schon seit 
Freitag dran rum ...

Wenn da noch wer eine gute Idee zum suchen hat, bin ich für alle 
Schweinerein offen ...

Vielen Dank

Stefan.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps.txt.gz
Type: application/x-gunzip
Size: 3927 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20031013/311223b2/attachment.bin>


More information about the Linux mailing list