From owner-freebsd-current Tue Feb 10 03:43:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA07712 for current-outgoing; Tue, 10 Feb 1998 03:43:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from shadows.aeon.net (shadows.aeon.net [194.100.41.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA07692 for ; Tue, 10 Feb 1998 03:43:27 -0800 (PST) (envelope-from bsdcur@shadows.aeon.net) Received: (from bsdcur@localhost) by shadows.aeon.net (8.8.8/8.8.3) id NAA15114 for current@freebsd.org; Tue, 10 Feb 1998 13:43:46 +0200 (EET) From: mika ruohotie Message-Id: <199802101143.NAA15114@shadows.aeon.net> Subject: scsi performance in current... To: current@FreeBSD.ORG Date: Tue, 10 Feb 1998 13:43:46 +0200 (EET) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG where is my scsi performance going? i installed the machine from the latest snap cdrom i had, october, remade the kernel, couldnt use AHC options (kernel compilation failed) so i made on without them, and bonnie gives me: -------Sequential Output-------- ---Sequential Input--- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU sd0s1e 384 10018 69.4 9812 17.5 3363 8.9 12761 91.9 12824 20.8 124.6 2.1 that is a filesystem right after the root partition 64M root partition and 448M swap partition. and i am MOST impressed about the performance, this is by far the fastest result i've ever seen. the drive is 9GB western digital ultra wide, connected into 2940UW, machine is pII 262,5MHz (75MHzx3.5) with 128M SDRAM, the board is Soyo (i wanted asus but couldnt wait for few days until the suppliers would've gotten those) dual pII, with one cpu. (i include dmesg and kernel config to the end of this mail for those interested in reading that). for the record, the END of the drive still performs: sd0s3f 384 7080 49.0 6971 12.3 2579 5.5 8181 58.4 8179 9.4 115.4 1.6 (that is about as end as i can get, the last filesystem is 468745 1K-blocks, and the performance is still quite outstanding, outperforming some 4 disk! ccd-setups i've gotten in the past) and "bad" test with 8M file: sd0s1e 8 14007 93.2 49940 82.9 35081 67.2 11700 78.5 139066 99.5 1193.5 9.0 BUT!!! without changing ANYTHING else but cvsupping into the february 4th CURRENT tree, and adding those three AHC kernel options, the machine is only able to give me this: -------Sequential Output-------- ---Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU sd0s1e 384 3384 23.6 2969 5.4 2200 6.1 11449 89.0 12176 20.9 147.8 2.2 sd0s1e 8 14216 97.5 53072 90.2 38811 99.9 6099 42.2 88255 99.8 3191.6 35.3 same filesystem, STILL EMPTY! where did the disk i/o go? AARGH! (for the record part2, i installed another drive, sd1, ibm ultra scsi 4GB, and it gives me now: sd1s1e 384 6532 45.8 5788 10.7 2206 7.1 7441 57.6 7457 16.0 94.3 1.6 and to me that looks about "right" for such a drive...) dmesg: Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-CURRENT #0: Thu Feb 5 20:54:55 GMT 1998 root@tuuba:/usr/src/sys/compile/TUUBA CPU: Pentium Pro (262.52-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping=4 Features=0x80fbff real memory = 134217728 (131072K bytes) avail memory = 128057344 (125056K bytes) Probing for devices on PCI bus 0: chip0: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x01 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x01 int d irq 11 on pci0.7.2 chip4: rev 0x01 on pci0.7.3 ahc0: rev 0x01 int a irq 10 on pci0.16.0 ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs scbus0 at ahc0 bus 0 ahc0: target 0 Tagged Queuing Device sd0 at scbus0 target 0 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 8683MB (17783204 512 byte sectors) ahc0:A:6: refuses WIDE negotiation. Using 8bit transfers ahc0: target 6 Tagged Queuing Device sd1 at scbus0 target 6 lun 0 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 4134MB (8467200 512 byte sectors) fxp0: rev 0x02 int a irq 10 on pci0.12 .0 fxp0: Ethernet address 00:a0:c9:45:6e:23 vga0: rev 0x01 int a irq 9 on pci0.18.0 Probing for devices on PCI bus 1: Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A wdc0 at 0x1f0-0x1f7 irq 14 flags 0x20ff20ff on isa wdc0: unit 0 (atapi): , removable, dma, iordy atapi0.0: unknown phase npx0 on motherboard npx0: INT 16 interface IP packet filtering initialized, divert enabled, unlimited logging changing root device to sd0a kernel config: (should i change anything there? remove/add) machine "i386" cpu "I686_CPU" ident TUUBA maxusers 128 options MATH_EMULATE options INET options FFS options NFS options "CD9660" options PROCFS options KERNFS options QUOTA options FAT_CURSOR options "COMPAT_43" options BOUNCE_BUFFERS options UCONSOLE options FAILSAFE options SYSVSHM options SYSVSEM options SYSVMSG options "MD5" options CLK_CALIBRATION_LOOP options "CLK_USE_I8254_CALIBRATION" options "CLK_USE_I586_CALIBRATION" options PQ_LARGECACHE options CPU_UPGRADE_HW_CACHE options AHC_TAGENABLE options AHC_SCBPAGING_ENABLE options AHC_ALLOW_MEMIO options USERCONFIG options VISUAL_USERCONFIG options INCLUDE_CONFIG_FILE options IPFIREWALL options IPFIREWALL_VERBOSE options IPDIVERT options PERFMON options COMPAT_LINUX options ATAPI options ATAPI_STATIC config kernel root on sd0 swap on sd0 and sd1 dumps on sd0 controller isa0 controller pci0 controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x20ff20ff vector wdintr disk wd0 at wdc0 drive 0 disk wd1 at wdc0 drive 1 device wcd0 device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr device npx0 at isa? port "IO_NPX" flags 0x0 irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr controller scbus0 controller ahc0 device sd0 device de0 device fxp0 pseudo-device loop pseudo-device ether pseudo-device pty 128 pseudo-device snp 4 pseudo-device gzip pseudo-device bpfilter 4 mickey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe current" in the body of the message