> -----原始邮件----- > 发件人: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > 发送时间: 2016年9月27日 星期二 > 收件人: "Chunguang Li" <lichungu...@hust.edu.cn> > 抄送: qemu-devel@nongnu.org, amit.s...@redhat.com, pbonz...@redhat.com, > stefa...@redhat.com, quint...@redhat.com > 主题: Re: [Qemu-devel] Migration dirty bitmap: should only mark pages as dirty > after they have been sent > > Yes, it's probably pretty bad; and we really need to do something like > split the sync into smaller chunks; there are other suggestions > for how to improve it (e.g. there's the page-modification-logging > changes). > > However, I don't think you usually get really random writes, if you > do precopy rarely converges at all, because even without your > observation it changes lots and lots of pages. > > Dave > > -- > Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK
I have read a little about the page-modification-logging. I think it is only a more efficient way for dirty logging with better performance, compared with write protection, but will not solve the problem we are talking about. The only idea to handle this, which I have come up with so far, is to split the sync into smaller chunks that you have mentioned. Maybe I can start from this idea to try to fix it. If you come up with some other idea or suggestion, please let me know. Thank you~ Chunguang -- Chunguang Li, Ph.D. Candidate Wuhan National Laboratory for Optoelectronics (WNLO) Huazhong University of Science & Technology (HUST) Wuhan, Hubei Prov., China