Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532826

Re: [PATCH V4 13/15] blk-throttle: add a mechanism to estimate IO latency

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH V4 13/15] blk-throttle: add a mechanism to estimate IO latency
Date 2016-11-29 23:40 +0100
Message-ID <sIZe9-63P-1@gated-at.bofh.it> (permalink)
References <sDxVf-4Bm-3@gated-at.bofh.it> <sDxVg-4Bm-45@gated-at.bofh.it> <sIUo9-311-7@gated-at.bofh.it> <sIZe9-63P-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On Tue, Nov 29, 2016 at 10:30:44AM -0800, Shaohua Li wrote:
> > As discussed separately, it might make more sense to just use the avg
> > of the closest bucket instead of trying to line-fit the buckets, but
> > it's an implementation detail and whatever which works is fine.
> 
> that is still like a line fit. Don't think there is big difference.

Yeah, just wondering whether that'd be simpler.

> > > Hard disk is completely different. Latency depends on spindle seek
> > > instead of request size. So this latency target feature is for SSD only.
> > 
> > I'm not sure about this.  While a disk's latency profile is way higher
> > and more erratic than SSDs, that doesn't make latency target useless.
> > Sure, it'll be more crude but there's a significant difference between
> > a cgroup having <= 20ms overall latency and experiencing multi-sec
> > latency.
> 
> Sure, latency target is useful for hardisk too. But we need a different
> stragety. For hard disk, the latency highly depends on seek. Probably we can
> make the latency target the same for all request size. Not sure if average
> latency makes sense. Need more tests with hard disk. I'd like to forcus on SSD
> in current stage.

Sure, it's fine to focus on SSDs for now but with either line fitting
or bucketed avg, it should be fine, right?  The slope of the line
would be way lower and the deviation would be higher but that doesn't
really get in the way here.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH V4 13/15] blk-throttle: add a mechanism to estimate IO  latency Tejun Heo <tj@kernel.org> - 2016-11-29 18:30 +0100
  Re: [PATCH V4 13/15] blk-throttle: add a mechanism to estimate IO  latency Tejun Heo <tj@kernel.org> - 2016-11-29 23:40 +0100

csiph-web