From nobody Fri Dec 22 00:05:01 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 4Sx6y133vnz54SC8 for ; Fri, 22 Dec 2023 00:05:29 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 4Sx6y05WsTz4f7W for ; Fri, 22 Dec 2023 00:05:28 +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=fKkaOE6S; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=GHedZTaq; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.28 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 5A9EC5C01F4 for ; Thu, 21 Dec 2023 19:05:28 -0500 (EST) Received: from imap46 ([10.202.2.96]) by compute6.internal (MEProxy); Thu, 21 Dec 2023 19:05:28 -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=1703203528; x=1703289928; bh=oNsKr+INrr aLYR5U34gih8xsoM1DtCUlQU8xC3Zz7zg=; b=fKkaOE6ShYjTDlmfpnCIs7FI+B 0i+cQZSpVhKUCDbn8LpLIdZEqSJtWFDbfINkqZGdS2QAmdQMcdCrkSrwW++woWc5 uQe1BC3aSN01SNVet3MNPDpmtLgr9CsejzaZgdCqWVeJ6+jz1j754wYmp3PyUXb2 x3JCGXNCRlZclU/2SBbLLoFckmTvirmQQXKSkVBH+ycvIC/cJXqkTTds63UIL6ih WGq5kf8kjGcfyQX+qBoeTMixipbnTKb73+XsWcskoe5sSWDr8lrUp/i0exlLHUkc xSdkjNxEZfb5xqWVzN4/jReKUAq4K5eaMRhyjcaIpaH+mXNDvux/18y5PVyQ== 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=1703203528; x=1703289928; bh=oNsKr+INrraLYR5U34gih8xsoM1D tCUlQU8xC3Zz7zg=; b=GHedZTaqiaGCbtkMr7nLsp0W85q+J0M865ahtHbx83lb CVj3gFM/ZueaJq85B8fTaqZ9rBidWK3GSF52CBNeCakgItLKTrZIupj0f7E3+4Gh 8egQdtOA4RPXqvhUWgZY3PZX4/bLIkRgsYpa3CwP8i9Kz8PVKy5y7INpX0F62C8Y FIMTQzzao6Ra3jaqFKssTvMM1HxEbP0/G+4mvdXa51oY/zVEjxjcx+G1e1treeuy wg52ytxvdrIPHjfNjTn4Dlkw5JyKdkCUqzCzFOVDVJ+P88jH+314y72I3rk9rVlb K6KK/WVTk1OpGYNj5pYw65/hi3DeUAjVuAbdX+rRsg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduiedgudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpehvohhiugcuoehvohhiugesfhdqmhdrfhhmqeenucggtffr rghtthgvrhhnpeeitedvueehtdehtddvhfeuhfevhedvieelvdeiffehveelheegfedule ejudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehvohhiugesfhdqmhdrfhhm X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 18CE72A2008B; Thu, 21 Dec 2023 19:05:28 -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: <1dbf8804-f1ac-4578-a538-889744d7de9a@app.fastmail.com> In-Reply-To: <1439231787.9333.1703184981914@localhost> References: <1439231787.9333.1703184981914@localhost> Date: Fri, 22 Dec 2023 00:05:01 +0000 From: void To: freebsd-fs Subject: Re: measuring swap partition speed Content-Type: text/plain X-Spamd-Result: default: False [-4.19 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; 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.28:c]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.28:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28: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: 4Sx6y05WsTz4f7W X-Spamd-Bar: ---- On Thu, 21 Dec 2023, at 18:56, Ronald Klop wrote: > A bit weird that a simple dd is so slow. > > Just a quick thought. > Are your partitions aligned properly? no idea. How would I check? The system when installed, the auto-zfs option was selected, block size set to 4k. The swap was changed from the default 2gb to 12gb. geli encryption is active for the zfs filesystem but not for swap. It's only the swap that shows performance issues. > Is other IO going on on the same time? not really, the tests were done with cron jobs deactivated, almost completely idle, swap was not being used at all. > What does gstat say about %util, queue length and all the other stats > while running the dd? Or "iostat -x -d 1". I'll try that next, thanks > Could you try if another disk has the same issues? no spare or equivalent disk for this arch. > How is your disk connected? USB-to-SATA-adapter? Any output of dmesg? Regular usb3 connection. da0: 400.000MB/s transfers da0: 953869MB (1953525168 512 byte sectors) da0: quirks=0x2 da0: Delete methods: --