From owner-freebsd-arm@freebsd.org Thu Mar 8 16:02:51 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 A2A7BF3ECCB; Thu, 8 Mar 2018 16:02:51 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [IPv6:2a02:21e0:16e0:fe::101:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "raven.bwct.de", Issuer "raven.bwct.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 33CB78229C; Thu, 8 Mar 2018 16:02:51 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.15.2/8.15.2) with ESMTPS id w28G2lvR007513 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 8 Mar 2018 17:02:47 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id w28G2djo012490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 8 Mar 2018 17:02:39 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.15.2/8.15.2) with ESMTPS id w28G2dkl085959 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 8 Mar 2018 17:02:39 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id w28G2c4j085958; Thu, 8 Mar 2018 17:02:38 +0100 (CET) (envelope-from ticso) Date: Thu, 8 Mar 2018 17:02:38 +0100 From: Bernd Walter To: bob prohaska Cc: ticso@cicely.de, freebsd-fs@freebsd.org, freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: best settings for usb2 and attached disks, and sdcards Message-ID: <20180308160238.GD80981@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <1520403325.3513270.1294320744.0B1DE142@webmail.messagingengine.com> <20180308094636.GA80981@cicely7.cicely.de> <20180308152611.GA61027@www.zefox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180308152611.GA61027@www.zefox.net> X-Operating-System: FreeBSD cicely7.cicely.de 11.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 16:02:51 -0000 On Thu, Mar 08, 2018 at 07:26:11AM -0800, bob prohaska wrote: > On Thu, Mar 08, 2018 at 10:46:36AM +0100, Bernd Walter wrote: > > > > I'm currently very pleased with the SanDisk Extreme Plus micro SD > > cards. > > They are quite expensive, but behave way better with random writes. > > > I don't think I've seen Sandisk Extreme Plus devices, how do they differ > from "ordinary" Sandisk extreme devices? I think there is a "Pro" version, > is that the same thing? I don't know any other SanDisk Extreme SD cards than the Extreme Plus I have. The Ultra, I usually use, have those typical long delay problems, while the Extreme Plus never showed up in gstat with more than 100ms absolute worst case, usually below 25ms under random write load with 4-8MB/s datarate. Those I have are labeled as SDSQXBG-032G-GN6MA. > > Event better in random write performance are the SanDisk Extreme > > USB sticks. > > Also quite expensive though and quite big. > > > Likewise, my experiece, spread over 4 RPi2's and 2 RPi3's, has been good. > > > I can't tell, however, if they are better in case of power loss > > related data corruption. > > > > Never done a systematic test, but accidental unplugs and power cycles > after a crash have never caused problems fsck -f won't fix. I've had those problems with any kind of card I've used. This even happened for me with fully readonly mounted cards. Cards have to do ocassional refresh writes for reads, which means at low level there's no such thing as read-only, but it is amazing that customers even mange to catch those. The Extreme Plus however are new for me and I can't tell yet. At least they are way better during development. So far I've went to NFS, but NFS has a higher latency and 100MBit ethernet is slower than local cards could deliver. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.