Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Feb 2000 16:39:42 -0600
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        "Soren Schmidt" <sos@freebsd.dk>
Cc:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: ABIT BP6, UDMA-66 and wdc AC310200
Message-ID:  <041001bf7e4e$e087ac80$020a0a0a@megared.net.mx>
References:  <200002221730.SAA78748@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Soren,

    Sorry for the intrusion, Im not using the ata driver, but maybe you can
give me some light, Im subscribed to current, and I was reading this mail, I
got impressed with the speed that you can get with your disks, so my
question its the following (see below):

> > # dd if=/dev/ad4s2 of=/dev/null bs=40960k count=10
> > 10+0 records in
> > 10+0 records out
> > 419430400 bytes transferred in 30.797045 secs (13619177 bytes/sec)
>
> Thats probably close to what your drive can pull of the platters...
> I get 22-23MB/sec off an IBM DPTA drive here with < 1% cpu usage,
> so the driver is not the problem..
> I have a config with 7 disks online, giving me a raw throughput
> of ~100MB/s sustained, that is about the limit of what can be done
> over the PCI bus...

If I make this test in a server with scsi-3 disks attached, 10Krpm 9GB
HotSwap IBM Disks, in a Netfinity 5000 Dual PIII-600 768MB Ram, with the
server totally idle, fresh install (3.4) I can hardly get 6MB/sec
trasferred, how can I achieve more speed with this configuration, Im asking
this to you because you can get a lot better performance with your disks
than I do, and there its maybe some tweaking that Im not aware of.

# dd if=/dev/da0s1 of=/dev/null bs=40960k count=10
10+0 records in
10+0 records out
419430400 bytes transferred in 71.546849 secs (5862318 bytes/sec)

systat -iostat shows 2950 tps for this disk top during this test.

The disks have softupdates enabled, here its a dmesg of the system:

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.4-RELEASE #7: Tue Feb 22 13:33:21 GMT 2000
    root@cache.megared.net.mx:/usr/src/sys/compile/kernel
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,<b25>>
real memory  = 805306368 (786432K bytes)
avail memory = 780263424 (761976K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id: 14, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0263000.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=1166 device=0007)> rev 0x04 on pci0.0.0
chip1: <Ross (?) host to PCI bridge> rev 0x02 on pci0.0.1
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x04 int a irq 11 on pci0.6.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x04 int b irq 15 on pci0.6.1
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
lnc1: <PCNet/PCI Ethernet adapter> rev 0x36 int a irq 10 on pci0.9.0
lnc1: PCnet-FAST+ address 00:06:29:50:fe:37
vga0: <S3 Trio 64 graphics accelerator> rev 0x16 int a irq 9 on pci0.10.0
chip2: <PCI to ISA bridge (vendor=1166 device=0200)> rev 0x4d on pci0.15.0
ide_pci0: <PCI IDE controller (busmaster capable)> rev 0x4a int a irq 10 on
pci0.15.1
Probing for devices on PCI bus 1:
Probing for devices on PCI bus 2:
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
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 on isa
wdc0: unit 0 (atapi): <CRD-8322B/1.07>, removable, accel, dma, iordis
acd0: drive speed 5500KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked, lock protected
lnc0 not found at 0x280
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert disabled, rule-based forwarding
enabled, default to accept, logging disabled
Waiting 10 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
sa0 at ahc1 bus 0 target 6 lun 0
sa0: <ARCHIVE Python 04106-XXX 735E> Removable Sequential Access SCSI-2
device
sa0: 5.000MB/s transfers (5.000MHz, offset 15)
pass6 at ahc1 bus 0 target 14 lun 0
pass6: <SDR GEM200 2> Fixed Processor SCSI-2 device
pass6: 3.300MB/s transfers
da0 at ahc1 bus 0 target 0 lun 0
da0: <IBM-PSG DMVS09D       !# 0180> Fixed Direct Access SCSI-3 device
da0: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing
Enabled
da0: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C)
da4 at ahc1 bus 0 target 4 lun 0
da4: <IBM-PSG DMVS09D       !# 0180> Fixed Direct Access SCSI-3 device
da4: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing
Enabled
da4: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C)
da3 at ahc1 bus 0 target 3 lun 0
da3: <IBM-PSG ST39103LC     !# B222> Fixed Direct Access SCSI-2 device
da3: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing
Enabled
da3: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C)
da2 at ahc1 bus 0 target 2 lun 0
da2: <IBM-PSG ST39103LC     !# B222> Fixed Direct Access SCSI-2 device
da2: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing
Enabled
da2: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C)
da1 at ahc1 bus 0 target 1 lun 0
da1: <IBM-PSG ST39103LC     !# B222> Fixed Direct Access SCSI-2 device
da1: 11.626MB/s transfers (5.813MHz, offset 8, 16bit), Tagged Queueing
Enabled
da1: 8678MB (17774160 512 byte sectors: 255H 63S/T 1106C)
changing root device to da0s1a


If you think Im doing something wrong, or maybe the disks are not what I
think they are, or the ahc driver its limiting the speed, or the aic7895
embedded card its limiting the speed, or something else, I would apreciate
any observation you can give me.

P.S. Im not copying to current, because its not running current at the
moment, Im copying to questions.

Thanks in Advance

Syncerely
Ales





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?041001bf7e4e$e087ac80$020a0a0a>