I just setup vinum for the first time on a brand new server,
nd I am getting what I think are strange results in performance
tests with rawio. My SCSI drives seem to be much slower that my
IDE drives?
Here is a dmesg from the machine:
#######################################################################
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.2-STABLE #0: Sat Aug 21 06:52:28 MDT 1999
[EMAIL PROTECTED]:/usr/src/sys/compile/GUILD1
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III (451.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x673 Stepping = 3
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,<b25>>
real memory = 268435456 (262144K bytes)
avail memory = 257900544 (251856K bytes)
Preloaded elf kernel "kernel" at 0xc0332000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.4.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x01 int a irq 10 on pci0.11.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
xl0: <3Com 3c905B-TX Fast Etherlink XL> rev 0x30 int a irq 11 on pci0.12.0
xl0: Ethernet address: 00:50:04:e1:3c:4d
xl0: autoneg complete, link status good (half-duplex, 100Mbps)
Probing for devices on PCI bus 1:
vga0: <ATI model 4742 graphics accelerator> rev 0x5c int a irq 11 on
pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa
wdc0: unit 0 (wd0): <IBM-DTTA-371440>, LBA, DMA, 32-bit, multi-block-16
wd0: 13783MB (28229040 sectors), 1757 cyls, 255 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <IBM-DTTA-371440>, LBA, DMA, 32-bit, multi-block-16
wd1: 13783MB (28229040 sectors), 1757 cyls, 255 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xb0ffb0ff on isa
wdc1: unit 0 (wd2): <IBM-DTTA-371440>, LBA, DMA, 32-bit, multi-block-16
wd2: 13783MB (28229040 sectors), 1757 cyls, 255 heads, 63 S/T, 512 B/S
wdc1: unit 1 (wd3): <IBM-DTTA-371440>, LBA, DMA, 32-bit, multi-block-16
wd3: 13783MB (28229040 sectors), 1757 cyls, 255 heads, 63 S/T, 512 B/S
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
Waiting 5 seconds for SCSI devices to settle
changing root device to wd0s1a
da0 at ahc0 bus 0 target 3 lun 0
da0: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da1 at ahc0 bus 0 target 6 lun 0
da1: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing
Enabled
da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
vinum: loaded
vinum: reading configuration from /dev/wd3e
vinum: updating configuration from /dev/da0e
vinum: updating configuration from /dev/da1e
vinum: updating configuration from /dev/wd2e
##########################################################################
As you can see there are four 14.4 Gig IBM IDE drives, and 2
18Gig IBM SCSI drives.
My vinum config is:
drive scsi1 device /dev/da0e
drive scsi2 device /dev/da1e
drive ide1 device /dev/wd2e
drive ide2 device /dev/wd3e
volume exporthome
plex org concat
sd length 0 drive scsi1
sd length 0 drive scsi2
volume backup
plex org concat
sd length 0 drive ide1
sd length 0 drive ide2
SCSI
# rawio -a -v 1 /dev/vinum/rexporthome
Test ID K/sec /sec %User %Sys %Total
RR anon 1774.1 110 0.1 0.7 0.7 16384
SR anon 14482.7 884 0.1 5.3 5.4 16384
RW anon 1573.7 98 0.1 0.6 0.6 16384
SW anon 1981.8 121 0.0 0.7 0.8 16384
/dev/rda0 is one of the raw drives in exporthome..
# rawio -a -v 1 /dev/rda0
Test ID K/sec /sec %User %Sys %Total
RR anon 2241.3 138 0.1 0.5 0.6 16384
SR anon 19115.9 1167 0.1 4.5 4.5 16384
RW anon 959.1 60 0.0 0.2 0.3 16384
SW anon 2608.7 159 0.0 0.6 0.6 16384
IDE
# rawio -a -v 1 /dev/vinum/rbackup
Test ID K/sec /sec %User %Sys %Total
RR anon 1372.9 86 0.0 0.4 0.4 16384
SR anon 28443.2 1736 0.4 7.5 7.8 16384
RW anon 601.3 37 0.0 0.2 0.2 16384
SW anon 12227.7 746 0.3 3.1 3.4 16384
/dev/rwd1 is just a stand alone IDE drive.
# rawio -a -v 1 /dev/rwd1
Test ID K/sec /sec %User %Sys %Total
RR anon 1610.0 100 0.0 0.2 0.3 16384
SR anon 28828.8 1760 0.4 3.3 3.7 16384
RW anon 1218.5 76 0.1 0.2 0.2 16384
SW anon 11628.1 710 0.0 1.5 1.5 16384
I could be wrong but shouldn't the SCSI system blow away the IDE system?
Does anybody have any ideas about what I could be doing wrong? Could
there be a termination problem? It is set to auto terminate, but I
have read about problems with that.
Any help would be greatly appreciated.
On a side note, can you enable softupdates on a vinum fs?
Thanks
Chad
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message