Hi all,

when I try dd command I will get similar numbers :

$ dd if=/dev/urandom of=test bs=1k count=1024
1024+0 records in
1024+0 records out
1048576 bytes transferred in 6.798 secs (154233 bytes/sec)
$

On my old desktop with Ubuntu I have about 1,7MB/s,my friends with
Linux have from about 3 to 8MB/s,my friend with OpenBSD on server has
about 50MB/s(of course totally different HW) and what's worse on same
laptop I have about 33MB/s with OpenSolaris.Of course that this is not
some magic test of speed,but it is visible how slow is it even when
working with apps.I think that there is some problem but I can't find
where.I tried to use SoftDependencies,turn off atime,I played with
namei cache size and all without success.I'm reading trough man pages
for drivers and so on,but can't find anything obvious. (same results
are on amd64). Problem of chipset,disk,some option?


$ apm
Battery state: high, 100% remaining, unknown life estimate
A/C adapter state: connected
Performance adjustment mode: cool running (800 MHz)
$

$ sudo atactl wd0 identify
Model: Hitachi HTS723280L9A362, Rev: FC1OC30F, Serial #: S/N
Device type: ATA, fixed
Cylinders: 16383, heads: 16, sec/track: 63, total sectors: 156301488
Device capabilities:
        IORDY operation
        IORDY disabling
Device supports the following standards:
ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 ATA-7 ATA-8
Master password revision code 0xfffe
Device supports the following command sets:
        NOP command
        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
        Set Features subcommand required
        Power-up in standby feature set
        Advanced Power Management feature set
        DOWNLOAD MICROCODE command
        IDLE IMMEDIATE with UNLOAD FEATURE
        SMART self-test
        SMART error logging
Device has enabled the following command sets/features:
        NOP command
        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
        Set Features subcommand required
        Advanced Power Management feature set
        DOWNLOAD MICROCODE command
$

$ cat /etc/fstab
/dev/wd0a / ffs rw,softdep 1 1
/dev/wd0l /home ffs rw,nodev,nosuid,softdep 1 2
/dev/wd0d /tmp ffs rw,nodev,nosuid,softdep 1 2
/dev/wd0f /usr ffs rw,nodev,softdep 1 2
/dev/wd0h /usr/X11R6 ffs rw,nodev,softdep 1 2
/dev/wd0g /usr/local ffs rw,nodev,softdep 1 2
/dev/wd0j /usr/obj ffs rw,nodev,nosuid,softdep 1 2
/dev/wd0k /usr/src ffs rw,nodev,nosuid,softdep 1 2
/dev/wd0e /var ffs rw,nodev,nosuid,softdep 1 2
$

$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/wd0a      254M   43.0M    198M    18%    /
/dev/wd0l      9.6G    262M    8.9G     3%    /home
/dev/wd0d     1008M    8.0K    958M     0%    /tmp
/dev/wd0f      3.4G    424M    2.8G    13%    /usr
/dev/wd0h      508M    166M    317M    34%    /usr/X11R6
/dev/wd0g      2.9G    158M    2.6G     6%    /usr/local
/dev/wd0j      1.9G    2.0K    1.8G     0%    /usr/obj
/dev/wd0k      1.9G    2.0K    1.8G     0%    /usr/src
/dev/wd0e      254M    8.2M    233M     3%    /var
$

$ swapctl -lk
Device      1K-blocks     Used    Avail Capacity  Priority
swap_device     40162        0    40162     0%    0
$

$ dmesg
OpenBSD 4.6-current (GENERIC.MP) #205: Thu Sep 24 10:57:47 MDT 2009
    t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 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,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
real mem  = 3707650048 (3535MB)
avail mem = 3608420352 (3441MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/13/09, BIOS32 rev. 0 @
0xffa10, SMBIOS rev. 2.4 @ 0xf6590 (57 entries)
bios0: vendor Dell Inc. version "A12" date 02/13/2009
bios0: Dell Inc. Latitude E6400
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT
acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) USB5(S3) USB6(S3) EHC2(S3) EHCI(S3) AZAL(S3) RP01(S4)
RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 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,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus 13 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus -1 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpitz0 at acpi0: critical temperature 107 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL MP4948B" serial 36706 type LION
oem "Samsung SDI"
acpibat1 at acpi0: BAT1 not present
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: CRT_
acpivout1 at acpivideo0: LCD_
acpivout2 at acpivideo0: DVI_
acpivout3 at acpivideo0: DVI2
acpivout4 at acpivideo0: DP__
acpivout5 at acpivideo0: DP2_
acpivideo1 at acpi0: VID_
acpivout6 at acpivideo1: CRT_
acpivout7 at acpivideo1: LCD_
acpivout8 at acpivideo1: DP__
acpivout9 at acpivideo1: DP2_
acpivout10 at acpivideo1: DVI_
acpivout11 at acpivideo1: DVI2
acpivideo2 at acpi0: VID2
bios0: ROM list: 0xc0000/0xf800! 0xcf800/0x800
cpu0: Enhanced SpeedStep 2395 MHz: speeds: 2401, 2400, 1600, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
em0 at pci0 dev 25 function 0 "Intel ICH9 IGP M AMT" rev 0x03: apic 2
int 22 (irq 10), address 00:21:70:ec:44:0a
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 20 (irq 3)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 21 (irq 11)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 22 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 22 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03:
apic 2 int 21 (irq 11)
azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 2
int 16 (irq 0)
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 2
int 17 (irq 0)
pci2 at ppb1 bus 12
iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: apic 2
int 17 (irq 3), MIMO 1T2R, MoW, address 00:22:fb:23:06:e0
ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 2
int 18 (irq 0)
pci3 at ppb2 bus 13
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2
int 20 (irq 3)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2
int 21 (irq 11)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2
int 22 (irq 10)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2
int 20 (irq 3)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci4 at ppb3 bus 3
cbb0 at pci4 dev 1 function 0 "Ricoh 5C476 CardBus" rev 0xba: apic 2
int 19 (irq 10)
"Ricoh 5C832 Firewire" rev 0x04 at pci4 dev 1 function 1 not configured
sdhc0 at pci4 dev 1 function 2 "Ricoh 5C822 SD/MMC" rev 0x21: apic 2
int 18 (irq 11)
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x11 at pci4 dev 1 function 3 not configured
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 4 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
pciide0 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x03: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 2 int 19 (irq 10) for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <Hitachi HTS723280L9A362>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, DVD+-RW TS-U633A, D200> ATAPI
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic
2 int 17 (irq 3)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5 SO-DIMM
pciide1 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x03: DMA,
channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 2 int 19 (irq 10) for native-PCI interrupt
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 6 configuration 1 interface 0
"CN0TX5937248792101KJ Laptop_Integrated_Webcam_0.3M" rev 2.00/88.06
addr 2
uvideo0: video control not supported for this device.
video0 at uvideo0
ugen0 at uhub4 port 1 "Broadcom Corp 5880" rev 1.10/1.01 addr 2
uhidev0 at uhub6 port 1 configuration 1 interface 0 "Primax
Electronics DELL Laser Mouse" rev 2.00/7.17 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse1 at ums0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
$

-- 
http://www.openbsd.org/lyrics.html

Reply via email to