From nobody Mon Feb 07 07:57:47 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7FE3D19C4538 for ; Mon, 7 Feb 2022 07:57:59 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ua1-x930.google.com (mail-ua1-x930.google.com [IPv6:2607:f8b0:4864:20::930]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JsdmQ2M2gz4bPQ for ; Mon, 7 Feb 2022 07:57:58 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ua1-x930.google.com with SMTP id u77so7622961uau.6 for ; Sun, 06 Feb 2022 23:57:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EH06ykj08UDiihr5C6xwt8TNV+6F/yceTv5QRHitwQQ=; b=76ELQ1r3RiJDopIaPq6NmXaQhbZLe9aewvVPmQYFAbd/7r1MlRBliJpKiQyw/g2IjE bP82MSPYYDpvCcf2lNeY7V0XWQNR8IYzmOOHr4jsUCphKc+V+S1OqbZZEMHZv3CWJ/cD UrQGGSvAVC7V4nnv683qMab4FfZUWK3tYgMqTcmXyTUMYZfLkDac4wpSdWwf27jRCgeh J4fU6FUJ4TascS0ek30j7B9Oa3Su7UGAVr1gH0CQHmspjIl7DE1J2/AFn1S0CJBHMQKY ACOXDXn4xEyuJQpKKGMLI2LKuFlYS7SMTQoqZ68fe3gBTCNk02OIN5T0Tw/psGBuaoF8 i/QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EH06ykj08UDiihr5C6xwt8TNV+6F/yceTv5QRHitwQQ=; b=F3yR3SYbXr4xeW2QrgEj8+4T+ubaxWhZJEkBCEZmyt3vWWcmRCZPKHjDS+Lw4luIf2 E+5hv3dUmqelHuWEyVXyIi7riCfQ7IrwK48mtAGNzOg8+lCJ9ZaqZYZiBCxULLh9Er62 D0eocEHMcTDASyYr6Hdn5HtwYsTZhuiPKxo0vKucFXAs0SBk2SrYLlAHUBd/Y2goaQiH J1aXi4npWSEbPOUmHE+N3CrqEaR/uz38UMT555cTy2aDolAhyzAzQh0lj+mzpD8CJdb9 cHzwj9NKf942Wn50+DvD9Y+CCXG3KINIKT+kY+79e7WVuLDhSsTC2aqE2jV69JwPFJ5o DOtg== X-Gm-Message-State: AOAM531PYKNp/ne86udwsPywrgbUhilDjhLxl0RgYKoWPg90Y3MqOR3z HctJlpAy64X4fOmsmZKrUl47BtDUTa1x3Pr9pCdnggbNamY= X-Google-Smtp-Source: ABdhPJw6UsNm2algh7jPhDHxM0AWiYIrQqkeLBFMQLyjCR+u4rDNuveuZQPN3yGUSdSCSoGFTjO5/Te+UDuj8j9Gp+g= X-Received: by 2002:a67:dd17:: with SMTP id y23mr3498337vsj.77.1644220677672; Sun, 06 Feb 2022 23:57:57 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <7e8459e4-d708-7750-402c-cda2adf6199f@freebsd.org> <60ebd011-c2b8-3524-1476-123f11128ffe@freebsd.org> In-Reply-To: From: Warner Losh Date: Mon, 7 Feb 2022 00:57:47 -0700 Message-ID: Subject: Re: USB Disk Stalls on -current To: grarpamp Cc: FreeBSD Current Content-Type: multipart/alternative; boundary="0000000000006cef6605d768f570" X-Rspamd-Queue-Id: 4JsdmQ2M2gz4bPQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=76ELQ1r3; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::930) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.23 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::930:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(0.77)[0.768]; MLMMJ_DEST(0.00)[freebsd-current]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --0000000000006cef6605d768f570 Content-Type: text/plain; charset="UTF-8" On Mon, Feb 7, 2022, 12:51 AM grarpamp wrote: > Yes, some USB hw is very flaky, > but ZFS can work great on these... > > https://www.youtube.com/watch?v=7z526m1jvls > https://www.youtube.com/watch?v=dougISKs2vQ > https://vimeo.com/13758987 > https://www.youtube.com/watch?v=1zIoK_9UzHk Doesn't help the performance hiccups though. If you are waiting for a drive to spin up or come out of power save mode or a USB interface chip to reset, the filesystem isn't going to matter. ZFS does a good job recovering in the face of this, but it's not without a performance hit. Warner --0000000000006cef6605d768f570 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Doesn't help the performance hiccups though. If you are waiting for a = drive to spin up or come out of power save mode or a USB interface chip to = reset, the filesystem isn't going to matter.
ZFS does a good job recovering in the face of this= , but it's not without a performance hit.

Warner
--0000000000006cef6605d768f570--