* how to drop cache of guest os?
@ 2010-07-26 16:15 Gu, Zhongshu
2010-07-26 16:17 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Gu, Zhongshu @ 2010-07-26 16:15 UTC (permalink / raw)
To: kvm
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?
Thanks
--
Zhongshu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: how to drop cache of guest os?
2010-07-26 16:15 how to drop cache of guest os? Gu, Zhongshu
@ 2010-07-26 16:17 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2010-07-26 16:17 UTC (permalink / raw)
To: Gu, Zhongshu; +Cc: kvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-26 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 16:15 how to drop cache of guest os? Gu, Zhongshu
2010-07-26 16:17 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox