Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2015 22:33:05 -0400
From:      Dan Langille <dan@langille.org>
To:        David Gwynne <david@gwynne.id.au>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: dmesg output not as expected
Message-ID:  <F334BCD0-0792-4F81-8C63-68A10EB2E08F@langille.org>
In-Reply-To: <B45B20A9-7AC9-413B-A8CB-934BBA2D56A1@gwynne.id.au>
References:  <5A302DC6-C3EF-4DB1-8AD1-A0314C048A28@langille.org> <BFD44FE6-CCF0-4973-8893-86D7E58DF7C9@langille.org> <B45B20A9-7AC9-413B-A8CB-934BBA2D56A1@gwynne.id.au>

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

--Apple-Mail=_035793B9-0530-45D2-A2C1-7221D4D643CD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 28, 2015, at 10:30 PM, David Gwynne <david@gwynne.id.au> wrote:
>=20
>=20
>> On 29 Jul 2015, at 12:18, Dan Langille <dan@langille.org> wrote:
>>=20
>>>=20
>>> On Jul 28, 2015, at 1:01 PM, Dan Langille <dan@langille.org> wrote:
>>>=20
>>> I wish to move a tape library from one system to another.  Today I =
moved the cable from one system to another and ran 'camcontrol rescan =
all'.
>>>=20
>>> For sa0, why do I see 80MB/s on the old system vs 40MB/s on the new =
system?  Is this card related? Slot related?
>>>=20
>>> Similarly, ch0 goes from 20MB/s to 3.3MB/s....
>>>=20
>>> I was hoping for a speed boost.  :)
>>>=20
>>> Some of the camcontrol devlist output includes:
>>>=20
>>> <COMPAQ SuperDLT1 5F5F>            at scbus14 target 1 lun 0 =
(pass11,sa0)
>>> <COMPAQ MSL5000 Series 0520>       at scbus14 target 3 lun 0 =
(pass12,ch0)
>>>=20
>>> This is on the existing system:
>>>=20
>>> I *think* this system holds a Symbios Ultra2 32-bit PCI SCSI Adapter =
SYM8951U
>>>=20
>>> Jul 23 13:24:19 knew kernel: sym0: <895> port 0xe000-0xe0ff mem =
0xfebeec00-0xfebeecff,0xfebef000-0xfebeffff irq 22 at device 2.0 on pci4
>>> Jul 23 13:24:19 knew kernel: sym0: No NVRAM, ID 7, Fast-40, LVD, =
parity checking
>>>=20
>>> Jul 23 13:24:19 knew kernel: sa0 at sym0 bus 0 scbus7 target 1 lun 0
>>> Jul 23 13:24:19 knew kernel: sa0: <COMPAQ SuperDLT1 5F5F> Removable =
Sequential Access SCSI-2 device
>>> Jul 23 13:24:19 knew kernel: sa0: Serial Number CXB46H0716
>>> Jul 23 13:24:19 knew kernel: sa0: 80.000MB/s transfers (40.000MHz, =
offset 31, 16bit)
>>>=20
>>> Jul 23 13:24:19 knew kernel: ch0 at sym0 bus 0 scbus7 target 3 lun 0
>>> Jul 23 13:24:19 knew kernel: ch0: <COMPAQ MSL5000 Series 0520> =
Removable Changer SCSI-2 device
>>> Jul 23 13:24:19 knew kernel: ch0: Serial Number 3G22JJP38S46
>>> Jul 23 13:24:19 knew kernel: ch0: 20.000MB/s transfers (10.000MHz, =
offset 15, 16bit)
>>> Jul 23 13:24:19 knew kernel: ch0: 25 slots, 1 drive, 1 picker, 1 =
portal
>>> Jul 23 13:24:19 knew kernel: ch0: quirks=3D0x2<NO_DVCID>
>>>=20
>>> This is the same tape drive on another system:
>>>=20
>>> LSI Logic Ultra320 (LSI20320IE) SCSI PCI-E
>>>=20
>>> mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x8000-0x80ff mem =
0xfb220000-0xfb23ffff,0xfb200000-0xfb21ffff irq 19 at device 8.0 on =
pci15
>>> mpt0: MPI Version=3D1.2.14.0
>>>=20
>>> Jul 28 16:36:31 varm kernel: sa0 at mpt0 bus 0 scbus14 target 1 lun =
0
>>> Jul 28 16:36:31 varm kernel: sa0: <COMPAQ SuperDLT1 5F5F> Removable =
Sequential Access SCSI-2 device
>>> Jul 28 16:36:31 varm kernel: sa0: Serial Number CXB46H0716
>>> Jul 28 16:36:31 varm kernel: sa0: 40.000MB/s transfers (40.000MHz =
DT, offset 6)
>>>=20
>>> Jul 28 16:37:03 varm kernel: ch0 at mpt0 bus 0 scbus14 target 3 lun =
0
>>> Jul 28 16:37:03 varm kernel: ch0: <COMPAQ MSL5000 Series 0520> =
Removable Changer SCSI-2 device
>>> Jul 28 16:37:03 varm kernel: ch0: Serial Number 3G22JJP38S46
>>> Jul 28 16:37:03 varm kernel: ch0: 3.300MB/s transfers
>>> Jul 28 16:37:03 varm kernel: ch0: 25 slots, 1 drive, 1 picker, 1 =
portal
>>> Jul 28 16:37:03 varm kernel: ch0: quirks=3D0x2<NO_DVCID>
>>=20
>> After rebooting this server, I see this in /var/run/dmesg.  Why does =
it change?
>>=20
>> ch0 at mpt0 bus 0 scbus14 target 3 lun 0
>> ch0: <COMPAQ MSL5000 Series 0520> Removable Changer SCSI-2 device
>> ch0: Serial Number 3G22JJP38S46
>> ch0: 20.000MB/s transfers (10.000MHz DT, offset 15, 16bit)
>> ch0: 25 slots, 1 drive, 1 picker, 1 portal
>> ch0: quirks=3D0x2<NO_DVCID>
>>=20
>> I was hoping to get more through put on this newer system with a =
different card.  =46rom what I see, my speed is only half of what it =
was.
>>=20
>> I'm using a PCI-E 3.0 X8 (in X16) slot. Have I missing something?
>=20
> technically parallel scsi isn't a hot pluggable medium. rebooting =
likely lets it settle and negotiate better.
>=20
> you probably shouldnt care about the speed you talk to the changer at =
btw. you're not sending data to the changer device, just commands to =
move tapes around which are very low bandwidth.

Noted.  However, sa0 went from 80 to 40MB/s...

> did your tape device negotiate faster after the reboot?

I did not notice.  I'll compare soon.

=E2=80=94
Dan Langille
http://langille.org/






--Apple-Mail=_035793B9-0530-45D2-A2C1-7221D4D643CD
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQJ8BAEBCgBmBQJVuDtiXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ1MTE2RjM0ODIzRDdERDM4OTY0OUJBNzdF
QjIxNTlERUU5NzI3MzlGAAoJEOshWd7pcnOfW/IP/jBHrtKM2A8kNonrlC7Ktdv8
l6YGmFoOgf8i6J+/d0qpW6TlBWK0fS210q/djb+THKSQ8C354/oWajKaXyUukbx+
1ISl+H+zRcQH1H0yV7phI/a5p4wJxxAmscFxnfjhJHgxQBmEkWRhhKM+mOcTXukS
TAqeCG01k3Vjmlj/bo5aQia4hmr6qnXwfeIwoij986M6fGmoOt/zRrQ0UzbtxLT7
riBocKEso3pOcsHSSi/IQg9W5gcXsbX8Fp9a/CiNqk9rmrmHG0UeRg8KYjaCv9MY
pNOLoL5OUWhxkvgdpcyt64bsgCs5k1B5O5oDomCE9lZ/T8tm99JL9pZ3Cq3Aotw2
nE0MS+zTuUcVkyOrM7a4ZtRthGL2ag9tjj9/XxkOst6VMxzinLWiMx5cI0juhaKK
JKNxA21zL81I8PKRfw3DIHq5B+vdm4Gt4ZFd8rrFO7HibuGXYg18coRnPzAlPeqE
/2j7qVJFVr2YO5ogrOObkLa8EyGjCYTJrJGPR7wDynWaVMDsEne9Y0E5gnAHhJv/
vNUTxkBXx3QU2HA/J5m2w2nVsBK4jZjQXl6ty2NcbohKQUb9M0OCftDac/n0nGtR
yylJ3iOI5RIsri7Dfl0C2w9JdbRz1cvGxUZ9BUXEQh8f4MGn3eLRGiT65HzR153B
6SvCTbgYoCvfDw1k6KCL
=C7VJ
-----END PGP SIGNATURE-----

--Apple-Mail=_035793B9-0530-45D2-A2C1-7221D4D643CD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F334BCD0-0792-4F81-8C63-68A10EB2E08F>