Date: Fri, 27 Nov 2020 07:09:25 +0100 From: Gary Jennejohn <gljennjohn@gmail.com> To: Dimitry Andric <dim@FreeBSD.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: possible usb3-connected hard drive spin down causing lag Message-ID: <20201127060925.402ab542@ernst.home> In-Reply-To: <B9FACC7C-E092-4F07-B428-C3C001C8D16D@FreeBSD.org> References: <X77ygGTS09S91bTC@rpi4.local> <20201126080724.1cb3a8af@ernst.home> <CANCZdfr1wbUY_KxyCca8DDR4b6RVpmp6gN-e3ExKcdHSzJFFbQ@mail.gmail.com> <20201126091206.0dcd5b33@ernst.home> <20201126121623.31ea2cd3@bsd64.grem.de> <CANCZdfp6G6h7-Hk%2BbsNVnx2ziJ9XppgbjLvv3QZZw-szaE64Ug@mail.gmail.com> <20201126182108.4314a0aa@ernst.home> <B9FACC7C-E092-4F07-B428-C3C001C8D16D@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Nov 2020 19:37:47 +0100 Dimitry Andric <dim@FreeBSD.org> wrote: > On 26 Nov 2020, at 19:21, Gary Jennejohn <gljennjohn@gmail.com> wrote: > > > > On Thu, 26 Nov 2020 10:44:19 -0700 > > Warner Losh <imp@bsdimp.com> wrote: > ... > >>> Example: > >>> > >>> /sbin/camcontrol standby /dev/da2 -v -t 1800 > >> > >> > >> Perfect! I've not had to deal with sata disks that did this since the > >> ataidle days. I looked in camcontrol before suggesting it, but somehow > >> missed this... Glad I posted a bogus answer (sorry about that), since I > >> learned something new. > >> > > > > camcontrol unfortuantely doesn't work with my USB3 enclosures. I > > suspect that the USB3-to-SATA bridge controller is doing its own thing > > and camcontrol has no effect on its behavior. Not tragic for me since > > I use these disks primarily for backups. But for someone using a USB > > attached disk as a primary file system this behavior will definitely be > > a PITA. > > In this case it's about ATA commands being passed though the USB bridge. > Does "camcontrol identify daX" fail in your case too? > > I have used quite a bunch of different USB disks, mostly from WD or > Seagate, and these come with varying qualities of USB-SATA bridges in > them. But all of them work with "camcontrol identify". > camcontrol identify does work. The enclosure I tested has an ASMedia asm1153e bridge in it. This one idles the disk after a few minutes. -- Gary Jennejohn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201127060925.402ab542>