From owner-freebsd-arm@freebsd.org Tue Jun 26 20:16:03 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 F23C11017BE8 for ; Tue, 26 Jun 2018 20:16:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-12.consmr.mail.bf2.yahoo.com (sonic304-12.consmr.mail.bf2.yahoo.com [74.6.128.35]) (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 963DB8280B for ; Tue, 26 Jun 2018 20:16:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: N6kLx94VM1mblcHqk3UIktA3EhIuY5Q6OsPsRZvUCXDdLneSfY.ErSZ.L96X.u5 o.Rs2npUT3CboEI3vsxq_Z_8INvVuLsa_pGfS1uesmMMcubrISxiMnHSMMhdv9EETK2uF8nHG1Bl aL084eZ2aEsGl131dcNsxHPpca78SPJphVhKF7glYC_wBIyCidkfnvyg6jVGOVgugIRM.yyxgIME EnPtcHU_dX2YeiNckhbdAiYRbarlna7G9O_GOzN2mhAFcnC9y5EgWnbh4vYPIOo1lymlbqPWfqGR e5qGN3jEq9gPzDWDQC87qXZWgEQedH89fBC773ZGWTBzeSKb3OWk7uPs5pBzEOgkyUhk30WZc0V_ LmpR6j_90iUmgWDstBmsNnqpbLmQV4U378BQsoX1Blg911YStGYvL0fHs2VHZ1ytvhyQhlUFFzlG it53RMKb1qv8zzVmWeQwTMpOjfqHp3W43fEJvZFvC..h5o8RF4fCF3ZH.ZCsQnuAHctC1sdVUlfm MV7jeYr2XEoI7FGVs40gws4uRpW9kbppatXd4Wv7g3CHgajrG6rVe5MvORIAejC9ZEwRKOv8sLfN zUtK1tBcxwx7SxPPFf_xFkNAg7ANXqH4mLJ83jz4VfLfJe5B.NTsW5Vzc6ndx2JWE_Z.ygADNQrP r5Oq7DogYgQfrlSW7xMJIyg7yrBfS2O7APLrSoJwrrbjKqV2mTvRrHj3GTjQj1_9zGrCSPgiEt6d uSFfrcp3SJ7rHtMFEybRToxVeDqMS3So27Pu0nCRAL.qvTWD.pzPmGAjOhsNptrJaljqpXiR9cST qeC54dlFOQkGqkS7a49LJO9uQAY8EbE.a6wYs3jJApEOQDWbHdQ6RGazAqETMfrXizScgy2HexGE 04CG0JhDc2cU7FC1BzxWouXV.YiJeIlArcd7N8LYMAe_wWD34Opp2JzOI2x5hFbcFuCir72ZhPhF i1Hg0rSRv0UD5QrngODBTkUsP5I70jgZw8NAr_wMKocT.Hi78WnlKPMe8SDQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Tue, 26 Jun 2018 20:16:01 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp408.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 23ddd967cca5a54e2b1a0226534d8608; Tue, 26 Jun 2018 20:15:57 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: RPI3 swap experiments, was Re: GPT vs MBR for swap devices From: Mark Millard In-Reply-To: <20180626151843.GD17293@www.zefox.net> Date: Tue, 26 Jun 2018 13:15:54 -0700 Cc: Jamie Landeg-Jones , Warner Losh , freebsd-arm Content-Transfer-Encoding: 7bit Message-Id: <3525D7C7-F848-45A1-BD85-2DAC895DF48C@yahoo.com> References: <10CAC122-399D-459E-9153-ABD7E753777E@yahoo.com> <20180623143218.GA6905@www.zefox.net> <03C2D3C4-6E90-4054-AF79-BD7FE2B7958D@yahoo.com> <20180624231020.GA11132@www.zefox.net> <20180626052451.GA17293@www.zefox.net> <201806261040.w5QAeBKq035183@donotpassgo.dyslexicfish.net> <20180626151843.GD17293@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2018 20:16:03 -0000 On 2018-Jun-26, at 8:18 AM, bob prohaska wrote: > On Tue, Jun 26, 2018 at 07:37:59AM -0700, Mark Millard wrote: >> >> >> . . . >> >> As I remember, Bob P. Did reproduce drive errors even without >> the problem drive being used for swapping. This too suggests >> (A) as separate activity. >> > Indeed, it is a requirement. If the suspect device is used for swapping > OOMA kills prevent the test from progressing to the point of failure. > Looking back at http://www.zefox.net/~fbsd/rpi3/swaptests/ and information about /dev/da0 rive errors it does not appear that a combination with: A) sufficient swap (> 1.5 GiByte total?) but no use of swap on any partition on /dev/da0 and: B) use of /dev/da0 for /usr/ and /var/ and: C) Records from the console showing errors (or notes indicating lack of such errors). exists. So I was remembering incorrectly. I'm not claiming such a combination is the best direction for the next tests, but absent such tests there is no compare/contrast to know if /dev/da0 would still get errors despite the system having sufficient swap present on other drives. Thus, I would not go so far as "is a requirement" on the evidence available. We do have evidence for the system having insufficient swap space: this context seems to have the current status "is sufficient but might not be necessary" for /dev/da0 getting drive errors. As for simpler contexts, one that would swap but would be far simpler a context than buildworld buildkernel might be something like using the stress port via options like: stress -d 2 -m 3 --vm-keep (The option values likely could need adjustment from context to context to match available resources. The above is not carefully tailored to your context or a modern context. It dates back to 2016-Jan-22 for showing vnode based swap failures in a 1 GiByte RAM + 1 GiByte swap-file context [inside virtualbox on amd64 hardware]: see comment 3 of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206048 .) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)