From nobody Fri Dec 22 18:17:34 2023 X-Original-To: freebsd-fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SxbBW0NWlz54Hdx for ; Fri, 22 Dec 2023 18:17:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic303-25.consmr.mail.gq1.yahoo.com (sonic303-25.consmr.mail.gq1.yahoo.com [98.137.64.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SxbBT5Ffrz3dvc for ; Fri, 22 Dec 2023 18:17:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=YnAD1gSa; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1703269071; bh=fIVCScX9ZKR/E9bra2d2rJBd+uINhCKb4dk/GabKBj8=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=YnAD1gSaBb/EkrZVadQLwRWID8GzMDEMo8suS1WGULWgWHCU9/i1C5TVHQPZxVuwg9Vk9m8TbgDnlL8iMh7cuN3B5uTYR8Fl8Nu/krBUW4ruR2WUPQl44XSs0vs0fVFM/0VNB5SjoEdmVbWZUUnI1HLcGViAv9/7ICLk9TYnkvrjrbWAsONrv+3ThGkX0GooBd0JBmkX6H+D0M8abgnk8204MDA4lGOqDhUkaLvgTdaMPyG2FhaAWIFr6y9uoLau9aiOUTH63a/XfWNoBgKrl1PjmNgs/5LjkOtyexKx+p2N6QQqA8SHdvFWRwNi5e/LJtgPI8w2/LecDk+NO4w46w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1703269071; bh=bUCOlLC9b79Oyb8eIthuZ5USS7hvF783AoPyKK23MCh=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=YciF4fghNcUcsigWsmEsw+XcySyRbOO2hJPUVlMy0ulUBewi0CnEvLDUA1u4uVEDLuwZOSetJViMHOCphqCBjkz8FuMq4mCYivm9m4d79lXHDC3WIo4stHUCo3h0RWgR4n8T4UIBmxmzuWgKNpgCmyx0U7rXE40U5wR3JcwKbgosaNep95272nEHSwUeA3tg7/rqYDnXIrMnlHWUA7ea+iThHgWaQRyAuCRpjUOTGFFqIS6wEt5HCFkqcvn6mM98j7nH9FDoaVi7mdNEuFU976czQ4VrC1vbglAJ0/gqGmjrj38xhJsRS+gXI5f9xBhnnUwzUVwTPFfcZ++K7CuHiQ== X-YMail-OSG: kYqa.UUVM1nmY6opETZfLi8X6ocm9zNR1w8jd9kffkXaJPLiYXJ3jFYozOl2.M6 MNQPnYsGBUupYLA9aqkUM_2uVQmJ2zM9l7OgwMFX.yT8W__yax4QNJD9E6tpp2g2fUdwDbE8XeHk 6yotAD.9aQC8dCA0yKDHHmRSi6EnkJY6HBjbOetSW4AILEAEUkn0_zZxg92hK1Sx8tsCl0SGHXec 01jntrR7EOGLKPz_eeZwaUao5BaoQuBBNulZ4UXfK3I3Sj5_8MvXEf2n0ScNC6qynBYwCjwQC4wQ oUJIwgVAb0hIzrw1hGGYq.aErISXOTb8KHJICDkYvUHd0BAl.unhSdTSyPdGk7EY223BzKC5fSX9 kRzImLvcEAcQCA_pxcT12Ayozn6TATCPo5qLYSdXKcKi7t_fQHVe5vcNrJObLIaFDWI8r1PhWn.5 s6AWW1M2_mahNSz2flTuvYEBF.ekln_F0dH0yOcwHUe_BENe43TAE0D.opU_fKMQT8QQV5bP1T7a 3JV7b2KW5gytHLIes3qKkI2FOUuYS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JFF1xIYUCvj0GLG9MPRIx1S1bGEpPoYX413PyPBuC.wm_ mYVdniEBH5KmrqeW0MlatexZhlLqE5l4yggtO4ZSuVBzkH7ZXml5IzmNiG1sA7NKFDjLnvwApl9v BRy1l8g0hlUoPeF.qkYcxLBJ9UAsVIBZKi2PVm9E9SkvVdJxbfmGtUdcAnudzR0HnGya5xk0pHz5 oBC7GRWha6HWEPOXzk0q97KFtao9UjP2K6l3W8vr3FrZmtQel8QC93kSuE.JoU2AT3RZX609HRz5 sO7VB_o6kexkVZHsM9qukD_MzvX_.LyAf95tde07TUVenfwtT3ydxlj9fvYs5NunAbZXRRJ5QjM1 xP_jQLTpwv3J.t4z76o_ktg79G9lVmqFwaEA08G49_MP4apPTFOn1s2t68KCWgIOZnLq1KHKsQqt gHr9gpOpdOvzMceYMO4qvIv1c6GZ7nJkVSpt154ct3unzD03xSqB51tSYUU5YWLOFX07ZtGAEFMa CzdxUUHbRpB4uyhvgbWTE6X5SIGb8H2vgT7KNFMmQkZfGIQnFTkGfb5x6hK5LiwavjhYcTU83A_W FYFW.pZCqnhxCYjAyCblWXQJX7o.ui60sZiR24ep7X9uBOX8iD8UFgemzH87gRX7Ar6es9gLhlrQ x2K_I4u0AkXLuLRnV5eK42VH2USVyHhIKO6CZ2ToM9JMc4nV.uiQMNDypVwirzB5Ag4nB9bUnOpF E X-Sonic-MF: X-Sonic-ID: 6db3f37b-d4bc-4606-9110-2c63e9c4f8d7 Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.gq1.yahoo.com with HTTP; Fri, 22 Dec 2023 18:17:51 +0000 Received: by hermes--production-gq1-6949d6d8f9-c9pk7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cfdd67e59e1210986cdb849dd55cb704; Fri, 22 Dec 2023 18:17:46 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) Subject: Re: measuring swap partition speed Message-Id: <84A99C91-9DB2-4611-A040-2261C1C46CDE@yahoo.com> Date: Fri, 22 Dec 2023 10:17:34 -0800 To: void , freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.3774.300.61.1.2) References: <84A99C91-9DB2-4611-A040-2261C1C46CDE.ref@yahoo.com> X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.206:from]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.206:from]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[f-m.fm,freebsd.org]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SxbBT5Ffrz3dvc X-Spamd-Bar: --- void wrote on Date: Fri, 22 Dec 2023 16:59:10 UTC : > My assessment of the "system being inactive while testing" may have > been inaccurate. By "being inactive" I was looking at avg load being > 1% or less, and for swap use being 0. Maybe the initial "inactive" = test=20 > should have been in single user mode [1] because the tests in this = mode > show no (I mean much less) of a speed issue. Apologies for not = considering=20 > single user mode till now. The results in single user mode seem to me = to=20 > infer that there is no problem with the hardware. Suggestion: Compare/contrast what you see via "gstat -spod" for single user vs. not when you are not deliberately running the swap I/O test but other things are similar to when you do. > I have been able to reliably create the problem by rebooting the > computer, then running something that does not need to be one huge = chunk of data, > that doesn't load the system that much, so ran 'make installworld' and = in another=20 > terminal ran the write-to-swap-partition test [2]. I suggest monitoring what "gstat -spod" shows during a make installworld run (no competing writes to swap). Then with both going in overlapping time frames: what is noticably different? I wonder if UFS vs. ZFS contributes for the RAM-related bandwidth = limited RPi4B. (One core can saturate the RAM-related subsystem depending on how effective the RAM caching happens to be for the access patterns involved.) > It shows in this context=20 > that writing to the filesystem effectively blocks writing to swap.=20 > 507 kB/s compared to 16 MB/s. I don't know if this is unique to arm64 = or=20 > if it's also the case on other arches, but it seems suboptimal to me. I do not have a built world to install on my stable/14 snapshot media. I'll have to switch to a main [so: 15] media (that is not up to date) if I'm going to provide some sort of matching type of activity comparison/contrast. This would be using a newer USB3 NVMe media. Probably UFS instead of ZFS instead: I may not have both of the main [so: 15] media available to me for now. If I do this, it will likely not be quickly. =3D=3D=3D Mark Millard marklmi at yahoo.com