kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Martin Wawro <wawro@digitalmedics.de>
Cc: kvm@vger.kernel.org
Subject: Re: [User question] Huge buffer size on KVM host
Date: Wed, 15 Aug 2012 14:30:05 +0300	[thread overview]
Message-ID: <502B883D.5080402@redhat.com> (raw)
In-Reply-To: <502B5877.1080901@digitalmedics.de>

On 08/15/2012 11:06 AM, Martin Wawro wrote:
> Hi all,
> 
> We have noticed a strange thing in one of our setups which uses KVM for
> virtualization.
> The size of the buffer cache turns out to be rather large, here is what
> 'top' on the host
> has to say about it:
> 
> Mem:  12274084k total, 12202860k used,    71224k free,  2991728k buffers
> Swap:  8191992k total,    20232k used,  8171760k free,    44392k cached
> 
> As the host machine itself does not run any data intensive services, we
> assume that
> this is due to the guest VM which receives/sends about 200 GB of data
> per day of which
> about 35G have to be stored on disk (disk array connected to the host
> and used inside
> the guest via virtio). We did not run into problems with this setup, it
> basically runs stable
> for more than a year now (the buffer size never went past 30% of the
> total memory).
> However, we are not sure if the huge size of the buffer cache is
> something one would
> expect here. If this is the case, I would really love to know the reason
> behind it and if
> it has indeed something to do with KVM/virtio. Any enlightenment here
> would make
> my day.
> 
> Our setup:
> --------------
> 
> Host:
>   IBM BladeCenter HS22, 12 GB RAM, Xeon QC CPU
>   CentOS 5.5 (64-bit) running 2.6.18-194.11.1.el5
>   kvm-83-164.el5_5.25 (qemu 0.9.1, modules 2.6.18.194.17.1)
>   libvirt 0.6.3
> 

How is you storage set up?  Files (which format?) or logical volumes?
what's the cache= setting?


-- 
error compiling committee.c: too many arguments to function

  reply	other threads:[~2012-08-15 11:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  8:06 [User question] Huge buffer size on KVM host Martin Wawro
2012-08-15 11:30 ` Avi Kivity [this message]
2012-08-15 12:05   ` Martin Wawro
2012-08-15 12:57     ` Avi Kivity
2012-08-16 14:54       ` Martin Wawro
2012-08-16 14:57         ` Avi Kivity
2012-09-10  9:22           ` Martin Wawro

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=502B883D.5080402@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=wawro@digitalmedics.de \
    /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;
as well as URLs for NNTP newsgroup(s).