Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Nov 2020 00:10:40 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-current@freebsd.org
Subject:   possible usb3-connected hard drive spin down causing lag
Message-ID:  <X77ygGTS09S91bTC@rpi4.local>

next in thread | raw e-mail | index | archive | help

--oXU/D8KvidHymqLE
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I have a usb3-connected harddrive. dmesg shows this:
[...]
da0: <ADATA HD710 0> Fixed Direct Access SPC-4 SCSI device
[...]

running current-r367806-arm64

I think it might be auto-spinning-down or auto-sleeping. It's
making initial interaction lag of 2-3 seconds. Is there a=20
sysctl or something somewhere where I can tell it to never=20
sleep? Or is that something I'd need to contact the=20
manufacturer about? Or is there an alternative strategy=20
like tmpfs. It's not a "green" drive but I guess it might
be "green" in that it's usb3 powered.

I have vfs.read_max=3D128 in /etc/sysctl.conf
zdb has ashift=3D12

In case it's relevant, the filesystem on the disk is zfs. Once
"woken up", inferaction is quick, as expected.=20

thanks,
--=20
J.

--oXU/D8KvidHymqLE
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl++8nYACgkQs8o7QhFz
NAXGCBAAn9ArO+8vJM7rPsUEm1wZQeYTI9Xdxe56hOj9/MyvhH/NvbgS6MQUL0J4
LhgXlZGtPWMIK4oucE8vWUn8mA7pXB5pdlxy0ZjJEvK8iFaHk+FUkg6S/S5cRX/L
tSj4btKaPRedxDn7af8EMZkVKHuqWdCP1tpvKl5exacS7gSPDS4Q0RLjsYg8Asog
K7ftK9jggoGnIK+Yiya+ovvbl07I/jrj9PKhGjhzOo3n/USfsEBdck6SuW4H9+Ct
YZaVkN7IcIVWuLNSkNbyTm3GP53S+IIjqNiL29OXSdgAB52UZ2WNs6tDtGY93Ee/
4xBKlsc10Sje4zL/hsRyaIyjlxsV5WKnuOGzX/iWoIwCCGbj23UDfnWZLQjQUAeg
YkIPQax9UmZ1S6rJoQo269XHdyc31kModA1BvTKxYY2lfjxSkhmyLgRC30lLtz9w
Pb/OmttarG+e5F4YkwEd6cGBon7Yvi9oty9DqVPCGOQ5swljSiYAJvqO6OETDVA5
Jv9G7IhXXp06LQhER4QGGl5n76+Fnxfvn11Wdt/sTKlXPpCLgyLe7jsUSQlRoUJd
hEO4Ve5pB88rLt2/liF9Q4rCD59uXMnvZsjSQUrvB4OgGwnlS0a5FiUz6rO+2UdF
T3VCxJaxUWiWHu33IhUlWfDWYYXwM0YVX0Dwo/AWCqXR+IBh9Uk=
=pUhE
-----END PGP SIGNATURE-----

--oXU/D8KvidHymqLE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?X77ygGTS09S91bTC>