Re: possible usb3-connected hard drive spin down causing lag

2020-11-27 Thread tech-lists
On Fri, Nov 27, 2020 at 04:34:24PM +0100, Ronald Klop wrote: Mind to share these tips, so I can use them on my RPI4? ;-) sure! I'll write up a simple site later, but in summary this is what I've done subsequent to the initial setup. E&OE, if it breaks you get to keep both bits, no guarantee

Re: possible usb3-connected hard drive spin down causing lag

2020-11-27 Thread Ronald Klop
Van: tech-lists Datum: vrijdag, 27 november 2020 04:24 Aan: freebsd-current@freebsd.org Onderwerp: Re: possible usb3-connected hard drive spin down causing lag Hi, It seems the issue wasn't with the hardware or the connection. I use mutt and it's the program that was slowing every

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Gary Jennejohn
On Fri, 27 Nov 2020 07:34:32 +0100 Gary Jennejohn wrote: > On Thu, 26 Nov 2020 20:09:41 +0100 > Michael Gmelin wrote: > > > > On 26. Nov 2020, at 19:21, Gary Jennejohn wrote: > > > > > > ___On Thu, 26 Nov 2020 10:44:19 -0700 > > > Warner Losh wrote: > > > > > >>> On Thu, Nov 26, 2020 at

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Gary Jennejohn
On Thu, 26 Nov 2020 20:09:41 +0100 Michael Gmelin wrote: > > On 26. Nov 2020, at 19:21, Gary Jennejohn wrote: > > > > ___On Thu, 26 Nov 2020 10:44:19 -0700 > > Warner Losh wrote: > > > >>> On Thu, Nov 26, 2020 at 4:16 AM Michael Gmelin wrote: > >>> > >>> > >>> > >>> On Thu, 26 Nov 2020

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Gary Jennejohn
On Thu, 26 Nov 2020 19:37:47 +0100 Dimitry Andric wrote: > On 26 Nov 2020, at 19:21, Gary Jennejohn wrote: > > > > On Thu, 26 Nov 2020 10:44:19 -0700 > > Warner Losh wrote: > ... > >>> Example: > >>> > >>> /sbin/camcontrol standby /dev/da2 -v -t 1800 > >> > >> > >> Perfect! I've not had

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread tech-lists
Hi, It seems the issue wasn't with the hardware or the connection. I use mutt and it's the program that was slowing everything down, and that was down to me using new mutt with my old config. The whole pause for 5 seconds thing was due to it scanning gigabytes of email each time it woke up. The

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread tech-lists
On Thu, Nov 26, 2020 at 07:37:47PM +0100, Dimitry Andric wrote: 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

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Michael Gmelin
> On 26. Nov 2020, at 19:21, Gary Jennejohn wrote: > > On Thu, 26 Nov 2020 10:44:19 -0700 > Warner Losh wrote: > >>> On Thu, Nov 26, 2020 at 4:16 AM Michael Gmelin wrote: >>> >>> >>> >>> On Thu, 26 Nov 2020 10:12:06 +0100 >>> Gary Jennejohn wrote: >>> On Thu, 26 Nov 2020 01:14:02

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Dimitry Andric
On 26 Nov 2020, at 19:21, Gary Jennejohn wrote: > > On Thu, 26 Nov 2020 10:44:19 -0700 > Warner Losh 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 camcont

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Gary Jennejohn
On Thu, 26 Nov 2020 10:44:19 -0700 Warner Losh wrote: > On Thu, Nov 26, 2020 at 4:16 AM Michael Gmelin wrote: > > > > > > > On Thu, 26 Nov 2020 10:12:06 +0100 > > Gary Jennejohn wrote: > > > > > On Thu, 26 Nov 2020 01:14:02 -0700 > > > Warner Losh wrote: > > > > > > > On Thu, Nov 26, 2020

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Warner Losh
On Thu, Nov 26, 2020 at 2:47 AM Dimitry Andric wrote: > On 26 Nov 2020, at 01:10, tech-lists wrote: > > > > I have a usb3-connected harddrive. dmesg shows this: > > [...] > > da0: Fixed Direct Access SPC-4 SCSI device > > [...] > > > > running current-r367806-arm64 > > > > I think it might be a

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Warner Losh
On Thu, Nov 26, 2020 at 4:16 AM Michael Gmelin wrote: > > > On Thu, 26 Nov 2020 10:12:06 +0100 > Gary Jennejohn wrote: > > > On Thu, 26 Nov 2020 01:14:02 -0700 > > Warner Losh wrote: > > > > > On Thu, Nov 26, 2020 at 1:07 AM Gary Jennejohn > > > wrote: > > > > On Thu, 26 Nov 2020 00:10:40 +000

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Michael Gmelin
On Thu, 26 Nov 2020 10:12:06 +0100 Gary Jennejohn wrote: > On Thu, 26 Nov 2020 01:14:02 -0700 > Warner Losh wrote: > > > On Thu, Nov 26, 2020 at 1:07 AM Gary Jennejohn > > wrote: > > > On Thu, 26 Nov 2020 00:10:40 + > > > tech-lists wrote: > > > > > > > Hi, > > > > > > > > I have

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Dimitry Andric
On 26 Nov 2020, at 01:10, tech-lists wrote: > > I have a usb3-connected harddrive. dmesg shows this: > [...] > da0: 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

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Gary Jennejohn
On Thu, 26 Nov 2020 01:14:02 -0700 Warner Losh wrote: > On Thu, Nov 26, 2020 at 1:07 AM Gary Jennejohn wrote: > > > On Thu, 26 Nov 2020 00:10:40 + > > tech-lists wrote: > > > > > Hi, > > > > > > I have a usb3-connected harddrive. dmesg shows this: > > > [...] > > > da0: Fixed Direct Acc

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Warner Losh
On Thu, Nov 26, 2020 at 1:07 AM Gary Jennejohn wrote: > On Thu, 26 Nov 2020 00:10:40 + > tech-lists wrote: > > > Hi, > > > > I have a usb3-connected harddrive. dmesg shows this: > > [...] > > da0: Fixed Direct Access SPC-4 SCSI device > > [...] > > > > running current-r367806-arm64 > > > >

Re: possible usb3-connected hard drive spin down causing lag

2020-11-26 Thread Gary Jennejohn
On Thu, 26 Nov 2020 00:10:40 + tech-lists wrote: > Hi, > > I have a usb3-connected harddrive. dmesg shows this: > [...] > da0: 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

possible usb3-connected hard drive spin down causing lag

2020-11-25 Thread tech-lists
Hi, I have a usb3-connected harddrive. dmesg shows this: [...] da0: 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 sysctl or something somewhere w