Hi all,

Is there a straight-forward way to know if write cache is
enabled on a SCSI disk? I installed 4.2 (both i386 and
amd64) on a ibm x-series 336, and a simple mv of src.tar.gz
from a dir to another in the same filesystem takes more
than 10 seconds.

0m10.49s real 0m0.00s user 0m0.10s system

Thanks a lot.

Best regards,

Josi

ps. below is a dmesg
------
OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.20GHz ("GenuineIntel" 686-class) 3.21 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,
DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,CNXT-ID,CX16,xTPR
real mem  = 1073094656 (1023MB)
avail mem = 1029996544 (982MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/17/05, BIOS32 rev. 0 @ 0xfd721,
SMBIOS rev. 2.3 @ 0xf602c (50 entries)
bios0: vendor IBM version "-[APE121AUS-1.06]-" date 01/17/2005
bios0: IBM eserver xSeries 336 -[883721U]-
pcibios0 at bios0: rev 2.1 @ 0xf0000/0xffff
pcibios0: PCI BIOS has 11 Interrupt Routing table entries
pcibios0: PCI Exclusive IRQs: 9 10 11 15
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801EB/ER LPC" rev 0x00)
pcibios0: PCI bus #7 is the last bus
bios0: ROM list: 0xc0000/0xb000 0xcb000/0x4000 0xcf000/0x1800
acpi at mainbus0 not configured
ipmi0 at mainbus0: version 1.5 interface KCS iobase 0xca8/8 spacing 4
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel E7520 MCH" rev 0x0a
"Intel E7520 MCH ERR" rev 0x0a at pci0 dev 0 function 1 not configured
ppb0 at pci0 dev 2 function 0 "Intel MCH PCIE" rev 0x0a
pci1 at ppb0 bus 2
ppb1 at pci0 dev 4 function 0 "Intel MCH PCIE" rev 0x0a
pci2 at ppb1 bus 3
ppb2 at pci2 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
pci3 at ppb2 bus 4
mpi0 at pci3 dev 1 function 0 "Symbios Logic 53c1030" rev 0x08: irq 11
scsibus0 at mpi0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <IBM-ESXS, MAW3300NC FN, C206> SCSI2 0/direct
fixed
sd0: 286102MB, 78753 cyl, 8 head, 930 sec, 512 bytes/sec, 585937500 sec total
safte0 at scsibus0 targ 8 lun 0: <IBM, 25P3495a S320 1, 1> SCSI2 3/processor
fixed
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 0 DT 1 IU 1
ppb3 at pci2 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
pci4 at ppb3 bus 5
bge0 at pci4 dev 1 function 0 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): irq 11, address 00:10:18:24:5f:02
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci4 dev 1 function 1 "Broadcom BCM5704C" rev 0x10, BCM5704 B0
(0x2100): irq 11, address 00:10:18:24:5f:03
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
ppb4 at pci0 dev 6 function 0 "Intel MCH PCIE" rev 0x0a
pci5 at ppb4 bus 6
bge2 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x01, BCM5750 A1
(0x4001): irq 11, address 00:0d:60:99:a3:b2
brgphy2 at bge2 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb5 at pci0 dev 7 function 0 "Intel MCH PCIE" rev 0x0a
pci6 at ppb5 bus 7
bge3 at pci6 dev 0 function 0 "Broadcom BCM5721" rev 0x01, BCM5750 A1
(0x4001): irq 11, address 00:0d:60:99:a3:b3
brgphy3 at bge3 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
"Intel E7525 MCH Configuration" rev 0x0a at pci0 dev 8 function 0 not
configured
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: irq 11
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: irq 3
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: irq 3
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: Intel EHCI root hub, rev 2.00/1.00, addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0xc2
pci7 at ppb6 bus 1
vga1 at pci7 dev 1 function 0 "ATI Radeon VE QY" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02: 24-bit
timer at 3579545Hz
pciide0 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <HL-DT-ST, DVD-ROM GDR8083N, 0L02> SCSI0 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02: irq 11
iic0 at ichiic0: disabled to avoid ipmi0 interactions
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: Intel UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: Intel UHCI root hub, rev 1.00/1.00, addr 1
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
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
biomask efed netmask efed ttymask ffef
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matches BIOS drive 0x80
root on sd0a swap on sd0b dump on sd0b


--
Want an e-mail address like mine?
Get a free e-mail account today at www.mail.com!

Reply via email to