From: Todd Vierling <todd.vierling@oracle.com>
To: Linux-MM <linux-mm@kvack.org>
Subject: linux-mm wiki drop_caches doc is incomplete
Date: Wed, 12 Sep 2018 12:39:17 -0400 [thread overview]
Message-ID: <01b0bc19-3326-05b9-166a-61445654a62f@oracle.com> (raw)
I've traced back several bad uses of drop_caches to users and bloggers
who have used this doc page as a reference:
https://linux-mm.org/Drop_Caches
Of course, *we* know that this knob is intended for benchmarking and
debugging, but many less experienced system administrators don't. To a
more green admin, "free" memory might be considered a "good" thing,
never mind the entire purpose of reclaimable caches.
As this is not an editable moinmoin page, will someone with the proper
perms please fix this page, to include the next two paragraphs from the
kernel doc where it came from?:
===
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
...
This file is not a means to control the growth of the various kernel
caches (inodes, dentries, pagecache, etc...) These objects are
automatically reclaimed by the kernel when memory is needed elsewhere on
the system.
Use of this file can cause performance problems. Since it discards
cached objects, it may cost a significant amount of I/O and CPU to
recreate the dropped objects, especially if they were under heavy use.
Because of this, use outside of a testing or debugging environment is
not recommended.
--
-- Todd Vierling <todd.vierling@oracle.com> +1-770-730-4426
reply other threads:[~2018-09-12 16:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=01b0bc19-3326-05b9-166a-61445654a62f@oracle.com \
--to=todd.vierling@oracle.com \
--cc=linux-mm@kvack.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