From nobody Sun Dec 24 12:28:05 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 4SygL13chBz54YfQ for ; Sun, 24 Dec 2023 12:28:09 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 4SygL05sBhz3XPd for ; Sun, 24 Dec 2023 12:28:08 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b=nZW0LapO; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ICbr3qjj; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.25 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1A8B55C010C for ; Sun, 24 Dec 2023 07:28:08 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 24 Dec 2023 07:28:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1703420888; x=1703507288; bh=HEb6vdONQB y+wmgvCyu3lhx48tw7u7K28ou3l0PrzWM=; b=nZW0LapOdmCMz/7uwkbgsVOAFy eLcB3pECHTrlMiPWtojnkgWoo9xR7vkrC9qyiT4mcQy/TCdvy7xOroXJdoLvcUBc wD/rT41tsj4cw8olWTPoTYdbbLAVaUbrxTGhsmUVyl/sOh1VGmp0aBKdjg3qeeic 5waURmksAjwNCQdYAWpmF2t2ns+L36pRGqO3t4U4lIBUrTt2pknNR5n8dB7TpzTy yO3XJZhzzt0UkGw0QCGbL/j+RM+zJSLbeOSM9FpOi6kaRh9seGKa9ENggDQ+UzPP RcQ46KIQq9LlSUwBUvSDYjCkPARDCoHvX+XMQFPhCVU75Ng1o6faBfhkfGuw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1703420888; x=1703507288; bh=HEb6vdONQBy+wmgvCyu3lhx48tw7 u7K28ou3l0PrzWM=; b=ICbr3qjj9KuBB/j5MqRcjgFgQwSZlb8Zv/KWPGxKNEsR 1pGF+2B8nHjpRJyCskjnrvDTq1jwrHxlWi7NNE8swMaIieoL5Dv1Cd3ZA3uVoBqO Cnk7Ws1PlDZ1YO+/FhPr/4AiW8sLrDtqoYlI6leEpIjurppDeTLtxtM0M2/fy3Bx LxKzDGidKrriHK8T/wVMRYur5ajX01G03Nwtb6ramN6dcZ9mItcc8xLmDRVPDRE0 RcziYIB+d9+m/JggcFZ0a5noCq0KYVJHlzUpjw4r0Xr3RxEwIl8+IsE0x7VyCkx1 kDXRqKBBy2gTZKIZRhkvfJURxzxIrMpxYFN5YaEZew== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddvuddggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgr thhtvghrnheptdfhheeuteejudffkefhtdfhfeekgedtvdeiteevgfejtdfgfeffhfeuie eltdeinecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihii vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhhoihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 24 Dec 2023 07:28:07 -0500 (EST) Date: Sun, 24 Dec 2023 12:28:05 +0000 From: void To: freebsd-fs@freebsd.org Subject: Re: measuring swap partition speed Message-ID: Mail-Followup-To: freebsd-fs@freebsd.org References: 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.25:from]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SygL05sBhz3XPd X-Spamd-Bar: --- On Sat, Dec 23, 2023 at 11:55:43AM -0800, Mark Millard wrote: >If you had the resources to test avoiding the encrypted >partition for your type of media, that might prove >interesting. The problem remains even with UFS. It remains after any non-swap i/o load stops, even when swap is not otherwise in use. I took /dev/da0p5, formatted it with newfs -U and put it at /mnt. then root@pi4:/mnt# date && git clone https://git.freebsd.org/ports.git Sun Dec 24 12:06:50 GMT 2023 Cloning into 'ports'... remote: Enumerating objects: 6044522, done. remote: Counting objects: 100% (941/941), done. remote: Compressing objects: 100% (125/125), done. remote: Total 6044522 (delta 923), reused 821 (delta 816), pack-reused 6043581 Receiving objects: 100% (6044522/6044522), 1.16 GiB | 6.94 MiB/s, done. ^Csolving deltas: 2% (101172/3649394) date && dd if=/dev/urandom of=/dev/da0p6 bs=8k conv=sync status=progress Sun Dec 24 12:06:52 GMT 2023 ^C203841536 bytes (204 MB, 194 MiB) transferred 205.012s, 994 kB/s 25009+0 records in 25008+0 records out 204865536 bytes transferred in 205.914885 secs (994904 bytes/sec) cancelled both processes, checked swap # date && swapinfo -h Sun Dec 24 12:11:56 GMT 2023 Device Size Used Avail Capacity /dev/da0p2 2.0G 0B 2.0G 0% /dev/da0p4 2.0G 0B 2.0G 0% /dev/da0p6 2.0G 0B 2.0G 0% /dev/da0p8 2.0G 0B 2.0G 0% Total 8.0G 0B 8.0G 0% while /dev/da0p6 is available as swap to the system # date && dd if=/dev/urandom of=/dev/da0p6 bs=8k conv=sync status=progress Sun Dec 24 12:10:38 GMT 2023 ^C78790656 bytes (79 MB, 75 MiB) transferred 96.008s, 821 kB/s 9767+0 records in 9766+0 records out 80003072 bytes transferred in 96.986518 secs (824889 bytes/sec) # swapoff /dev/da0p6 # date && dd if=/dev/urandom of=/dev/da0p6 bs=8k conv=sync status=progress Sun Dec 24 12:21:28 GMT 2023 dd: /dev/da0p6: end of device2031 MiB) transferred 105.007s, 20 MB/s 262145+0 records in 262144+0 records out 2147483648 bytes transferred in 105.837991 secs (20290291 bytes/sec) --