Terrible AIT3 performance.

Terrible AIT3 performance.

Post by Sean » Thu, 08 May 2003 09:21:40



Hello, I'm still fighting with the same FreeBSD machine as I've been asking
questions about and once I thought I had everything beat I noticed that I'm
getting horrendous preformance using an AIT3 drive.

I've tried using dd and tar and I can only read off around 300MB/hour and at
a 100GB per tape that's unacceptable considering under Debian Linux (2.4.18)
it was significantly better (4-6 hours to read in 100GB off the tape).

A dmesg is attached and I'm using the same scripts to do readin/writeout
with the only modification being the drive device...

Just doing a dd (read) of 500MB rendered this result:

0+1024000 records in
0+1024000 records out
524288000 bytes transferred in 5654.602832 secs (92719 bytes/sec)

real    94m14.608s
user    0m0.212s
sys     0m39.306s

The tar command I'm using is pretty basic: time tar xvf /dev/nrsa0 -C
/home/readin

This drive is rated at 12MB/s native and 100KB/s is no where near that.  The
drive itself is on it's own Adaptec U160 card and is properly terminated
(though this shouldn't be a problem since the only thing that changed in
this system was/is the OS).  I know it's not the drive array I'm writing to
as I can place files on it VERY quickly using the network and copying
between drives.

My question is what do I need to look at or change in order to figure out
why the performance is so bad?  I have another tape drive (DTF) and I read a
significant amount of data off of it pretty quickly.  Any pointers in any
direction would be appriciated and thanks to all whom have answered my
various questions earlier and this one as well.

Pulling out hair in frustration,

--
Sean

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.8-RELEASE #0: Wed Apr 30 03:26:52 CDT 2003

Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) MP Processor 1800+ (1533.40-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1039548416 (1015184K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040010, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc052e000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 268435454 entries at 0xc00fdf10
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 16 -> irq 3
IOAPIC #0 intpin 17 -> irq 5
IOAPIC #0 intpin 18 -> irq 10
pci0: <PCI bus> on pcib0
agp0: <AMD 762 host to AGP bridge> mem
0xf4824000-0xf4824fff,0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=1022 device=700d)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 5.0 irq 10
isab0: <PCI to ISA bridge (vendor=1022 device=7410)> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 766 ATA100 controller> port 0xf000-0xf00f at device 7.1 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip0: <PCI to Other bridge (vendor=1022 device=7413)> at device 7.3 on pci0
ohci0: <AMD-766 USB Controller> mem 0xdc000-0xdcfff irq 2 at device 7.4 on
pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <AMD-766 USB Controller> on ohci0
byte 2173
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
ahc0: <Adaptec 29160 Ultra160 SCSI adapter> port 0x1000-0x10ff mem
0xf4821000-0xf4821fff irq 3 at device 8.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port
0x1800-0x183f mem 0xf4800000-0xf481ffff irq 5 at device 9.0 on pci0
em0:  Speed:100 Mbps  Duplex:Full
ahc1: <Adaptec 2944 Ultra SCSI adapter> port 0x1400-0x14ff mem
0xf4822000-0xf4822fff irq 10 at device 10.0 on pci0
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
twe0: <3ware Storage Controller> port 0x1850-0x185f mem
0xf4000000-0xf47fffff,0xf4823000-0xf482300f irq 2 at device 11.0 on pci0
twe0: 12 ports, Firmware FE7X 1.05.00.023, BIOS BE7X 1.08.00.036
pcib2: <PCI to PCI bridge (vendor=3388 device=0021)> at device 13.0 on pci0
pci2: <PCI bus> on pcib2
ohci1: <NEC uPD 9210 USB controller> mem 0xf6004000-0xf6004fff irq 5 at
device 8.0 on pci2
usb1: OHCI version 1.0
usb1: <NEC uPD 9210 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2: <NEC uPD 9210 USB controller> mem 0xf6005000-0xf6005fff irq 10 at
device 8.1 on pci2
usb2: OHCI version 1.0
usb2: <NEC uPD 9210 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci2: <USB controller> at 8.2 irq 2
pci2: <unknown card> (vendor=0x104c, dev=0x8020) at 11.0 irq 3
orm0: <Option ROMs> at iomem
0xc0000-0xcffff,0xd0000-0xd07ff,0xd0800-0xd17ff,0xe0000-0xe3fff on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: parallel port not found.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ad0: 19595MB <MAXTOR 6L020J1> [39813/16/63] at ata0-master UDMA100
acd0: CDROM <HL-DT-ST CD-ROM GCR-8520B> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
twed0: <RAID5, Normal> on twe0
twed0: 547163MB (1120591360 sectors)
twe0: command interrupt
sa0 at ahc0 bus 0 target 3 lun 0
sa0: <SONY SDX-700C 0102> Removable Sequential Access SCSI-2 device
sa0: 160.000MB/s transfers (80.000MHz, offset 126, 16bit)
sa1 at ahc1 bus 0 target 1 lun 0
sa1: <SONY GY-2120 1.00> Removable Sequential Access SCSI-2 device
sa1: 20.000MB/s transfers (10.000MHz, offset 8, 16bit)

 
 
 

Terrible AIT3 performance.

Post by charo » Fri, 09 May 2003 18:34:56


        dd if=/dev/nrsa0 of=test.bin ibs=1024 obs=65536 count=1024000

        does it help to change ibs and obs?

        does of=/dev/null yield any significant change?

--
Take your dying with some seriousness, however.  Laughing on the way to
your execution is not generally understood by less advanced life forms,
and they'll call you crazy.
                -- "Messiah's Handbook: Reminders for the Advanced Soul"