Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 2023 11:55:43 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        void <void@f-m.fm>, freebsd-fs@freebsd.org
Subject:   Re: measuring swap partition speed
Message-ID:  <B4833CC9-96FB-444E-B1BC-2662A2909E7A@yahoo.com>
References:  <B4833CC9-96FB-444E-B1BC-2662A2909E7A.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
void <void_at_f-m.fm> 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: <vendor 0x2109 USB2.0 Hub> at usbus0, cfg=3D0 md=3DHOST =
spd=3DHIGH (480Mbps) pwr=3DSAVE (100mA)
> ugen0.3: <American Power Conversion Back-UPS XS 1400U FW:926.T2 .I USB =
FW:T2> at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (1.5Mbps) pwr=3DON (24mA)
> ugen0.4: <Ralink 802.11 n WLAN> at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH =
(480Mbps) pwr=3DON (450mA)
> ugen0.5: <Toshiba MQ01ABD > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B4833CC9-96FB-444E-B1BC-2662A2909E7A>