From owner-freebsd-scsi@freebsd.org Wed Jul 29 02:30:36 2015 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54BB79AD7FC for ; Wed, 29 Jul 2015 02:30:36 +0000 (UTC) (envelope-from david@gwynne.id.au) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E9B89FA for ; Wed, 29 Jul 2015 02:30:35 +0000 (UTC) (envelope-from david@gwynne.id.au) Received: by pdjr16 with SMTP id r16so81976035pdj.3 for ; Tue, 28 Jul 2015 19:30:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=2stkn7ZsAAibnbzMZZy3V5SZ3n9Do60n598cZBUqGHU=; b=CxJA+JRKi6mQT2hDZ5O5EVbM7MiO1vT2WqV8tDH9ds9xkhZSMhbGuzHzecUE/OnZsU 38R1VEP9YFJcTtLwT22kQcRTa0m3O5K5KS6Ipra6MO2D0sE7JMqRp/SzHZzxJWa5blGy qyvMrFMjAw1Y53WlfxoaRu2oOcJN2aBUtjkhJCexJtSdoPISaZ/RsrJCtwtK8l1yK1G8 9g2wUzBKVkbvc4Lmo9W1+z9THdyCiK+GGS+6drVKFbpeJrA+/GA85BuEsJ+dDTtZbfzQ bq9mEENKELbuaiL1kppCQXkmXiHyTQPKs+aFeqtLG/MkTBB/dsSTFgFwD6jrUUdSEiEc rHQg== X-Gm-Message-State: ALoCoQkgZmeeUhLLjWIl94S5hUXAA3a2NusHMGV1uV5kGSURrdjQA6+gA6kWsTTgphw8thIB9i/N X-Received: by 10.70.134.198 with SMTP id pm6mr88956347pdb.17.1438137034454; Tue, 28 Jul 2015 19:30:34 -0700 (PDT) Received: from opiate.eait.uq.edu.au (a82-47.nat.uq.edu.au. [130.102.82.47]) by smtp.gmail.com with ESMTPSA id xo14sm37715189pac.24.2015.07.28.19.30.31 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Jul 2015 19:30:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: dmesg output not as expected From: David Gwynne In-Reply-To: Date: Wed, 29 Jul 2015 12:30:27 +1000 Cc: freebsd-scsi@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <5A302DC6-C3EF-4DB1-8AD1-A0314C048A28@langille.org> To: Dan Langille X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 02:30:36 -0000 > On 29 Jul 2015, at 12:18, Dan Langille wrote: >=20 >>=20 >> On Jul 28, 2015, at 1:01 PM, Dan Langille 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 >>=20 >> I was hoping for a speed boost. :) >>=20 >> Some of the camcontrol devlist output includes: >>=20 >> at scbus14 target 1 lun 0 = (pass11,sa0) >> 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: Removable = Sequential Access SCSI-2 device=20 >> Jul 23 13:24:19 knew kernel: sa0: Serial Number CXB46H0716 =20 >> 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: = Removable Changer SCSI-2 device=20 >> 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 >>=20 >> This is the same tape drive on another system: >>=20 >> LSI Logic Ultra320 (LSI20320IE) SCSI PCI-E >>=20 >> mpt0: 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: Removable = Sequential Access SCSI-2 device >> Jul 28 16:36:31 varm kernel: sa0: Serial Number CXB46H0716 =20 >> 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: = 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 >=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: 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 >=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? technically parallel scsi isn't a hot pluggable medium. rebooting likely = lets it settle and negotiate better. 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. did your tape device negotiate faster after the reboot? dlg=