From owner-freebsd-arm@freebsd.org Sat Feb 23 14:32:16 2019 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 06E78151816E for ; Sat, 23 Feb 2019 14:32:16 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [195.149.99.3]) (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 C1F008D63E; Sat, 23 Feb 2019 14:32:14 +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 x1NEWBhe001629 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 Feb 2019 15:32:12 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cicely.de; s=default; t=1550932333; bh=MNR48e1NGpxkc8A9d3OJWdEjnN82EJ072I+iFZOcbHA=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To; b=VxNRv/lk+VXAyYy0yKmX81lK49g2mI9JAvRJh/JQhrNHqj2QDdfcueHa1MDUipbDE vHI+2olG0oaTnujVStqg0KYvRnJt8woQYrxXwEff3bCiIe2VBRZxJeLtuGVIzcXimL nVXx7ObAfHHDPAHkmMn0NA6AfzX2ULq6TjUYcsjc= 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 x1NEW8ag016282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 Feb 2019 15:32:08 +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 ESMTP id x1NEW8Jf005939; Sat, 23 Feb 2019 15:32:08 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.15.2/8.15.2/Submit) id x1NEW7T2005938; Sat, 23 Feb 2019 15:32:07 +0100 (CET) (envelope-from ticso) Date: Sat, 23 Feb 2019 15:32:07 +0100 From: Bernd Walter To: Ian Lepore Cc: Stefan Parvu , freebsd-arm@freebsd.org Subject: Re: RBPI3B+ FreeBSD 12 ZFS Message-ID: <20190223143206.GS93368@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <5D976A97-9800-4A9F-A155-F3BD998AFB4C@kronometrix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely7.cicely.de 12.0-STABLE amd64 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-Rspamd-Queue-Id: C1F008D63E X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cicely.de header.s=default header.b=VxNRv/lk X-Spamd-Result: default: False [-1.49 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[ticso@cicely.de]; R_DKIM_ALLOW(-0.20)[cicely.de:s=default]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cicely.de]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.25)[0.250,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cicely.de:+]; MX_GOOD(-0.01)[cached: mx1.bwct.de]; RCVD_IN_DNSWL_NONE(0.00)[3.99.149.195.list.dnswl.org : 127.0.20.0]; NEURAL_HAM_MEDIUM(-0.94)[-0.938,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:21461, ipnet:195.149.99.0/24, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.00)[country: DE(-0.01)] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 14:32:16 -0000 On Fri, Feb 22, 2019 at 08:59:10AM -0700, Ian Lepore wrote: > On Fri, 2019-02-22 at 17:38 +0200, Stefan Parvu wrote: > > I know ZFS would need a decent amount of RAM to start with. So for > > such low sized > > SBC systems, like Raspberry PI having ZFS for root might be no go. > > > > What I meant was: how complicated would be right now for FreeBSD 12 > > to have an > > ARM64 RBPI3B+ image image which could use ZFS to boot from a SD Card. > > > > Stefan Parvu > > sparvu@kronometrix.org > > > > > > People have run a 512MB beaglebone with zfs on sdcard. It surely wasn't > high performance, and it reported needed some hand-tuning to run at > all, but it worked. The only hand tuning is vfs.zfs.arc_max. Otherwise it just works. I've went down to 128MB without noticeable problems, but never went below 256MB in the long run. But most of my zroot arm systems are 2GB RAM once, either Wandboard-Quad or Pine64-LTS. This is from a Pi1 with 256MB arc_max: last pid: 48345; load averages: 0.00, 0.00, 0.00 up 4+16:57:58 15:28:14 342 threads: 3 running, 321 sleeping, 18 waiting CPU: -3.1% user, 0.0% nice, 3.3% system, 0.7% interrupt, -0.5% idle Mem: 4252K Active, 207M Inact, 4468K Laundry, 145M Wired, 20M Buf, 64M Free ARC: 20M Total, 7162K MFU, 6336K MRU, 32K Anon, 672K Header, 6357K Other 2284K Compressed, 11M Uncompressed, 4.92:1 Ratio Swap: It is a local ntp server, so no high memory load from processes. > There's a lot of mythology about sdcards and what they can and can't > do, and how supposedly fragile they are. It's all a bunch of noise you > can safely ignore. They're slow, but they're plenty reliable. Reliable, unless you power cycle them... Since they have to refresh data after several reads, they can even fail after a powercycle in the wrong situation when your system mounts them readonly. The only cards which, so far, never have failed for me with power cycles are SanDisk Extreme plus. I can really suggest them for anything with random write loads on them, but they are pricey compared to other cards. I doubt they are power cycle proof either, but with fast writes they are less likely to see a power cycle in a bad moment. I know that there are power cycle proof cards available, e.g. from Swiss Bits, but AFAIK non of them make them as uSD cards. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.