Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrea Righi <righi.andrea@...>
Cc: <balbir@...>, <menage@...>, <kamezawa.hiroyu@...>, <dave@...>, <chlunde@...>, <dpshah@...>, <eric.rannaud@...>, <fernando@...>, <agk@...>, <m.innocenti@...>, <s-uchida@...>, <ryov@...>, <matt@...>, <dradford@...>, <containers@...>, <linux-kernel@...>, Michael Rubin <mrubin@...>
Date: Friday, September 12, 2008 - 4:18 pm

On Fri, 12 Sep 2008 17:09:50 +0200
Andrea Righi <righi.andrea@gmail.com> wrote:


Seems like a desirable objective.


I tend to duck experimental and rfc patches ;)

One thing to think about please: Michael Rubin is hitting problems with
the existing /proc/sys/vm/dirty-ratio.  Its present granularity of 1%
is just too coarse for really large machines, and as
memory-size/disk-speed ratios continue to increase, this will just get
worse.

So after thinking about it a bit I encouraged him to propose a patch
which adds a new /proc/sys/vm/hires-dirty-ratio (for some value of
"hires" ;)) which simply offers a higher-resolution interface to the
same internal kernel machinery.

How does this affect you?  I don't think we should be adding new
interfaces which have the old 1%-resolution problem.  Once we get this
higher-resolution interface sorted out, your new interface should do it
the same way.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Andrea Righi, (Fri Sep 12, 11:09 am)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Andrew Morton, (Fri Sep 12, 4:18 pm)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Michael Rubin, (Mon Sep 22, 7:41 pm)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Andrea Righi, (Tue Oct 7, 11:49 am)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, KAMEZAWA Hiroyuki, (Tue Oct 7, 9:16 pm)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, KOSAKI Motohiro, (Tue Sep 23, 1:48 pm)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Michael Rubin, (Tue Sep 23, 4:21 pm)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, KOSAKI Motohiro, (Wed Sep 24, 2:59 am)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Andrea Righi, (Tue Sep 23, 8:50 am)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Andrea Righi, (Fri Sep 12, 7:04 pm)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Andrew Morton, (Fri Sep 12, 7:10 pm)
Re: [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio, Michael Rubin, (Mon Sep 22, 6:26 pm)