From owner-freebsd-hardware Fri Jun 23 16:39:16 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from vicosa.dpi.ufv.br (vicosa.dpi.ufv.br [200.17.74.1]) by hub.freebsd.org (Postfix) with ESMTP id BF87C37BA18 for ; Fri, 23 Jun 2000 16:38:53 -0700 (PDT) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br (port21.tdnet.com.br [200.236.148.121]) by vicosa.dpi.ufv.br (AIX4.2/UCB 8.7/8.7) with ESMTP id UAA13808 for ; Fri, 23 Jun 2000 20:38:02 -0200 (GRNLNDDT) Message-ID: <3953BE7A.DEFBDD83@tdnet.com.br> Date: Fri, 23 Jun 2000 19:46:02 +0000 From: Gustavo Vieira Goncalves Coelho Rios X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: hardware@freebsd.org Subject: ultra/ultra W Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi folks! I am trying to get my scsi devices to work the way i want, but until now, i got no success. It was advertised that the disk i have can do 13.5MB/s but i can only get into about 8.5/9 MB/s as you can see from this: grios@etosha:/usr/home/grios$ dd if=/dev/zero of=a count=10240 10240+0 records in 10240+0 records out 5242880 bytes transferred in 0.624366 secs (8397127 bytes/sec) grios@etosha:/usr/home/grios$ More useful information: grios@etosha:/usr/home/grios$ /sbin/mount /dev/da0s1a on / (ufs, local, writes: sync 117 async 232, reads: sync 265 async 7) /dev/da0s1e on /usr (ufs, local, soft-updates, writes: sync 2 async 260, reads: sync 1071 async 63) procfs on /proc (procfs, local) pid84@etosha:/home on /home (nfs) pid84@etosha:/mnt on /mnt (nfs) grios@etosha:/usr/home/grios$ As you can see, i am using soft-updates on da0s1e, and this could not leap my I/O performance to a new level. Now my dmesg output: Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #1: Fri Jun 23 19:29:52 GMT 2000 root@etosha:/usr/src/sys/compile/ETOSHA Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (267.27-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 134217728 (131072K bytes) avail memory = 127569920 (124580K bytes) Preloaded elf kernel "kernel" at 0xc02fd000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc02fd09c. Preloaded elf module "splash_bmp.ko" at 0xc02fd0ec. Preloaded elf module "vesa.ko" at 0xc02fd190. VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc00c6d9d (c0006d9d) VESA: Diamond Multimedia Systems, Inc. Pentium Pro MTRR support enabled module_register_init: MOD_LOAD (splash_bmp, c02f2694, 0) error 2 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 12 chip1: port 0x5000-0x500f at device 7.3 on pci0 ahc0: port 0xe400-0xe4ff mem 0xe9000000-0xe900 0fff irq 11 at device 11.0 on pci0 ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs isa0: too many dependant configs (8) isa0: unexpected small tag 14 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <8 virtual consoles, flags=0x200> sio1 at port 0x2f8-0x2ff irq 3 flags 0x10 on isa0 sio1: type 16550A sio2 at port 0x3e8-0x3ef irq 4 on isa0 sio2: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port ed0 at port 0x300-0x31f iomem 0xd8000 irq 10 on isa0 ed0: address 00:00:21:6c:8f:e0, type NE2000 (16 bit) sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: on sbc0 unknown0: at port 0x200-0x207 on isa0 unknown1: at port 0x620-0x623 on isa0 ad0: 8063MB [16383/16/63] at ata0-master using UDMA33 afd0: 96MB [96/64/32] at ata1-master using PIO0 acd0: CDROM <34X CD-ROM> at ata1-slave using UDMA33 Mounting root from ufs:/dev/da0s1a da0 at ahc0 bus 0 target 6 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit) da0: 8709MB (17836668 512 byte sectors: 64H 32S/T 8709C) Some information about my scsi device: etosha# camcontrol inquiry 0:6:0 pass0: Fixed Direct Access SCSI-2 device pass0: Serial Number 199910440080 pass0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled etosha# camcontrol negotiate 0:6:0 -v Current Parameters: (pass0:ahc0:0:6:0): sync parameter: 12 (pass0:ahc0:0:6:0): frequency: 20.000MHz (pass0:ahc0:0:6:0): offset: 8 (pass0:ahc0:0:6:0): bus width: 16 bits (pass0:ahc0:0:6:0): disconnection is disabled (pass0:ahc0:0:6:0): tagged queueing is disabled ahc0: SIM/HBA version: 1 ahc0: supports tag queue messages ahc0: supports SDTR message ahc0: supports 16 bit wide SCSI ahc0: HBA engine count: 0 ahc0: maximum target: 15 ahc0: maximum LUN: 7 ahc0: highest path ID in subsystem: 0 ahc0: SIM vendor: FreeBSD ahc0: HBA vendor: Adaptec ahc0: bus ID: 0 ahc0: base transfer speed: 3.300MB/sec Now my questions is: If my scsi disk can do 13.5Mb/s, why my base transfer speed is 3.300MB/sec ? This box is running 4.0 Stable, the controller/disk were brougth from a 3.2STable box. There is was doing about 13.5MB/sec. Why now i have such a difference. Thanks for your time and cooperation. Best regards. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message