Hi list, i'm about to install a webapplication on my obsd test system and noticed that copying/deleting lots of small files (50.000 files with 150mb) is very slow, around 50kb/sec. The system does nothing else, cpu-load is 99% idle and 100% idle, but system load is around 3-4 when deleting and 1-2 when copying. When i copy a random-filled 10mb file it takes ~1.5 seconds, nothing spectacular, but a value i can live with.
I see nothing in the logs so my question is, if somebody can give me a pointer to resolve this (or has a explanation for it). Dmesg says that the Symbios Logic 53c1010-33 only runs with 80 instead 160mhz, but this should not be the reason for such a poor performance, or? Any ideas? Greets, Chris load averages: 1.12, 0.87, 0.91 17:17:51 23 processes: 22 idle, 1 on processor CPU0 states: 0.0% user, 0.0% nice, 0.4% system, 0.0% interrupt, 99.6% idle CPU1 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Memory: Real: 8940K/103M act/tot Free: 899M Swap: 0K/2048M used/tot PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 21739 root -5 0 372K 512K sleep/0 biowai 0:02 0.24% cp 19132 root 2 0 3264K 2092K sleep/0 select 0:00 0.00% sshd 1 root 10 0 308K 308K idle wait 0:00 0.00% init 12956 root 10 0 1032K 1652K idle wait 0:00 0.00% bash 4766 root 2 0 3224K 2076K idle select 0:00 0.00% sshd 1729 _syslogd 2 0 328K 552K sleep/0 poll 0:00 0.00% syslogd 24202 root 2 0 556K 1140K idle select 0:00 0.00% sshd 21115 root 2 0 3184K 2124K idle select 0:00 0.00% sshd 16505 root 10 0 828K 1628K idle wait 0:00 0.00% bash 12545 root 3 0 1012K 1620K idle ttyin 0:00 0.00% bash 6096 root 2 0 460K 300K idle poll 0:00 0.00% dhclient 23720 root 28 0 528K 988K onproc/0 - 0:00 0.00% top 5391 root 2 0 564K 676K idle select 0:00 0.00% cron 32242 root 3 0 260K 536K idle ttyin 0:00 0.00% getty 31511 root 3 0 344K 536K idle ttyin 0:00 0.00% getty 11625 root 3 0 424K 540K idle ttyin 0:00 0.00% getty 23398 root 2 0 420K 528K idle select 0:00 0.00% inetd 4161 root 3 0 416K 536K idle ttyin 0:00 0.00% getty 4529 root 2 0 308K 512K idle netio 0:00 0.00% syslogd 7098 _dhcp 2 0 512K 264K idle poll 0:00 0.00% dhclient 11846 root 2 0 444K 548K idle poll 0:00 0.00% ntpd 3980 _ntp 2 0 388K 552K idle poll 0:00 0.00% ntpd 8814 root 3 0 240K 532K idle ttyin 0:00 0.00% getty I'm working on the /var partition bsd:/root# mount /dev/sd0a on / type ffs (local) /dev/sd0f on /tmp type ffs (local, nodev, nosuid) /dev/sd0d on /usr type ffs (local, nodev) /dev/sd0e on /var type ffs (local, nodev) OpenBSD 3.9-stable (GENERIC.MP) #0: Mon May 29 09:05:36 CEST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Xeon(TM) CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID real mem = 1072205824 (1047076K) avail mem = 971599872 (948828K) using 4278 buffers containing 53714944 bytes (52456K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(bc) BIOS, date 03/04/03, BIOS32 rev. 0 @ 0xfd7d2 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd7d0/0x830 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde90/336 (19 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc0000/0xec00 0xcf000/0x4000 0xd3000/0x1800 ipmi0 at mainbus0bmc_io_wait_cold fails : *v=00 m=08 b=08 btswait : unable to send get device id command mainbus0: Intel MP Specification (Version 1.4) ( HP_WOMBAT ) cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 99 MHz cpu1 at mainbus0: apid 6 (application processor) cpu1: Intel(R) Xeon(TM) CPU 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type PCI mainbus0: bus 3 is type PCI mainbus0: bus 4 is type PCI mainbus0: bus 5 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins ioapic1 at mainbus0: apid 3 pa 0xfec80000, version 20, 24 pins pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82860 Host" rev 0x04 ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x04 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "NVIDIA Quadro4 900 XGL" rev 0xa3 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb1 at pci0 dev 2 function 0 "Intel 82860 PCI-PCI" rev 0x04 pci2 at ppb1 bus 2 ppb2 at pci2 dev 31 function 0 "Intel 82806AA" rev 0x03 pci3 at ppb2 bus 3 "Intel 82806AA APIC" rev 0x01 at pci3 dev 0 function 0 not configured siop0 at pci3 dev 5 function 0 "Symbios Logic 53c1010-33" rev 0x01: apic 2 int 22 (irq 11), using 8K of on-board RAM scsibus0 at siop0: 16 targets cd0 at scsibus0 targ 2 lun 0: <HP, DVD-ROM 304, 2.00> SCSI2 5/cdrom removable siop1 at pci3 dev 5 function 1 "Symbios Logic 53c1010-33" rev 0x01: apic 2 int 22 (irq 11), using 8K of on-board RAM scsibus1 at siop1: 16 targets siop2 at pci3 dev 8 function 0 "Symbios Logic 53c1010-66" rev 0x01: apic 2 int 23 (irq 11), using 8K of on-board RAM scsibus2 at siop2: 16 targets sd0 at scsibus2 targ 1 lun 0: <SEAGATE, ST336607LW, HPS5> SCSI3 0/direct fixed sd0: 34732MB, 49855 cyl, 2 head, 713 sec, 512 bytes/sec, 71132960 sec total siop3 at pci3 dev 8 function 1 "Symbios Logic 53c1010-66" rev 0x01: apic 2 int 19 (irq 11), using 8K of on-board RAM scsibus3 at siop3: 16 targets ppb3 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x04 pci4 at ppb3 bus 4 vendor "Philips", unknown product 0x7146 (class multimedia subclass miscellaneous, rev 0x01) at pci4 dev 6 function 0 not configured fxp0 at pci4 dev 13 function 0 "Intel 8255x" rev 0x0c, i82550: apic 2 int 21 (irq 11), address 00:e0:81:00:92:af inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04 pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 0 scsibus4 at atapiscsi0: 2 targets cd1 at scsibus4 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4167B, DL12> SCSI0 5/cdrom removable cd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x04: apic 2 int 19 (irq 11) usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: apic 2 int 17 (irq 11) iic0 at ichiic0 auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x04: apic 2 int 17 (irq 11), ICH2 AC97 ac97: codec id 0x41445360 (Analog Devices AD1885) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 nsclpcsio0 at isa0 port 0x4e/2: NSC PC87366 rev 6: GPIO gpio0 at nsclpcsio0: 29 pins npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask 0 netmask 0 ttymask 0 ioapic0: pin 17 shares different IPL interrupts (40..90), degraded performance pctr: user-level cycle counter enabled apm0: disconnected siop2: target 1 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers dkcsum: sd0 matches BIOS drive 0x80 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02