lkml.org 
[lkml]   [2013]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectKVM Dirty Page Log Facility


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,

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2013-10-13 01:21    [W:0.221 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site