Date: Sun, 6 Feb 2022 11:18:01 -0700 From: Sean Bruno <sbruno@freebsd.org> To: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: USB Disk Stalls on -current Message-ID: <afd3d3d0-c44f-71a0-5202-bdc0bf8dbbfe@freebsd.org> In-Reply-To: <CAOgwaMv0ztuiiGpXjw0AYRLpQLUwRThgLk7ejadNQ0aitx=p-g@mail.gmail.com> References: <7e8459e4-d708-7750-402c-cda2adf6199f@freebsd.org> <CAOgwaMv0ztuiiGpXjw0AYRLpQLUwRThgLk7ejadNQ0aitx=p-g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/6/22 10:52, Mehmet Erol Sanliturk wrote: > > > On Sun, Feb 6, 2022 at 8:15 PM Sean Bruno <sbruno@freebsd.org > <mailto:sbruno@freebsd.org>> wrote: > > I'm doing something "gross" with ZFS & Plex on a little Intel NUC > that I > have here at the house to provide me with a nice little NAS at home. > I'm using 2x USB2 external disks as the mirror. > > I noted that the two USB2 disks I'm using in a mirror seem to "stall" > from time to time and its not clear to me why. > > I'd like to poke further into the USB system but I'm not sure where I > should start to see if there is something amiss with the hardware (e.g. > the disks suck) or if FreeBSD is losing track of something during I/O > leading to a stall/timeout. > > I'm not seeing data loss or anything, I just note from time to time > during large file transfers that the clanking/grinding sound of the > spinning rust on my desk completely stops, the encoding of the video > files stops (so its waiting for a read to complete) and its gets much > quieter in my office. :-) > > sean > > > > I encountered such a case in Fedora Linux with an external 2.0 USB disk . > When the external disk was connected to a 1.? USB port , the loading of > operating system > was terrifically slow or sometimes some parts normal . > > You may check your USB ports versions to ensure that they are conforming > to each other . > Board USB port may be 2.0 , but connected chassis USB port may be 1.? > like in my chassis . > When USB external disk is connected to the chassis USB 2.0 port , > everything has become normal . > > > Mehmet Erol Sanliturk > > > I see them all up as 480mbps / USB 2.0 if usbconfig and the driver attach is anything to go by. Disk read/write perf when running seems to approach 40MB/s, so I think its running pretty close to the correct speed. ... ugen0.7: <DMI MZF> at usbus0 umass1 on uhub0 umass1: <DMI MZF, class 0/0, rev 2.00/2.69, addr 6> on usbus0 da0 at umass-sim1 bus 1 scbus4 target 0 lun 0 da0: <DMI MZF 2.69> Fixed Direct Access SCSI device da0: 40.000MB/s transfers da0: 1907729MB (3907029168 512 byte sectors) da0: quirks=0x2<NO_6_BYTE> Root mount waiting for: usbus0 .... ugen0.8: <Iomega HDD Iomega HDD> at usbus0 umass2 on uhub0 umass2: <Interface0> on usbus0 da1 at umass-sim2 bus 2 scbus5 target 0 lun 0 da1: <External RAID 0> Fixed Direct Access SPC-2 SCSI device da1: Serial Number ABCDEF0123456847 da1: 40.000MB/s transfers da1: 1907729MB (3907029168 512 byte sectors) da1: quirks=0x2<NO_6_BYTE> ... ugen0.7: <DMI MZF> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) ugen0.8: <Iomega HDD Iomega HDD> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) ... sean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?afd3d3d0-c44f-71a0-5202-bdc0bf8dbbfe>