From nobody Sat Dec 23 15:59:21 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 4Sy84b0yRmz54gLW for ; Sat, 23 Dec 2023 15:59:43 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sy84Z5NBwz3N61 for ; Sat, 23 Dec 2023 15:59:42 +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="g/+J7acn"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="Hq/5hpRl"; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.29 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 78D785C014E for ; Sat, 23 Dec 2023 10:59:42 -0500 (EST) Received: from imap46 ([10.202.2.96]) by compute6.internal (MEProxy); Sat, 23 Dec 2023 10:59:42 -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=1703347182; x=1703433582; bh=Z0I0dxjqZo jgjj9XO9bRdbf0cG1+AYC7mEvFeQt0OEI=; b=g/+J7acnuAJnp6mMdaX9dNvYuJ BXZnbeiGbW3o5UNgy27zC+gkBBKHH9Nf2C795KGrmRXcuucVVPQ7FK8BZeo7srL6 ecOfz6sCRkFOlBkC3AFB7lnzFbaaYPqTxpNPcva3pWxAJO6yGXQtz5kUXh79JYcX JoAlaxUgDGbMofPZ/n9nAof9HiXoTuCxpThR0Q9dIPDD8btxmC4tCL7jUkxjFJa8 gXWSHlcI/w19sgiH59c9uHnG9a+UZTrwD/2TprgdOAVr0Io9mYyfJMJWJseh1zaa 81GmI0QcmOuUB2tCro55vQIYraHkiPWc7Pg6am4ZfxqtKyQj2Jn5Pupzvvng== 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=1703347182; x=1703433582; bh=Z0I0dxjqZojgjj9XO9bRdbf0cG1+ AYC7mEvFeQt0OEI=; b=Hq/5hpRl7+JLJu4rU0bt8UW/Du5Jy5LJ9FsHy6RYqbO2 Bv5dcCvSgGVPZeXvuJt2l91Ynw6JAsoWmVYKXx7DTbReeXxGBZ+axn8JLqNQY7fY 1vpUPLmDbZLO+TsUdPiPmsdU9BdTNjx7mqNE19afqth2DD9/RdUs2E+dSLlVRpLG VqS7v8VnfmAGohAwqElt9yh2EN2C9XEDOr60Woyd35X+GdkiaNQZ7JDAfRM/2o4h HIVFSJVxkkRBFHbJ3VwgPW4hkhFQIg55Fy4CWGZcPnN6jgF8vACozoDC66XrPDRI /P9QFjYLncNwO8QfW04U1KoQJTo7l3vKM/3ExrHIDw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduledgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffr rghtthgvrhhnpeeitedvueehtdehtddvhfeuhfevhedvieelvdeiffehveelheegfedule ejudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehvohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 417B52A2008B; Sat, 23 Dec 2023 10:59:42 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 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 Message-Id: In-Reply-To: References: Date: Sat, 23 Dec 2023 15:59:21 +0000 From: void To: freebsd-fs Subject: Re: measuring swap partition speed Content-Type: text/plain X-Spamd-Result: default: False [-4.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[66.111.4.29:from]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; XM_UA_NO_VERSION(0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; TO_DN_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; 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)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-fs@freebsd.org] X-Rspamd-Queue-Id: 4Sy84Z5NBwz3N61 X-Spamd-Bar: ---- On Thu, 21 Dec 2023, at 17:32, Mark Millard wrote: > [For this message I'm replying to just the one point because I > expect that it is rather important to your context.] > swapfile write requires the write request to come through the filesystem > write path, which might require the filesystem to allocate more memory > and read some data. E.g. it is known that any ZFS write request > allocates memory, and that write request on large UFS file might require > allocating and reading an indirect block buffer to find the block number > of the written block, if the indirect block was not yet read. Are nfs writes the same as a "write request through the filesystem write path" ? If not the same, then the same deleterious effect in the context? --