From nobody Sat Dec 23 19:55:43 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 4SyFKC6byWz54wR8 for ; Sat, 23 Dec 2023 19:55:59 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-20.consmr.mail.gq1.yahoo.com (sonic317-20.consmr.mail.gq1.yahoo.com [98.137.66.146]) (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 4SyFKB5w6sz4HTY for ; Sat, 23 Dec 2023 19:55:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=L8BgYS7O; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.66.146 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=1703361356; bh=s9hDYdZ16H4ZlCeSE5Dgs1fOIlAtcp4nvYxQm1lKIZs=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=L8BgYS7OsG341Slq/B0pcaXVjv8gwaIMaX9Ct3hyY80YRxSaTRbhKMSGSVOt3+gMTlL/OZreaSQhq4d8pR0PV1+DstKtYl4+XU3XhBWuEcMBZX9OkmBfNJy1/XHK3y5dy/38uCaZMZNR44QaulTuHIj/a/2cb78ScGRmrzVRxvK6sR1uqUEPBtVhjZryu0o1JIoLimNq8boJealt8q5EoIM6j9ixmEU34ZuPEQZvGHgAyAwHJ2aVQ66jtNuSx23VQjCWRkPg71NUgfd+veMljS56zh+ceO8NgTcn2LdyVzByd5zlvmrCyWwUcny0sA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acf22FT3CJk4QrOLX0kBeg0mz8hfrpkfZv.3rX K3cdf8cG0PshmVtL5_Y_OVuHRXTHbWAfPwACnGiyJ22d7a8pfInek_edTRq.cfZ20L8wCz7B_ZR3 T5ocAs.RKoPO6SkXuq1OWL8e8sxzBY3fTwQYsg6W4iAhmc1sKrr4RoFEwNRROVJcSD5WwDqiywmR 4V6y6rslRp5pBX76yq09KwXEhFxs3j5x4L4MZ6Jz.gMy1Y7TjO5yHN.zOmzfVU3MAHxeoYUwOM7i PN8KTVnrC0SAQ_XaCBL4JX6t6yXePE_NZ94NsUKAxCyzQbhkb0cism1JIPIVJgxrHuox9WE1Y1.D DBk622xU8xEEUePmCFG.8emSV1euWPlzopOWWy7vcViYn7V6ZrbspNnjqp1yFMlrPzxlG5sHr3CJ xkvvfFtRVXnpOBF5iwrpRp.dhpXUG7CGZWB2wAydTjv9TuharSx9wTxVeyUZQ6CKqKOCcGct9N_g Kxl_Ir1wZofu1_F8vS5X6KqNE5IQgVEsYGhghqRZqkvPstTVFu2cYOK8uKMWHmanYre6hpMNI1Rt HaekKZvc5dRztxHWIPbC5VS1qghGf6XC.HACN4YzWtvM1sq_n3zAfSoPxEk0t0S8iqdGqjBrzKAn q8bwxD7GuLesG3_TxO67wrxHQ2LkPvgbOBAVuD9OVwKbhSavHUYihrHfoXNDvpbtu.HuU4Hkp4sc m X-Sonic-MF: X-Sonic-ID: 5f096bad-d59a-455e-a00c-f4d26a533b35 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.gq1.yahoo.com with HTTP; Sat, 23 Dec 2023 19:55:56 +0000 Received: by hermes--production-gq1-6949d6d8f9-dpfkp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c555999766c6a14270b03fbe6c7207d7; Sat, 23 Dec 2023 19:55:54 +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: Date: Sat, 23 Dec 2023 11:55:43 -0800 To: void , freebsd-fs@freebsd.org X-Mailer: Apple Mail (2.3774.300.61.1.2) References: 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.997]; 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.66.146:from]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.66.146: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: 4SyFKB5w6sz4HTY X-Spamd-Bar: --- void wrote on Date: Sat, 23 Dec 2023 15:52:55 UTC : > On Fri, 22 Dec 2023, at 09:37, Ronald Klop wrote: > > Can you provide more concrete information? Like: > > > > # usbconfig list >=20 > # usbconfig list > ugen0.1: <(0x1106) XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST = spd=3DSUPER (5.0Gbps) pwr=3DSAVE (0mA) > ugen0.2: at usbus0, cfg=3D0 md=3DHOST = spd=3DHIGH (480Mbps) pwr=3DSAVE (100mA) > ugen0.3: at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (1.5Mbps) pwr=3DON (24mA) > ugen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH = (480Mbps) pwr=3DON (450mA) > ugen0.5: at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER = (5.0Gbps) pwr=3DON (36mA) >=20 > The power supply is the approved 5.1V 3A one. I use CanaKit power supplies that have more margin for the power: 5.1V 3.5A > > And the output of "devinfo -v". That will give people much more=20 > > information to work with instead of "anecdotal evidence" about your=20= > > hardware being usb3. >=20 > devinfo -v : https://bsd.to/ADPj >=20 > detailed dmesg is here: https://bsd.to/Q5tx That last indicates another potentially significant difference from my example benchmarks done for comparison to yours: GEOM_ELI: Device da0p3.eli created. GEOM_ELI: Encryption: AES-XTS 256 GEOM_ELI: Crypto: software That likely contributes to slowing down I/O for da0p3 and possibly to leaving less time for I/O to other partitions when da0p3 is in use. If you had the resources to test avoiding the encrypted partition for your type of media, that might prove interesting. I've never had occasion to want to use any encrypted partitions for my FreeBSD activity. I'm unsure of the GEOM_ELI processing-time contributions vs. "gstat -spod" reporting. =3D=3D=3D Mark Millard marklmi at yahoo.com