There were several patches past 3.8 for cac that made it better. Try -current.
On Feb 2, 2006, at 9:29 AM, Bruno Carnazzi wrote:

   Hi all,

I'm running OpenBSD/i386 3.8 with GENERIC.MP on a Compaq Proliant
DL380, powered by 2 PIII-866. All my partitions lives on a 3 ULTRA320
SCSI 10K RPM disk RAID-5 array.

When I untar ports.tar.gz, it took about 4 minutes for a 8Mb archive
(lots of small files)... I feel this is a bit poor performance :

$ time tar -xzf ports.tar.gz
    3m57.80s real     0m1.85s user     0m4.52s system
$ ls -l
total 17188
drwxr-xr-x  44 bcarnazzi  bcarnazzi     1024 Sep  2 05:08 ports
-rw-r--r--   1 bcarnazzi  bcarnazzi  8775929 Feb  2 17:01 ports.tar.gz

I already use softupdate, as mount reports :

/dev/sd0a on / type ffs (local, softdep)
/dev/sd0h on /home type ffs (local, nodev, nosuid, softdep)
/dev/sd0d on /tmp type ffs (local, nodev, nosuid, softdep)
/dev/sd0g on /usr type ffs (local, nodev, softdep)
/dev/sd0e on /var type ffs (local, nodev, nosuid, softdep)

Here is the dmesg :

OpenBSD 3.8 (GENERIC.MP) #298: Sat Sep 10 15:51:54 MDT 2005
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 864 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,MMX,FXSR,SSE
real mem  = 2147049472 (2096728K)
avail mem = 1953083392 (1907308K)
using 4278 buffers containing 107454464 bytes (104936K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x2000
pcibios0: PCI BIOS has 7 Interrupt Routing table entries
pcibios0: PCI Interrupt Router at 000:15:0 ("ServerWorks ROSB4
SouthBridge" rev 0x00)
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000! 0xcc000/0x800
0xe8000/0x6000 0xee000/0x2000!
mainbus0: Intel MP Specification (Version 1.4) (COMPAQ   PROLIANT    )
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: apic clock running at 132 MHz
cpu1 at mainbus0: apid 0 (application processor)
cpu1: Intel Pentium III ("GenuineIntel" 686-class) 864 MHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3 6,MMX,FXSR,SSE
mainbus0: bus 0 is type PCI
mainbus0: bus 3 is type PCI
mainbus0: bus 9 is type ISA
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 11, 35 pins
ioapic0: misconfigured as apic 0, remapped to apic 8
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20LE Host" rev 0x05
pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20LE Host" rev 0x05
pci1 at pchb1 bus 3
cac0 at pci0 dev 1 function 0 "Symbios Logic 53c1510" rev 0x02: apic 8
int 10 (irq 10) Compaq Integrated Array
scsibus0 at cac0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <Compaq, RAID5 volume #, > SCSI2 0/ direct fixed sd0: 69455MB, 17432 cyl, 255 head, 32 sec, 512 bytes/sec, 142245120 sec total
fxp0 at pci0 dev 2 function 0 "Intel 82557" rev 0x08, i82559: apic 8
int 11 (irq 11), address 00:02:a5:29:15:f0
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
vga1 at pci0 dev 3 function 0 "ATI Mach64 GV" rev 0x7a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Compaq Netelligent ASMC" rev 0x00 at pci0 dev 4 function 0 not configured
xl0 at pci0 dev 5 function 0 "3Com 3c905C 100Base-TX" rev 0x78: apic 8
int 5 (irq 5)xl0: reset didn't complete
, address 00:0a:5e:5a:c9:a4
exphy0 at xl0 phy 24: 3Com internal media interface
xl0: reset didn't complete
pcib0 at pci0 dev 15 function 0 "ServerWorks ROSB4 SouthBridge" rev 0x4f
pciide0 at pci0 dev 15 function 1 "ServerWorks OSB4 IDE" rev 0x00: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <COMPAQ, CD-224E, 9.0B> SCSI0 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2
isa0 at pcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
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
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02

Is this "normal" OpenBSD performance ? I feel an ext3 fs a bit faster
on linux-2.6 running the same hardware :

mount :
/dev/ida/disc0/part3 on / type ext3 (rw,noatime)

time :
[EMAIL PROTECTED] tmp $ time tar -xzf ports.tar.gz

real    1m29.349s
user    0m2.700s
sys     0m4.460s

2 times faster :(

While in my case, FS performance is not very important, I'd like to
know if this difference can be reduced and if not, why this difference
(noatime plays in favor of linux) ?

Thank you,

Bruno.

Reply via email to