harddisk wird totall langsam ca. 600 k/s

happy

Well-Known Member
ich machs kurz.
Es handelt sich um ein Ftp server der auf FBSD 5.2.1 läuft.
Im laufe von 2 tagen bei einer druchschnits last von 3 MB/s werden die platten ganz langsam. Die werden sozusagen immer etwas langsamer. Nach 2 tagen konnte ich file von einer platte auf die andere (local hd1 auf hd2) mit satten 600 k/s kopiern. Das es an den platten liegt schliesse aich aus den die sind 100 % ok , der kontroller kann es auch nicht sein den das hatte ich auf 2 verschidenen boards. atacontrol hat auch korrekt UDMA 100 angezeigt.
Ich habe den standart generc kernel dort drauf. Das ist schon der 2 ter rechner wo sowas passiert. meine theorie ist dass irgend ein buffer nicht frei gemacht wird.
Was ist zutun um den fehler zu lokalisiren und zu beheben?
vmstat ? auf was soll ich achten? "
habe noch angefügt VMstat , das ist beim kopieren von 300 MB , mit ca 1,5 Mb/s da0 > da0 (nach nem reboot ist normal um die 30 MB/s)
Code:
/boot# vmstat -n 8 -w 1
 procs      memory      page                    disks                             faults      cpu
 r b w     avm    fre  flt  re  pi  po  fr  sr ad0 ad4 ad5 ad6 ad7 ar0 da0 pa0   in   sy  cs us sy id
 2 3 0   59868  50100  110   0   0   0 748 337   0   0   0   0   0   0   0   0 4591    0 6028  8 16 76
 0 3 0   59868  44932    5   0   0   0 1665   0   0   0   0   0   0   0 175   0 7123    0 8875 12 34 54
 1 2 0   59868  38308    0   0   0   0 2252   0   0   0   0   0   0   0 216   0 8002    0 9869 15 47 38
 0 2 0   59868  57088    0   0   0   0 2790 6763   0   0   0   0   0   0 263   0 8128    0 9379 12 55 33
 1 2 0   59884  52648    4   0   0   0 2587   0   3   0   0   0   0   0 254   0 7502    0 9345  9 47 44
 1 1 0   59884  45432    0   0   0   0 2606   0   0   0   0   0   0   0 231   0 6787    0 8490 16 43 42
 2 1 0   59884  37652    0   0   0   0 3164   0   0   0   0   0   0   0 293   0 6469    0 8140 13 55 32
 0 2 0   59888  32848    1   0   0   0 1446   0   0   0   0   0   0   0 146   0 6754    0 8593 22 31 47
 0 3 0   59888  53964    0   0   0   0 1961 6764   3   0   0   0   0   0 201   0 6669    0 8418 12 34 54
 0 3 0   59888  51204    0   0   0   0 999   0   0   0   0   0   0   0 167   0 6184    0 8087 12 26 62
 4 2 0   59888  46996    0   0   0   0 1638   0   1   0   0   0   0   0 190   0 6487    0 8245 13 29 58
 1 4 0   62748  40908 4135   0   1   0 5913   0  13   0   0   0   0   0 196   0 6534    0 8521 15 54 31
 1 3 0   59888  34928 8100   0   0   0 9706   0   0   0   0   0   0   0 194   0 7161    0 8930 22 71  8
 1 2 0   59888  56192    0   0   0   0 1868 6759   0   0   0   0   0   0 210   0 6356    0 7910 10 40 50
 0 3 0   59888  49216    0   0   0   0 2256   0   0   0   0   0   0   0 206   0 6648    0 8195 10 46 44
 0 2 0   59888  41744    0   0   0   0 2544   0   0   0   0   0   0   0 243   0 6879    0 8516 12 44 43
 0 2 0   59888  35840    0   0   0   0 2044   0   0   0   0   0   0   0 200   0 7283    0 9145 16 42 43
 4 0 0   59888  56256    0   0   0   0 2340 6788   0   0   0   0   0   0 233   0 7438    0 9129 16 48 36
 1 2 0   59888  51200    0   0   0   0 1720   0   0   0   0   0   0   0 183   0 7280    0 9083 13 35 52


Auch die platten die nicht benutz worden also z.B ganz lere platte hat geine geschwindigkeit , also platen cach schliess auch aus , aber welcher speicher kann das noch sein?


habe nochwas gefunden was aussergewühnlich ist.

Code:
root@jim:/home# ps aux
USER      PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
root        4 50.6  0.0     0   12  ??  DL   11:24PM  91:39.80  (g_down)
root       11 20.4  0.0     0   12  ??  RL   11:24PM 837:29.34  (idle: cpu0)
root      551  5.1  0.0     0   12  ??  DL   11:25PM  45:23.27  (g_bde da0s1d.bde)
root       17  0.0  0.0     0   12  ??  WL   11:24PM   0:00.00  (irq6: fdc0)
root       21  0.0  0.0     0   12  ??  WL   11:24PM  10:28.74  (irq10: skc0)
root       22  0.0  0.0     0   12  ??  WL   11:24PM   0:49.18  (irq11: atapci0)
root       23  0.0  0.0     0   12  ??  WL   11:24PM   1:38.73  (irq12: hpt3740)
root       25  0.0  0.0     0   12  ??  WL   11:24PM   2:19.97  (irq14: ata0)
root       27  0.9  0.0     0   12  ??  WL   11:24PM  15:49.58  (swi1: net)
root       28  0.0  0.0     0   12  ??  WL   11:24PM   0:53.05  (swi8: tty:sio clock)

dieses g_down verursacht ziemlich viel last, was ist das ?
 
Zuletzt bearbeitet:
ahh, und nochmal vmstat von heute , 250 k/s von da0 auf da0


Code:
s
root@jim:/home# vmstat -n 8 -w 1
 procs      memory      page                    disks                             faults      cpu
 r b w     avm    fre  flt  re  pi  po  fr  sr ad0 ad4 ad5 ad6 ad7 ar0 da0 pa0   in   sy  cs us sy id
14 3 0   88392  50880  139   0   0   0 658 318   0   0   0   0   0   0   0   0 2459    0 4601  7 20 73
23 2 0   88464  48968 2072   0   0   0 2347   0   2   0   0   0   0   0 112   0 3081    0 4247 14 86  0
 5 9 0   88464  44464    0   0   0   0  52   0   0   0   0   0   0   0  52   0 3752    0 4771 13 87  0
 5 14 0   89544  41604 5797   0   0   0 5850   0   0   0   0   0   0   0  65   0 2344    0 3433 11 89  0
 4 14 0   90120  39840 7606   0   0   0 7661   0   0   0   0   0   0   0  80   0 2783    0 4578 16 84  0
16 1 0   89588  38620 1089   0   0   0 1611   0   0   0   0   0   0   0 115   0 3524    0 6158  7 64 29
 1 12 0   89588  34044    0   0   0   0 1230   0   0   0   0   0   0   0  55   0 3369    0 3872 13 87  0
10 10 0   89588  59800    0   0   0   0 616 6805   0   0   0   0   0   0  97   0 2533    0 3968  6 64 30
18 2 0   90892  56108   70   0   0   0 1243   0   0   0   0   0   0   0 102   0 4148    0 5788 10 79 10
 0 8 0   89588  52796   66   0   0   0 1098   0   0   0   0   0   0   0  63   0 2679    0 3251 10 83  7
 8 11 0   89588  51404    0   0   0   0 620   0  46   0   0   0   0   0 103   0 2660    0 4072 15 66 18
 4 11 0   89588  49356    0   0   0   0 720   0   0   0   0   0   0   0  90   0 2599    0 3635 11 75 14
 1 10 0   89588  45324    0   0   0   0 1036   0   0   0   0   0   0   0  55   0 3245    0 4268  8 85  8
12 9 0   89588  43708    0   0   0   0 580   0   0   0   0   0   0   0  94   0 2617    0 4097 12 58 29
12 1 0   89588  41724    0   0   0   0 812   0   0   0   0   0   0   0 112   0 3484    0 5701 13 59 28
 9 8 0   89588  36668    0   0   0   0 1424   0   0   0   0   0   0   0  60   0 3552    0 4042  9 91  0
 0 11 0   89588  35708    0   0   0   0 640   0   4   0   0   0   0   0 107   0 2936    0 4974 14 58 28
20 1 0   89588  59704    0   0   0   0 960 6758   0   0   0   0   0   0  98   0 3691    0 5094  8 81 11
 0 9 0   89588  56104    0   0   0   0 1004   0   0   0   0   0   0   0  64   0 3157    0 4304  4 80 16
 9 1 0   89588  55160    0   0   0   0 776   0   0   0   0   0   0   0 113   0 2604    0 4103  6 62 32
 
Von da0 auf da0 solltest du nicht testen, das gibt keine verlaesslichen Werte. Liest du von der GBDE Partition? Liegts vielleicht daran?

Leider hast du nichts ueber die verwandte Hardware geschrieben...
 
na ja , das ist wurst ob ich dan die verschlüsselte Hardware nimm, dann dann geht halt auch nix auf der system platte.

f*BSD 5.2.1
Code:
dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE-p8 #1: Fri Jun 18 15:41:02 CEST 2004
    [email]root@jim.loca[/email]l:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a00000.
Preloaded elf module "/boot/kernel/hpt374.ko" at 0xc0a00244.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 2000+ (2000.09-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 1073721344 (1023 MB)
avail memory = 1033543680 (985 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 11 entries at 0xc00f1f20
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci_cfgintr: 0:9 INTA BIOS irq 10
pci_cfgintr: 0:10 INTA BIOS irq 11
pci_cfgintr: 0:12 INTA BIOS irq 12
pci_cfgintr: 0:12 INTA BIOS irq 12
pci_cfgintr: 0:15 INTA BIOS irq 4
pci_cfgintr: 0:17 INTC BIOS irq 7
agp0: <VIA Generic host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci_cfgintr: 1:0 INTA BIOS irq 11
pci1: <display, VGA> at device 0.0 (no driver attached)
skc0: <3Com 3C940 Gigabit Ethernet> port 0xb800-0xb8ff mem 0xf2800000-0xf2803fff irq 10 at device 9.0 on pci0
skc0: 3Com Gigabit LOM (3C940)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0c:6e:77:8a:df
miibus0: <MII bus> on sk0
e1000phy0: <Marvell 88E1000 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
atapci0: <Promise PDC20271 UDMA133 controller> port 0xa000-0xa00f,0xa400-0xa403,0xa800-0xa807,0xb000-0xb003,0xb400-0xb407 mem 0xf2000000-0xf200ffff irq 11 at device 10.0 on pci0
atapci0: [MPSAFE]
ata2: at 0xb400 on atapci0
ata2: [MPSAFE]
ata3: at 0xa800 on atapci0
ata3: [MPSAFE]
hpt3740: <HPT374 UDMA/ATA133 RAID Controller> port 0x8400-0x84ff,0x8800-0x8803,0x9000-0x9007,0x9400-0x9403,0x9800-0x9807 irq 12 at device 12.0 on pci0
hpt3741: <HPT374 UDMA/ATA133 RAID Controller> port 0x6800-0x68ff,0x7000-0x7003,0x7400-0x7407,0x7800-0x7803,0x8000-0x8007 irq 12 at device 12.1 on pci0
atapci1: <VIA 8237 SATA150 controller> port 0x4800-0x48ff,0x5000-0x500f,0x5400-0x5403,0x5800-0x5807,0x6000-0x6003,0x6400-0x6407 irq 4 at device 15.0 on pci0
atapci1: [MPSAFE]
ata4: at 0x6400 on atapci1
ata4: [MPSAFE]
ata5: at 0x5800 on atapci1
ata5: [MPSAFE]
atapci2: <VIA 8237 UDMA133 controller> port 0x4400-0x440f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci2
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci2
ata1: [MPSAFE]
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
pci0: <multimedia, audio> at device 17.5 (no driver attached)
orm0: <Option ROMs> at iomem 0xd4000-0xdd7ff,0xd0000-0xd3fff,0xcc000-0xcc7ff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
HPT374 UDMA/ATA133 RAID Controller driver Version 1.22
hpt374: RAID5 write-back enabled
Timecounter "TSC" frequency 2000085933 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc6976460
ad0: 58644MB <IC35L060AVVA07-0> [119150/16/63] at ata0-master UDMA100
GEOM: create disk ad4 dp=0xc6976060
ad4: 239372MB <Maxtor 5A250J0> [486344/16/63] at ata2-master UDMA133
GEOM: create disk ad5 dp=0xc6976160
ad5: 239372MB <Maxtor 5A250J0> [486344/16/63] at ata2-slave UDMA133
GEOM: create disk ad6 dp=0xc6977e60
ad6: 239372MB <Maxtor 5A250J0> [486344/16/63] at ata3-master UDMA133
GEOM: create disk ad7 dp=0xc6977a60
ad7: 239372MB <Maxtor 5A250J0> [486344/16/63] at ata3-slave UDMA133
GEOM: create disk ar0 dp=0xc69685e0
ar0: 957489MB <ATA RAID0 array> [56526/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master
 disk2 READY on ad5 at ata2-slave
 disk3 READY on ad7 at ata3-slave
GEOM: create disk da0 dp=0xc6b58c50
da0 at hpt3740 bus 0 target 0 lun 0
da0: <HPT3xx RAID 0 Array 3.00> Fixed Direct Access SCSI-0 device 
da0: 915766MB (1875490560 512 byte sectors: 255H 63S/T 116743C)
Mounting root from ufs:/dev/ad0s1a
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
Also habe verstgestellt das dann diese g_down haufen CPUlast verursacht obwohl nix los ist auf server. Und nochmals. Es ist egal von welcher platte auf welche ich kopiere , der ist dan sau langsam.
habe keine ideen, habe jetzt noch in loder.con ACPi API aus, dazu den kern.maxvnodes auf doppelet gestellt 120000.
ich bild mir ein, dass besser geht , aber das weiss ich erst nach 2 tagen ;)
Der 1 raid wird als SCSI erkannt , vieleicht muss ich da besondere option hinzufügen. HAbe übrigens treiber von hersteller genommen.
 
Du benutzt einen Controller mit HPT (HighPoint)-Chipsatz.
ich hatte (frueher) unter linux mit diesen controllern Probleme, konnte die entweder garnicht ansprechen, total langsam oder hatte sogar panics.
hab den Controller getauscht gegen einen anderen Chipsatz, funktioniert wunderbar.
Vielleicht hilfts...
Marten
 
leider habe ich das auch schon Mit anderen Controler auch gehabt , ist glaube ich ein BUG , denn BSD kann mit RAID lauwerken irgendwie nicht umgehen. Jedesmal das selbe. bei einem kleinem betreib merkt man das nicht, aber wenn 50 MAN auf dateien zugreifen und schreiben und öffnen oder downloaden ist ende, Eigen CVS server kann ich wohl ehh vergesen mit dem bug.
g_down ist wider normal und ich habe wieder scheiss speed ;( , ich glaube muss doch linux drauf machen , BSD kann mit Raids über 250 GB nix anfangen, angefangen schon das meckert bei GEOM.....
 
Guten Morgen,

happy schrieb:
HAbe übrigens treiber von hersteller genommen.
Nimm doch mal den von FreeBSD 5.2.1 bereitgestellten Treiber für den HPT374.

Laut "Hardware-Notes" wird der Adapter unterstützt:
Hardware-Notes schrieb:
HighPoint HPT366 ATA66, HPT370 ATA100, HPT372 ATA133, HPT374 ATA133

Vielleicht geht es damit besser.

Viele Grüße

Jürgen

PS: Wäre SCSI nicht besser geeignet, wenn Du 50 Mann mit Netzwerkdiensten bedienen willst? Nur eine Frage....
 
Habe das problöem localisiert , es ist GBDA , dies ist noch nicht ausgereift und für server mit ner grossen last unbrauchbar .
Habe ausgiebig getestet , also bin mir 100 % sicher!
Suche sowas wie loop-aes , den mi cfs kann ich mich irgandwie nich anfreunden.
 
Zuletzt bearbeitet:
antwort von PHK

Code:
>Hello
> First hardcore problem is:
>After crash on my Freebsd 5.2.1 (p8)system can't correctly mounting the 
>GBDE Filesystem.
>I can't read the contents of disk ;(  have u a idea whats is wrong?
>
>
>root@jim:/home# mount /dev/ad0s1e.bde /mnt root@jim:/home# cd /mnt
>bash: cd: /mnt: Not a directory


remember to run fsck.

>If I have on a 100 Mbit Line make more then 20 connections down or upload
>files go down the Harddisk peerformence to ~2 MB/s . when i testig local
>with simple move files to other Disks and it's a same. 
>Without GBDE 27 MB/s with 20 connections on ftpserver.
>It is a 1,8 MHz P4 with 1 GB RAM on Samsung HArdDrives, I see the gbde make
>much CPU usage

this is normal.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20

Diese antworten waren nich berauschend , vileicht war mein englisch einfach zu schlecht und er konnte mich nicht verstehen ;)

Na ja er bestätigt ja das HD speed problem das ist schon mal klar . :)
 
Zurück
Oben