mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hellen maziku <nahelna@yahoo.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: KVM Dirty Page Log Facility
Date: Sat, 12 Oct 2013 16:05:03 -0700 (PDT)	[thread overview]
Message-ID: <1381619103.81760.YahooMailNeo@web163102.mail.bf1.yahoo.com> (raw)



Greetings!I am new to kvm and are writing a python script to get the number of pre-copy cycles during a remote vm migration given memory size M  of a VM in MB, the page dirty rate R of a vm in MB/s. My question is on 
how to get the page dirty rate. Does kvm provide a dirty page 
log facility that provides user space with a bitmap of modified pages 
since the last call? And if yes, please kindly direct me on how to get 
started. I have searched and come across things like

int kvm_get_dirty_log(struct kvm *kvm, struct kvm_dirty_log *log int *is_dirty)

I do not know if this is what I should use and if so how  I could go about to implement it. 

Thank you very much,


                 reply	other threads:[~2013-10-12 23:12 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=1381619103.81760.YahooMailNeo@web163102.mail.bf1.yahoo.com \
    --to=nahelna@yahoo.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®