From: Avi Kivity <avi@redhat.com>
To: "Gu, Zhongshu" <gzs715@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: how to drop cache of guest os?
Date: Mon, 26 Jul 2010 19:17:49 +0300 [thread overview]
Message-ID: <4C4DB52D.8000103@redhat.com> (raw)
In-Reply-To: <AANLkTine3oU=NuyVhdz9_CS66x=hd1PgvE=bGa+TiA+H@mail.gmail.com>
On 07/26/2010 07:15 PM, Gu, Zhongshu wrote:
> Hi all:
> Is there any possibility to drop caches of guest os from vmm
> level. We know that in linux, we can echo 3 to
> /proc/sys/vm/drop_caches to do this work. Can we controlled it thru
> kvm to drop the cached pages?
ssh guest bash -c 'echo 3 > proc/sys/vm/drop_caches'
--
error compiling committee.c: too many arguments to function
prev parent reply other threads:[~2010-07-26 16:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-26 16:15 how to drop cache of guest os? Gu, Zhongshu
2010-07-26 16:17 ` Avi Kivity [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=4C4DB52D.8000103@redhat.com \
--to=avi@redhat.com \
--cc=gzs715@gmail.com \
--cc=kvm@vger.kernel.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