From owner-freebsd-current@freebsd.org Sun Jan 7 10:44:26 2018 Return-Path: Delivered-To: freebsd-current@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 B962AE6526E for ; Sun, 7 Jan 2018 10:44:26 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-119.reflexion.net [208.70.210.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C47F80E5A for ; Sun, 7 Jan 2018 10:44:25 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 22354 invoked from network); 7 Jan 2018 10:44:19 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 7 Jan 2018 10:44:19 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.4) with SMTP; Sun, 07 Jan 2018 05:44:19 -0500 (EST) Received: (qmail 30795 invoked from network); 7 Jan 2018 10:44:19 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 7 Jan 2018 10:44:19 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id E5DEDEC8BF3; Sun, 7 Jan 2018 02:44:18 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: USB stack From: Mark Millard In-Reply-To: Date: Sun, 7 Jan 2018 02:44:18 -0800 Cc: FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <0AB4ED58-E01A-4761-B6EF-4D56F8CA21E3@dsl-only.net> References: <3F9697E3-3C25-45CB-804A-9C3607E434C4@dsl-only.net> To: blubee blubeeme X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jan 2018 10:44:26 -0000 [The following notes a problem with how a test was done. I omit the rest of the material.] On 2018-Jan-7, at 2:09 AM, blubee blubeeme = wrote: . . . > This is a larger file, not the largest but hey >=20 > L(q) ops/s r/s kBps ms/r w/s kBps ms/w d/s kBps = ms/d %busy Name > 0 4 0 0 0.0 2 8 0.0 0 0 = 0.0 0.1| nvd0 > 0 0 0 0 0.0 0 0 0.0 0 0 = 0.0 0.0| md99 > 128 982 1 32 58.8 981 125428 110.5 0 0 = 0.0 100.0| da1 . . . Note that almost complete lack of kBps near r/s but the large kBps near w/s. It appears that the file has been cached in RAM and is not being read from media at all. So this test is of a RAM to disk transfer, not disk to disk, as far as I can tell. You need to avoid re-reading the same file unless you dismount and remount between tests or some such. Or just use a different file not copied since booting (that file may or may not be a previous copy of the same file by content). See if you can get gstat -pd results that show both read kBps and write kBps figures. =3D=3D=3D Mark Millard markmi at dsl-only.net