2002-11-03 11:53:06

by Margit Schubert-While

[permalink] [raw]
Subject: U160 on Adaptec 39160

Hi,
Anybody know why I'm not getting 160MB transfers ?
Kernel is Suse 2.4.19
MB is Intel D845PESVL + 2.4 P4 + 512MB DDR333 ram.
Adaptec card is in 3rd PCI slot.
AGP ATI 7500 vga
2 x U160 disks on channel B with special U160 cable and actively
terminated.
DVD + DAT on SE channel A. Nothing on U160 channel A.
Snips under from log and /proc
Thanks
Margit Schubert-While

/var/log/boot.msg
--- snip ---
<6>SCSI subsystem driver Revision: 1.00
<6>scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
<4> <Adaptec 3960D Ultra160 SCSI adapter>
<4> aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
<4>
<6>scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
<4> <Adaptec 3960D Ultra160 SCSI adapter>
<4> aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
<4>
<4> Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.09
<4> Type: CD-ROM ANSI SCSI revision: 02
<4> Vendor: HP Model: C1537A Rev: L812
<4> Type: Sequential-Access ANSI SCSI revision: 02
<4> Vendor: FUJITSU Model: MAN3184MP Rev: 0108
<4> Type: Direct-Access ANSI SCSI revision: 03
<4> Vendor: FUJITSU Model: MAN3184MP Rev: 0108
<4> Type: Direct-Access ANSI SCSI revision: 03
<4>scsi1:A:0:0: Tagged Queuing enabled. Depth 32
<4>scsi1:A:1:0: Tagged Queuing enabled. Depth 32
<6>st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g
segs 16
<4>Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
<4>sd: allocated major 8
<7>sd: find_free_slot ...<7>sd: ... found 08:00
<4>Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
<7>sd: find_free_slot ...<7>sd: ... found 08:10
<4>Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0
<4>(scsi1:A:0): 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
<4>SCSI device sda: 35885448 512-byte hdwr sectors (18373 MB)
<6>Partition check:
<6> sda: sda1 sda2
<4>(scsi1:A:1): 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
<4>SCSI device sdb: 35885448 512-byte hdwr sectors (18373 MB)
--- end snip ---

/proc/scsi/aic7xxx/1
-- snip ---
Adaptec AIC7xxx driver version: 6.2.8
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

Serial EEPROM:
0x433a 0x433a 0x433a 0x433a 0x433a 0x433a 0x433a 0xc33a
0x433a 0x433a 0x433a 0x433a 0xc33a 0xc33a 0xc33a 0xc33a
0x0074 0x605d 0x2807 0x0010 0x0300 0xffff 0xffff 0xffff
0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x0250 0x41cf

Channel A Target 0 Negotiation Settings
User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Goal: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Curr: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Channel A Target 0 Lun 0 Settings
Commands Queued 4554
Commands Active 0
Command Openings 32
Max Tagged Openings 32
Device Queue Frozen Count 0
Channel A Target 1 Negotiation Settings
User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)
Goal: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Curr: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
Channel A Target 1 Lun 0 Settings
Commands Queued 56
Commands Active 0
Command Openings 32
Max Tagged Openings 32
Device Queue Frozen Count 0
--- end snip ---


2002-11-03 13:24:59

by William Lee Irwin III

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

On Sun, Nov 03, 2002 at 12:59:44PM +0100, Margit Schubert-While wrote:
> Hi,
> Anybody know why I'm not getting 160MB transfers ?
> Kernel is Suse 2.4.19
> MB is Intel D845PESVL + 2.4 P4 + 512MB DDR333 ram.
> Adaptec card is in 3rd PCI slot.
> AGP ATI 7500 vga
> 2 x U160 disks on channel B with special U160 cable and actively
> terminated.
> DVD + DAT on SE channel A. Nothing on U160 channel A.
> Snips under from log and /proc
> Thanks
> Margit Schubert-While

39160 does 80MB/s/channel, the 160MB/s happens pretty much only as
the sum of both channels. I've had one for a couple of years, and it
performs very well, though it won't ever quite live up to the marketing
gimmick for bandwidth on a single channel. ISTR something about RAID
across channels involved, but I just use disks directly instead.


Bill

2002-11-03 18:40:03

by Dave Hansen

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

William Lee Irwin III wrote:
> 39160 does 80MB/s/channel, the 160MB/s happens pretty much only as
> the sum of both channels.

Nope, quoting from Adaptec's site:
> <snip>
> enterprise servers. Combining a 64-bit PCI interface with two
> Ultra160 SCSI channels, this card moves data at the fastest speeds
> possible. <snip>

The 3950 had dual 80MB/s channels.

> I've had one for a couple of years, and it performs very well,
> though it won't ever quite live up to the marketing gimmick for
> bandwidth on a single channel. ISTR something about RAID across
> channels involved, but I just use disks directly instead.

Even out of good disks, you're unlikely to get more than 20MB/S out of
each of them. So, it would take at least 8 of those in a striped
array to fill up a U160 channel. Unlike IDE's claims of _burst_
speeds, SCSI can take all the bandwidth up, if you give it enough
devices.

> On Sun, Nov 03, 2002 at 12:59:44PM +0100, Margit Schubert-While
> wrote:
>
> <4>Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0
> <4>(scsi1:A:0): 80.000MB/s transfers (40.000MHz, offset 127, 16bit)
> <4>SCSI device sda: 35885448 512-byte hdwr sectors (18373 MB)

During negotiation, the drives will train down in speed if they don't
think they can run at full speed which can be caused by cabling or
termination issues. You can also take their speed down manually in
the card's BIOS, so check that too.

It looks to me from your dmesg that all of your devices are on the
same channel. Am I misreading things?

--
Dave Hansen
[email protected]

2002-11-03 19:03:34

by William Lee Irwin III

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

William Lee Irwin III wrote:
>> 39160 does 80MB/s/channel, the 160MB/s happens pretty much only as
>> the sum of both channels.

On Sun, Nov 03, 2002 at 10:45:21AM -0800, Dave Hansen wrote:
> Nope, quoting from Adaptec's site:
>> <snip>
>> enterprise servers. Combining a 64-bit PCI interface with two
>> Ultra160 SCSI channels, this card moves data at the fastest speeds
>> possible. <snip>
> The 3950 had dual 80MB/s channels.

Now consider the odds our victim^Wbugreporter has 64-bit PCI.


Bill

2002-11-03 19:47:36

by Patrick Mau

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

On Sun, Nov 03, 2002 at 05:30:14AM -0800, William Lee Irwin III wrote:
> On Sun, Nov 03, 2002 at 12:59:44PM +0100, Margit Schubert-While wrote:
> > Hi,
> > Anybody know why I'm not getting 160MB transfers ?
> > Kernel is Suse 2.4.19
> > MB is Intel D845PESVL + 2.4 P4 + 512MB DDR333 ram.
> > Adaptec card is in 3rd PCI slot.
> > AGP ATI 7500 vga
> > 2 x U160 disks on channel B with special U160 cable and actively
> > terminated.
> > DVD + DAT on SE channel A. Nothing on U160 channel A.
> > Snips under from log and /proc
> > Thanks
> > Margit Schubert-While
>
> 39160 does 80MB/s/channel, the 160MB/s happens pretty much only as
> the sum of both channels. I've had one for a couple of years, and it
> performs very well, though it won't ever quite live up to the marketing
> gimmick for bandwidth on a single channel. ISTR something about RAID
> across channels involved, but I just use disks directly instead.
>
> Bill

Hi,

the Adaptec 39160 is indeed capable of doing 160MB/s/channel. Did I
misread the whole thread ? Here's the dmesg output of my system.
I get >40MB/s per disk and >80MB/s per channel.

Maybe it's because of your DVD and DAT device. I only have disks
connected to the adapter.

cheers,
Patrick

scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
<Adaptec 3960D Ultra160 SCSI adapter>
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
<Adaptec 3960D Ultra160 SCSI adapter>
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

Vendor: IBM Model: IC35L036UCD210-0 Rev: S5BA
Type: Direct-Access ANSI SCSI revision: 03
Vendor: IBM Model: IC35L036UCD210-0 Rev: S5BA
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:0:0: Tagged Queuing enabled. Depth 64
scsi0:A:1:0: Tagged Queuing enabled. Depth 64
Vendor: IBM Model: IC35L036UWD210-0 Rev: S5BS
Type: Direct-Access ANSI SCSI revision: 03
Vendor: IBM Model: IC35L036UWD210-0 Rev: S5BS
Type: Direct-Access ANSI SCSI revision: 03
scsi1:A:0:0: Tagged Queuing enabled. Depth 64
scsi1:A:1:0: Tagged Queuing enabled. Depth 64
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
Attached scsi disk sdc at scsi1, channel 0, id 0, lun 0
Attached scsi disk sdd at scsi1, channel 0, id 1, lun 0
(scsi0:A:0): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
Partition check:
sda: sda1 sda2 sda3 sda4
(scsi0:A:1): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB)
sdb: sdb1 sdb2 sdb3 sdb4
(scsi1:A:0): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
SCSI device sdc: 71687340 512-byte hdwr sectors (36704 MB)
sdc: sdc1 sdc2 sdc3 sdc4
(scsi1:A:1): 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
SCSI device sdd: 71687340 512-byte hdwr sectors (36704 MB)
sdd: sdd1 sdd2 sdd3 sdd4

2002-11-03 19:58:29

by William Lee Irwin III

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

On Sun, Nov 03, 2002 at 05:30:14AM -0800, William Lee Irwin III wrote:
>> 39160 does 80MB/s/channel, the 160MB/s happens pretty much only as
>> the sum of both channels. I've had one for a couple of years, and it
>> performs very well, though it won't ever quite live up to the marketing
>> gimmick for bandwidth on a single channel. ISTR something about RAID
>> across channels involved, but I just use disks directly instead.

On Sun, Nov 03, 2002 at 08:53:25PM +0100, Patrick Mau wrote:
> the Adaptec 39160 is indeed capable of doing 160MB/s/channel. Did I
> misread the whole thread ? Here's the dmesg output of my system.
> I get >40MB/s per disk and >80MB/s per channel.
> Maybe it's because of your DVD and DAT device. I only have disks
> connected to the adapter.

64-bit vs. 32-bit PCI. Please follow up with the PCI info from dmesg
to let them know of where to get the (uncommon/expensive) right hardware.


Bill

2002-11-03 20:16:23

by William Lee Irwin III

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

On Sun, Nov 03, 2002 at 08:53:25PM +0100, Patrick Mau wrote:
> the Adaptec 39160 is indeed capable of doing 160MB/s/channel. Did I
> misread the whole thread ? Here's the dmesg output of my system.
> I get >40MB/s per disk and >80MB/s per channel.
> Maybe it's because of your DVD and DAT device. I only have disks
> connected to the adapter.

DOH

They're both doing SCSI-2, so they'll have to be pulled.

... apparently it's -supposed- to be able to do 160MB/s even on 32-bit
PCI, NFI why mine isn't. It's still really smooth though. I never
missed the speed at all.


Bill

2002-11-03 20:53:56

by Patrick Mau

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

> On Sun, Nov 03, 2002 at 08:53:25PM +0100, Patrick Mau wrote:
> > the Adaptec 39160 is indeed capable of doing 160MB/s/channel. Did I
> > misread the whole thread ? Here's the dmesg output of my system.
> > I get >40MB/s per disk and >80MB/s per channel.
> > Maybe it's because of your DVD and DAT device. I only have disks
> > connected to the adapter.
>
> 64-bit vs. 32-bit PCI. Please follow up with the PCI info from dmesg
> to let them know of where to get the (uncommon/expensive) right hardware.
>
>
> Bill

Hi Bill,

I don't exactly know what PCI Info you want from dmesg.
My (uncommon ?) hardware includes the following:

ASUS P4T533-C (Intel 850 chipset)
Pentium IV 2.4 GHz
512MB PC1600 RDRAM
Intel E100 LAN Onboard
Sound Onboard

Radeon 8500QL AGP
Adaptec 39160D Kit

Kind regards,
Patrick

PS: I ordered every piece online from http://www.wave-comnputer.de/
It's really no fancy Server Mainboard or something special.

PPS: If you want further information on the specs, let me know.

[root@tony] lspci
00:00.0 Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 04)
00:01.0 PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev 04)
00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 04)
00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 04)
00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon QL
02:04.0 USB Controller: NEC Corporation USB (rev 41)
02:04.1 USB Controller: NEC Corporation USB (rev 41)
02:04.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
02:0a.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
02:0a.1 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)

2002-11-03 20:57:16

by William Lee Irwin III

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160

On Sun, Nov 03, 2002 at 09:55:53PM +0100, Patrick Mau wrote:
> Hi Bill,
> I don't exactly know what PCI Info you want from dmesg.
> My (uncommon ?) hardware includes the following:

I thought it was 32-bit vs. 64-bit PCI, but apparently it's supposed
to be able to do 160MB/s on both.


Bill

2002-11-03 23:39:08

by J.A. Magallon

[permalink] [raw]
Subject: Re: U160 on Adaptec 39160


On 2002.11.03 Margit Schubert-While wrote:
[...]
> 2 x U160 disks on channel B with special U160 cable and actively
> terminated.
> DVD + DAT on SE channel A. Nothing on U160 channel A.
[...]
> <4>Attached scsi tape st0 at scsi0, channel 0, id 5, lun 0
> <4>Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
> <4>Attached scsi disk sdb at scsi1, channel 0, id 1, lun 0

Where is DVD ?

[...]
> Channel A Target 0 Negotiation Settings

What you request:
> User: 160.000MB/s transfers (80.000MHz DT, offset 255, 16bit)

What the hardware detects it can do:
> Goal: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)

What both agreed to do finally...:
> Curr: 80.000MB/s transfers (40.000MHz, offset 127, 16bit)

So you hardware thiks it can not do U160. Possibilities:
- Check jumpers on the drive
- Active but SE termination, so no double data rate. Check your terminator
is LVD.
- SE device at end of chain, so no LVD also (you say your DVD/DAT are on the
other channel...)

I would vote for SE instead of LVD active terminator ar the cause. At least
'cause I also suffered from it (dam***d hardware dealers...)

Hope this helps.

--
J.A. Magallon <[email protected]> \ Software is like sex:
werewolf.able.es \ It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-rc1-jam1 (gcc 3.2 (Mandrake Linux 9.0 3.2-2mdk))