[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161129223607.GB17732@htj.duckdns.org>
Date: Tue, 29 Nov 2016 17:36:07 -0500
From: Tejun Heo <tj@...nel.org>
To: Shaohua Li <shli@...com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Kernel-team@...com, axboe@...com, vgoyal@...hat.com
Subject: Re: [PATCH V4 13/15] blk-throttle: add a mechanism to estimate IO
latency
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
Powered by blists - more mailing lists