From: Andrew Morton <akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
To: righi.andrea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: mrubin-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
dradford-cT2on/YLNlBWk0Htik3J/w@public.gmane.org,
m.innocenti-qooieK91W7JeoWH0uzbU5w@public.gmane.org,
fernando-gVGce1chcLdL9jVzuh4AOg@public.gmane.org,
agk-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
chlunde-om2ZC0WAoZIXWF+eFR7m5Q@public.gmane.org,
dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org,
linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org,
dpshah-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
rientjes-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
matt-cT2on/YLNlBWk0Htik3J/w@public.gmane.org,
menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org,
containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org,
eric.rannaud-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org
Subject: Re: [PATCH -mm] mm: fine-grained dirty_ratio_pcm and dirty_background_ratio_pcm (v2)
Date: Mon, 10 Nov 2008 13:12:55 -0800 [thread overview]
Message-ID: <20081110131255.ce71ce60.akpm@linux-foundation.org> (raw)
In-Reply-To: <4918A074.1050003-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On Mon, 10 Nov 2008 21:58:28 +0100
Andrea Righi <righi.andrea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> The current granularity of 5% of dirtyable memory for dirty pages writeback is
> too coarse for large memory machines and this will get worse as
> memory-size/disk-speed ratio continues to increase.
>
> These large writebacks can be unpleasant for desktop or latency-sensitive
> environments, where the time to complete each writeback can be perceived as a
> lack of responsiveness by the whole system.
>
> Following there's a similar solution as discussed in [1], but a little
> bit simplified in order to provide the same functionality (in particular
> to avoid backward compatibility problems) and reduce the amount of code
> needed to implement an in-kernel parser to handle percentages with
> decimals digits.
>
> The kernel provides the following parameters:
> - dirty_ratio, dirty_background_ratio in percentage (1 ... 100)
> - dirty_ratio_pcm, dirty_background_ratio_pcm in units of percent mille (1 ... 100,000)
hm, so how long until dirty_ratio_pcm becomes too coarse...
What happened to the idea of specifying these in units of kilobytes?
next prev parent reply other threads:[~2008-11-10 21:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1221232192-13553-1-git-send-email-righi.andrea@gmail.com>
[not found] ` <1221232192-13553-1-git-send-email-righi.andrea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-09-12 20:18 ` [RFC] [PATCH -mm 0/2] memcg: per cgroup dirty_ratio Andrew Morton
[not found] ` <48CAF583.8060406@gmail.com>
[not found] ` <48CAF583.8060406-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-09-12 23:10 ` Andrew Morton
[not found] ` <20080912161050.5b6b4065.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-09-22 22:26 ` Michael Rubin
[not found] ` <20080912131816.e0cfac7a.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2008-09-12 23:04 ` Andrea Righi
2008-09-22 23:41 ` Michael Rubin
[not found] ` <532480950809221641y3471267esff82a14be8056586@mail.gmail.com>
[not found] ` <532480950809221641y3471267esff82a14be8056586-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-23 12:50 ` Andrea Righi
2008-09-23 17:48 ` KOSAKI Motohiro
2008-10-07 11:04 ` Balbir Singh
[not found] ` <20080924024437.DC21.KOSAKI.MOTOHIRO@jp.fujitsu.com>
[not found] ` <532480950809231321g7be0dd09pe6a32426b361e676@mail.gmail.com>
[not found] ` <532480950809231321g7be0dd09pe6a32426b361e676-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-09-24 6:59 ` KOSAKI Motohiro
[not found] ` <20080924024437.DC21.KOSAKI.MOTOHIRO-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-09-23 20:21 ` Michael Rubin
2008-10-07 10:35 ` Andrea Righi
[not found] ` <48EB4236.1060100@linux.vnet.ibm.com>
[not found] ` <48EB4236.1060100-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2008-10-07 15:49 ` Andrea Righi
[not found] ` <48EB851D.2030300@gmail.com>
[not found] ` <48EB851D.2030300-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-10-08 1:16 ` KAMEZAWA Hiroyuki
[not found] ` <20081008101642.fcfb9186.kamezawa.hiroyu@jp.fujitsu.com>
[not found] ` <20081008101642.fcfb9186.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2008-10-08 13:13 ` Balbir Singh
[not found] ` <48ECB215.4040409@linux.vnet.ibm.com>
[not found] ` <48EE236A.90007@gmail.com>
2008-11-10 20:58 ` [PATCH -mm] mm: fine-grained dirty_ratio_pcm and dirty_background_ratio_pcm (v2) Andrea Righi
[not found] ` <4918A074.1050003-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-10 21:12 ` Andrew Morton [this message]
2008-11-10 22:03 ` Andrea Righi
[not found] ` <4918AFA1.4000102-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-10 22:12 ` Andrew Morton
2008-11-10 22:15 ` David Rientjes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081110131255.ce71ce60.akpm@linux-foundation.org \
--to=akpm-de/tnxtf+jlsfhdxvbkv3wd2fqjk+8+b@public.gmane.org \
--cc=agk-9JcytcrH/bA+uJoB2kUjGw@public.gmane.org \
--cc=balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
--cc=chlunde-om2ZC0WAoZIXWF+eFR7m5Q@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=dave-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
--cc=dpshah-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=dradford-cT2on/YLNlBWk0Htik3J/w@public.gmane.org \
--cc=eric.rannaud-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=fernando-gVGce1chcLdL9jVzuh4AOg@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org \
--cc=m.innocenti-qooieK91W7JeoWH0uzbU5w@public.gmane.org \
--cc=matt-cT2on/YLNlBWk0Htik3J/w@public.gmane.org \
--cc=menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=mrubin-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=rientjes-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=righi.andrea-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox