lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 12/12] cfq-iosched: add hierarchical cfq_group statistics
On Tue, Dec 18, 2012 at 02:18:54PM -0500, Vivek Goyal wrote:
> > Yeah, hmmm, maybe we should add another set of counters to carry stats
> > from dead ones? Avoiding hierarchical accounting overhead in hot path
> > while remembering by-gones shouldn't be that hard. Will work on that.
>
> So are you planning to migrate the stats to parent when a cgroup is being
> deleted? That should make sure we don't do hierarhical update.

Yeah, something like that. The current statistics being !hierarchical
means that we need to keep them separate from the actual stats, so
it'll end up with another set of stats. Kinda nasty but I don't see
any better way out.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2012-12-18 21:21    [W:0.049 / U:2.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site