From owner-svn-src-head@freebsd.org Fri Aug 25 15:33:37 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B9B7DDB0B6 for ; Fri, 25 Aug 2017 15:33:37 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3CAC64BD8 for ; Fri, 25 Aug 2017 15:33:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x230.google.com with SMTP id 81so400878ioj.5 for ; Fri, 25 Aug 2017 08:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=OpLCwuun7XhTtykrkMUD7+TySvKiVlZfX3w9lVxWqYM=; b=gyAM04ViWzXsYZgle6/zxElUb18AqtGbrsskm0g6PSJ4lyUkloXoZq1QGgZpshbBhw Ru+ucmShrBqLR7Ja17rzXVTrGSFavwAzptF5neaWeHuDzuKcRh1nkzIIjg7ku9t/sRGB 9dbLLhh2hp+cHPJjgvH+heRMe2zQXxxqLHstiwbjJ70jacQHQQWUcOJACgDERAqlZ7dW 6BWZjdY7JXxeGwPqg+VRmYTWq/9BE8E+jGt/fi+Hcs8HlWajZtBV6Ui0aYw74UqCGWnP XNfmCR8ODpFiHzpDLTNxR9tB0MEYmqYHPb59ihWivJtGQAR72uuc4EVeULr6nTH8aVE6 ej9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=OpLCwuun7XhTtykrkMUD7+TySvKiVlZfX3w9lVxWqYM=; b=molYjQMr8zhiBydAun4d34bI8waBXnbh0VMcl7BQEhsgSZ/CxV3l2XpM5ihXnhQPLp I8sdHyMdWNxwBR3p8G0kdv0bNxWA3qJsxGV5YH6N56ozk3nVhEcYaBH/F6cDsAKiMWZj qSa3kGZxUPEKrOs0+7TBU4tH/E+smSXWSwSxwwQygTfmXeNLgBTkmvIGJiWBsjlobcuD kn4hUCxBLTTKxC//1jmCjbzr+WGzyFBnBRuekgxuDTjy2z8DUv5GbVb1LFl9gUaZeAsm /axogI6yGZb26r9Yfp912I7qeBxYg19yBZeWA8P+c1dz7oYuzSzxxmhEvcU6VF4qHzIL RoUw== X-Gm-Message-State: AHYfb5gbJTCUOXIGyfz34ywTHqelbp5+Ky63EcQkIKEkOdxcXyh4GLpp NgxT7EKq3oYiOAjEm7vbmXNNx5MkDtv8 X-Received: by 10.107.131.219 with SMTP id n88mr8422310ioi.277.1503675216055; Fri, 25 Aug 2017 08:33:36 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.10.71 with HTTP; Fri, 25 Aug 2017 08:33:35 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:c525:dd46:ae7:666a] In-Reply-To: <20170825133514.GA9110@zxy.spb.ru> References: <201708242211.v7OMBAlc012582@repo.freebsd.org> <20170825133514.GA9110@zxy.spb.ru> From: Warner Losh Date: Fri, 25 Aug 2017 09:33:35 -0600 X-Google-Sender-Auth: WEKr287hH-ZVi84qbMSZvcplTSA Message-ID: Subject: Re: svn commit: r322863 - head/sys/cam To: Slawa Olhovchenkov Cc: Warner Losh , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Aug 2017 15:33:37 -0000 On Fri, Aug 25, 2017 at 7:35 AM, Slawa Olhovchenkov wrote: > On Thu, Aug 24, 2017 at 10:11:10PM +0000, Warner Losh wrote: > > > Author: imp > > Date: Thu Aug 24 22:11:10 2017 > > New Revision: 322863 > > URL: https://svnweb.freebsd.org/changeset/base/322863 > > > > Log: > > Expand the latency tracking array from 1.024s to 8.192s to help track > > extreme outliers from dodgy drives. Adjust comments to reflect this, > > and make sure that the number of latency buckets match in the two > > places where it matters. > > May be up to 1min? > I'm not sure what additional data you'll get between "totally sucks, at least 8s latency" and "totally sucks, at least 32s." or "totally sucks, at least 64s" though the latter isn't possible with the default timeouts... I'm planning on adding a 'max' latency that's self-resetting instead of expanding the bucket upwards. I'm also contemplating expanding it down to 100us or even 10us since nda serves nvme drives which easily can be sub 100us. Warner