From nobody Fri Dec 15 14:29:07 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 4SsBRr4JHMz53d2W for ; Fri, 15 Dec 2023 14:29:12 +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 4SsBRq4kf8z4Lr9 for ; Fri, 15 Dec 2023 14:29:11 +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=ioytbtVF; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="Q/5CRRcg"; 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 compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 24B0D5C02D6 for ; Fri, 15 Dec 2023 09:29:10 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 15 Dec 2023 09:29:10 -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 :message-id:mime-version:reply-to:subject:subject:to:to; s=fm2; t=1702650550; x=1702736950; bh=bxl6NrXlbXR9wVTRDVJHg8Z555tIzz96 IqVdPkkbVgc=; b=ioytbtVF3ra9neBgSMgu9Lv+XRLT3RlNi+CCWwCSudimtX0K GXBN6lsYyX/K3BJYZ8cd9Mc9yFMKBTd/mFa12IG973x0+rLPdHo0qonC2xaHjY8S g3SGl6uPHA7G3O8+wMKEMRCz3UNX4txwLM0bEoiBoq99Bo54EWvrIvbbzR0B7F9v VDtev7fKEeXA7DwOLOl12GR+8vK2Dfn3Cdg54SNakTs3pa6jE6oWkl+DLjDJOrhy vKca1uiG9X/8hhXlTa0pvs8g0Gfd/XwPWFt9HsrmQw75Kyo4nbY4i10LDLlzHWtr Ncy+0lEpfV67lb02TOxTPrNYxJwIw8VqwNI3Cg== 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:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1702650550; x=1702736950; bh=bxl6NrXlbXR9wVTRDVJHg8Z555tIzz96IqV dPkkbVgc=; b=Q/5CRRcg8+o1Vh3f8RktQSEcymhpovFqTQ9F5hbTrpD59/fZ42l /oaKej+kt2ub9VZqB0WKIBt2MIzZSw8tXZYqhCHKHqn1TeSoHt63PHo45daoLQnZ K3Topfm+HIT9i7e3fpM5G/OSKf0NIRTbVMtF6oIa1rNsk+VHbg/cc+EMNydAKYd4 UOPyzt1dJ+Udoes4wivRKTzsDOYTvVr3ZMOQTD1HYabC8h7jLetz0Oyp/FdT4TJl KvjEdLGnM1Fv98DMbxiT79YOLHelykPmwQKPR2kRizvY8W9S1mX6W84ZtG8yu456 p0RWOgRdO3eoKqyqxWwsWvXSDjBPe/RinDw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddtvddgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd dtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgrthht vghrnhepveduffeivdfffffghfegfeejfefftdeiteehteekfefhvdefgfettdeuheegff eunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvhho ihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 15 Dec 2023 09:29:09 -0500 (EST) Date: Fri, 15 Dec 2023 14:29:07 +0000 From: void To: freebsd-fs@freebsd.org Subject: measuring swap partition speed Message-ID: Mail-Followup-To: freebsd-fs@freebsd.org 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 X-Spamd-Result: default: False [-4.70 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; 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]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.25:from]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org]; 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: 4SsBRq4kf8z4Lr9 X-Spamd-Bar: ---- Hello list, I have on a rpi4 a usb3-connected disk partitioned like this: # gpart show => 40 1953525088 da0 GPT (932G) 40 532480 1 efi (260M) 532520 2008 - free - (1.0M) 534528 4194304 2 freebsd-swap (2.0G) 4728832 4194304 4 freebsd-swap (2.0G) 8923136 4194304 5 freebsd-swap (2.0G) 13117440 4194304 6 freebsd-swap (2.0G) 17311744 4194304 7 freebsd-swap (2.0G) 21506048 4194304 8 freebsd-swap (2.0G) 25700352 1927823360 3 freebsd-zfs (920G) 1953523712 1416 - free - (708K) If processes swap out, it runs like a slug [1]. I'd like to test if it's the disk on its way out. How would I test swap partitions? [2] [1] it didn't always run like a slug. [2] would nfs-mounted swap be faster? (1G network) [3] swap is not encrypted --