From: Alexey Dobriyan <adobriyan-3ImXcnM4P+0@public.gmane.org>
To: Pavel Emelyanov <xemul-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
Cc: Linux Containers
<containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org>,
Paul Menage <menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
Christoph Lameter <clameter-sJ/iWh9BUns@public.gmane.org>
Subject: Re: [Devel] [RFC][PATCH 3/3] Tune caches to be accountable or not
Date: Thu, 30 Aug 2007 14:02:12 +0400 [thread overview]
Message-ID: <20070830100212.GA31518@localhost.sw.ru> (raw)
In-Reply-To: <46D6916C.3070806-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
On Thu, Aug 30, 2007 at 01:44:12PM +0400, Pavel Emelyanov wrote:
> The /sys/slab/<name>/cache_account attribute controls
> whether the cache <name> is to be accounted or not.
>
> For the reasons described in the zeroth letter kmalloc
> caches are excluded and are not allowed to be merged.
>
> By default no caches are accountable. Simply make
> # echo -n "on" > /sys/slab/<name>cache_account
> to turn accounting on. Maybe its better to make it
> # echo -n "1" > ...
> ?
IMO, echo 1 >/sys/slab/*/account is the best. With obvious changes
in show function.
prev parent reply other threads:[~2007-08-30 10:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 9:32 [RFC][PATCH 0/3] Kernel memory accounting container Pavel Emelyanov
[not found] ` <46D68EA6.2010707-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-08-30 9:34 ` [RFC][PATCH 1/3] Setup the kmem container Pavel Emelyanov
[not found] ` <46D68F39.3060100-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-08-30 16:01 ` Paul Menage
2007-09-03 19:04 ` Paul Menage
[not found] ` <6599ad830709031204t47727796mb5f2998b372a306a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-04 9:24 ` Pavel Emelyanov
[not found] ` <46DD2454.50303-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-09-04 14:56 ` Paul Menage
2007-08-30 9:39 ` [RFC][PATCH 2/3] The accounting hooks and core Pavel Emelyanov
[not found] ` <46D69051.4030707-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-09-03 18:59 ` Paul Menage
[not found] ` <6599ad830709031159o5e1ed636y122b8075f1d814be-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-09-04 9:26 ` Pavel Emelyanov
2007-08-30 9:44 ` [RFC][PATCH 3/3] Tune caches to be accountable or not Pavel Emelyanov
[not found] ` <46D6916C.3070806-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org>
2007-08-30 10:02 ` Alexey Dobriyan [this message]
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=20070830100212.GA31518@localhost.sw.ru \
--to=adobriyan-3imxcnm4p+0@public.gmane.org \
--cc=clameter-sJ/iWh9BUns@public.gmane.org \
--cc=containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org \
--cc=menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=xemul-GEFAQzZX7r8dnm+yROfE0A@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