Hello,

I've installed OpenBSD/i386 5.3 on a Dell PowerEdge R210, but
extracting ports.tar.gz seems unordinary slow (the same thing
applies for src.tar.gz and sys.tar.gz).


Without softdep:
# mount
/dev/sd0a on / type ffs (local, noatime)
/dev/sd0j on /home type ffs (local, noatime, nodev, nosuid)
/dev/sd0d on /tmp type ffs (local, noatime, nodev, nosuid)
/dev/sd0f on /usr type ffs (local, noatime, nodev)
/dev/sd0g on /usr/local type ffs (local, noatime, nodev)
/dev/sd0i on /usr/obj type ffs (local, noatime, nodev, nosuid)
/dev/sd0h on /usr/src type ffs (local, noatime, nodev, nosuid)
/dev/sd0e on /var type ffs (local, noatime, nodev, nosuid)
/dev/sd0k on /var/www type ffs (local, noatime, nodev, nosuid)
# cd /home
# ftp ftp://ftp.fr.openbsd.org/pub/OpenBSD/5.3/ports.tar.gz
# ls -lh ports.tar.gz
-rw-r--r--  1 root  wheel  20.5M Mar 12 22:28 ports.tar.gz
# time tar xzphf ports.tar.gz
    7m11.55s real     0m2.82s user     0m11.08s system


Then, after enabling softdep on all FFS partitions:
# cd /home
# rm -rf ports ; sync
# time tar xzphf ports.tar.gz
   12m36.53s real     0m2.52s user     0m8.78s system


Of course, this server's purpose is not to untar ports.tar.gz every
day, but 12 minutes looks symptomatic.

I'm not sure if it has something to do with the recent softdep
issues [1] which would then be fixed for 5.4, or if it's more of a
hard-drive issue.

It's a new hard drive, so maybe some important setting isn't set?


This looks OK to me:
# atactl /dev/rsd0c identify 
Model: ST500DM002-1BD142, Rev: KC45, Serial #:             Z3TC7CXB
Device type: ATA, fixed
Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 976773168
Device capabilities:
        ATA standby timer values
        IORDY operation
        IORDY disabling
Device supports the following standards:
ATA-4 ATA-5 ATA-6 ATA-7 ATA-8 
Master password revision code 0xfffe
Device supports the following command sets:
        READ BUFFER command
        WRITE BUFFER command
        Host Protected Area feature set
        Read look-ahead
        Write cache
        Power Management feature set
        Security Mode feature set
        SMART feature set
        Flush Cache Ext command
        Flush Cache command
        Device Configuration Overlay feature set
        48bit address feature set
        Automatic Acoustic Management feature set
        Set Max security extension commands
        DOWNLOAD MICROCODE command
        SMART self-test
        SMART error logging
Device has enabled the following command sets/features:
        READ BUFFER command
        WRITE BUFFER command
        Host Protected Area feature set
        Read look-ahead
        Write cache
        Power Management feature set
        SMART feature set
        Flush Cache Ext command
        Flush Cache command
        Device Configuration Overlay feature set
        48bit address feature set
        Automatic Acoustic Management feature set
        DOWNLOAD MICROCODE command

However, I'm unsure about this:
# atactl /dev/rsd0c checkpower
Current power status: Standby mode

I tried to disable it this way, but it didn't change anything:
# atactl /dev/rsd0c setstandby 0
# atactl /dev/rsd0c setidle 0


Here's my dmesg (the kernel is just sys.tar.gz + errata 4 and 5):
OpenBSD 5.3 (GENERIC.MP) #0: Mon Aug 12 17:55:57 CEST 2013
    root@XXX:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.53 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC
real mem  = 3210895360 (3062MB)
avail mem = 3147440128 (3001MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/28/10, BIOS32 rev. 0 @ 0xfa0c0, SMBIOS 
rev. 2.6 @ 0xbf79c000 (62 entries)
bios0: vendor Dell Inc. version "1.2.1" date 01/28/2010
bios0: Dell Inc. PowerEdge R210
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR HPET DMAR MCFG WD__ SLIC ERST HEST BERT EINJ 
TCPA
acpi0: wakeup devices PCI0(S5) USBA(S0) USBB(S0)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 132MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.53 GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.53 GHz
cpu2: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.53 GHz
cpu3: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins
acpihpet0 at acpi0: 14318179 Hz
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (LYD0)
acpiprt2 at acpi0: bus -1 (LYD2)
acpiprt3 at acpi0: bus -1 (HVD0)
acpiprt4 at acpi0: bus -1 (HVD2)
acpiprt5 at acpi0: bus 2 (PEX0)
acpiprt6 at acpi0: bus -1 (PEX4)
acpiprt7 at acpi0: bus -1 (PEX5)
acpiprt8 at acpi0: bus 3 (COMP)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x1000 0xc9000/0x2200 0xcb800/0x3600! 
0xec000/0x4000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11
ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: apic 0 int 16
pci1 at ppb0 bus 1
"Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured
"Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured
"Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured
"Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured
"Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured
"Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb1 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05
pci2 at ppb1 bus 2
bnx0 at pci2 dev 0 function 0 "Broadcom BCM5716" rev 0x20: apic 0 int 16
bnx1 at pci2 dev 0 function 1 "Broadcom BCM5716" rev 0x20: apic 0 int 17
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5
pci3 at ppb2 bus 3
vga1 at pci3 dev 3 function 0 "Matrox MGA G200eW" rev 0x0a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 31 function 0 "Intel 3420 LPC" rev 0x05
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x05: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, ST500DM002-1BD14, KC45> SCSI3 0/direct 
fixed naa.5000c5004f81e957
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
cd0 at scsibus0 targ 3 lun 0: <TEAC, DVD-ROM DV-28SW, R.2A> ATAPI 5/cdrom 
removable
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
kbc: cmd word write error
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
uhub4 at uhub3 port 5 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 
3
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (5e5a72238fb07b30.a) swap on sd0b dump on sd0b
bnx0: address XXXXXXX
brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
bnx1: address YYYYYYY
brgphy1 at bnx1 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8

Thank you.

[1] http://marc.info/?t=137224300600002&r=1&w=2

Reply via email to