From owner-freebsd-arm@freebsd.org Sun Jul 1 19:45:25 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0985CFD560A for ; Sun, 1 Jul 2018 19:45:25 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 660FE7AFE5 for ; Sun, 1 Jul 2018 19:45:24 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id w61JHfVe052702 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 1 Jul 2018 12:17:42 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id w61JHfoJ052701; Sun, 1 Jul 2018 12:17:41 -0700 (PDT) (envelope-from fbsd) Date: Sun, 1 Jul 2018 12:17:41 -0700 From: bob prohaska To: Mark Millard Cc: Trev , freebsd-arm@freebsd.org, bob prohaska Subject: Re: RPI3 swap experiments Message-ID: <20180701191741.GA52656@www.zefox.net> References: <20180627194217.GA27793@www.zefox.net> <20180628022457.GA30110@www.zefox.net> <7B9D272D-3EDE-46FA-8A1C-AEE65047167C@yahoo.com> <20180628163328.GA33408@www.zefox.net> <51e208b4-9f14-58f7-1e70-6ef8db2c0bed@sentry.org> <20180629155131.GA35717@www.zefox.net> <20180701025354.GA49303@www.zefox.net> <5202FC09-B76A-4E03-BC2F-8144B505E0BA@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5202FC09-B76A-4E03-BC2F-8144B505E0BA@yahoo.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2018 19:45:25 -0000 On Sat, Jun 30, 2018 at 11:42:00PM -0700, Mark Millard wrote: > > > So I tend to use a powered hub for USB storage. > It occurs to me that a powered hub provides more than power: It provides delay. Likely not much, but a flash device has none of the rotational or seek delay of a mechanical drive. At least occasionally, a flash device might respond quicker than any plausible mechanical one. If the host isn't ready, it'd miss the response. Most "disk" driver software was written in the days of mechanical disks, is it possible assumptions about minimum response delay were made? There's doubtless a "re-training" scheme to get host and device back in sync, but if the timings remain wrong that would prolong the confusion. Thanks for reading, bob prohaska