From owner-freebsd-fs@freebsd.org Thu Mar 8 10:42:36 2018 Return-Path: Delivered-To: freebsd-fs@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 178C0F4AE20; Thu, 8 Mar 2018 10:42:36 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A682173C40; Thu, 8 Mar 2018 10:42:35 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ett0L-0000DB-Ms; Thu, 08 Mar 2018 11:42:34 +0100 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Bernd Walter" , ticso@cicely.de Cc: freebsd-fs@freebsd.org, "freebsd-arm@freebsd.org" Subject: Re: gstat more writes per seconds than there are seconds per write References: <20180308102010.GB80981@cicely7.cicely.de> Date: Thu, 08 Mar 2018 11:42:36 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <20180308102010.GB80981@cicely7.cicely.de> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: 4cc6a862e0a753e674eb374334b394fd X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 10:42:36 -0000 On Thu, 08 Mar 2018 11:20:10 +0100, Bernd Walter wrote: > On Thu, Mar 08, 2018 at 11:06:23AM +0100, Ronald Klop wrote: >> Hello, >> >> I'm confused by this output. >> w/s = 5, but ms/w is 1108; how can I put 5 writes in a second if the >> average write takes more than a second? > > It is the time a request has to wait until it is done. > But your L(q) says that 17 are queued. Thanks, that makes sense. Any ideas how to retrieve the ms/w without the time-in-queue included? Regards, Ronald. > >> Is my SD card super parallel? :-) > > Maybe, maybe not, flash device vendors don't tell how they work > internally, which is a shame, but you can only request a single > transaction with an SD card. > On USB sticks you might be able to do tagged command queuing, > not that many support that... > Nevertheless you can always queue more than one request at the OS layer. > >> Sometimes the numbers are even higher. >> >> dT: 1.010s w: 1.000s >> L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name >> 17 5 0 0 0.0 5 420 1108 81.7 mmcsd0 >> 0 0 0 0 0.0 0 0 0.0 0.0 da0 >> 0 0 0 0 0.0 0 0 0.0 0.0 mmcsd0s1 >> 17 5 0 0 0.0 5 420 1108 81.7 mmcsd0s2 >> 0 0 0 0 0.0 0 0 0.0 0.0 >> msdosfs/MSDOSBOOT >> 17 5 0 0 0.0 5 420 1108 81.7 mmcsd0s2a >> 17 5 0 0 0.0 5 420 1108 81.7 ufs/rootfs >> >> [root@rpi2 ~]# uname -a >> dmesg | grep mmc >> FreeBSD rpi2 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 #0 r328567: Tue Jan >> 30 20:10:37 CET 2018 >> root@rpi2:/mnt/usbdisk/usr/obj/mnt/usbdisk/usr/src/sys/RPI2 arm >> >> [root@rpi2 ~]# dmesg | grep mmc >> mmc0: on sdhci_bcm0 >> mmc0: CMD8 failed, RESULT: 1 >> mmcsd0: 2GB at mmc0 >> 41.6MHz/4bit/65535-block >> >> Regards, >> Ronald. >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"