search for: migration_bitmap_sync

Displaying 14 results from an estimated 14 matches for "migration_bitmap_sync".

2016 Mar 15
2
[RFC qemu 0/4] A PV solution for live migration optimization
...page logging before getting > > the free pages informant from guest. Even some of the free pages are modified by the guest > > during the process of getting the free pages information, these modified pages will be traced > > by the dirty page logging mechanism. So in the following migration_bitmap_sync() function. > > The pages in the free pages bitmap, but latter was modified, will be reset to dirty. We won't > > omit any dirtied pages. > > > > So, guest doesn't need to keep any free pages. > > OK, yes, that works; so we do: > * enable dirty logging &...
2016 Mar 15
2
[RFC qemu 0/4] A PV solution for live migration optimization
...page logging before getting > > the free pages informant from guest. Even some of the free pages are modified by the guest > > during the process of getting the free pages information, these modified pages will be traced > > by the dirty page logging mechanism. So in the following migration_bitmap_sync() function. > > The pages in the free pages bitmap, but latter was modified, will be reset to dirty. We won't > > omit any dirtied pages. > > > > So, guest doesn't need to keep any free pages. > > OK, yes, that works; so we do: > * enable dirty logging &...
2016 Mar 15
1
[RFC qemu 0/4] A PV solution for live migration optimization
...e free pages informant from guest. > > > > Even some of the free pages are modified by the guest during the > > > > process of getting the free pages information, these modified pages will > > be traced by the dirty page logging mechanism. So in the following > > migration_bitmap_sync() function. > > > > The pages in the free pages bitmap, but latter was modified, will be > > > > reset to dirty. We won't omit any dirtied pages. > > > > > > > > So, guest doesn't need to keep any free pages. > > > > > > OK,...
2016 Mar 15
1
[RFC qemu 0/4] A PV solution for live migration optimization
...e free pages informant from guest. > > > > Even some of the free pages are modified by the guest during the > > > > process of getting the free pages information, these modified pages will > > be traced by the dirty page logging mechanism. So in the following > > migration_bitmap_sync() function. > > > > The pages in the free pages bitmap, but latter was modified, will be > > > > reset to dirty. We won't omit any dirtied pages. > > > > > > > > So, guest doesn't need to keep any free pages. > > > > > > OK,...
2016 Mar 11
3
[RFC qemu 0/4] A PV solution for live migration optimization
...olve this, starting the dirty page logging before getting the free pages informant from guest. Even some of the free pages are modified by the guest during the process of getting the free pages information, these modified pages will be traced by the dirty page logging mechanism. So in the following migration_bitmap_sync() function. The pages in the free pages bitmap, but latter was modified, will be reset to dirty. We won't omit any dirtied pages. So, guest doesn't need to keep any free pages. > 2) Clearing out caches > Does it make sense to clean caches? They're apparently useful data...
2016 Mar 11
3
[RFC qemu 0/4] A PV solution for live migration optimization
...olve this, starting the dirty page logging before getting the free pages informant from guest. Even some of the free pages are modified by the guest during the process of getting the free pages information, these modified pages will be traced by the dirty page logging mechanism. So in the following migration_bitmap_sync() function. The pages in the free pages bitmap, but latter was modified, will be reset to dirty. We won't omit any dirtied pages. So, guest doesn't need to keep any free pages. > 2) Clearing out caches > Does it make sense to clean caches? They're apparently useful data...
2016 Mar 03
0
[RFC qemu 4/4] migration: filter out guest's free pages in ram bulk stage
...'t like hardcoding to a specific method. What about the reverse approach: Code may register a handler that populates the free_pages_bitmap which is called during this stage? <I like the idea of filtering in general, but I haven't looked at the code yet> > + } > + > migration_bitmap_sync(); > qemu_mutex_unlock_ramlist(); > qemu_mutex_unlock_iothread();
2016 Mar 15
0
[RFC qemu 0/4] A PV solution for live migration optimization
...ng before getting the free pages informant from guest. > > > Even some of the free pages are modified by the guest during the > > > process of getting the free pages information, these modified pages will > be traced by the dirty page logging mechanism. So in the following > migration_bitmap_sync() function. > > > The pages in the free pages bitmap, but latter was modified, will be > > > reset to dirty. We won't omit any dirtied pages. > > > > > > So, guest doesn't need to keep any free pages. > > > > OK, yes, that works; so we do: &gt...
2016 Mar 03
2
[RFC qemu 4/4] migration: filter out guest's free pages in ram bulk stage
...n_get_free_pages(migration_bitmap_rcu->free_pages_bmap, + &free_pages_count) == 0) { + usleep(1000); + } + qemu_mutex_lock_iothread(); + + filter_out_guest_free_pages(migration_bitmap_rcu->free_pages_bmap); + } + migration_bitmap_sync(); qemu_mutex_unlock_ramlist(); qemu_mutex_unlock_iothread(); -- 1.8.3.1
2016 Mar 14
0
[RFC qemu 0/4] A PV solution for live migration optimization
...ting the dirty page logging before getting > the free pages informant from guest. Even some of the free pages are modified by the guest > during the process of getting the free pages information, these modified pages will be traced > by the dirty page logging mechanism. So in the following migration_bitmap_sync() function. > The pages in the free pages bitmap, but latter was modified, will be reset to dirty. We won't > omit any dirtied pages. > > So, guest doesn't need to keep any free pages. OK, yes, that works; so we do: * enable dirty logging * ask guest for free pages * ini...
2016 Mar 03
16
[RFC qemu 0/4] A PV solution for live migration optimization
The current QEMU live migration implementation mark the all the guest's RAM pages as dirtied in the ram bulk stage, all these pages will be processed and that takes quit a lot of CPU cycles. >From guest's point of view, it doesn't care about the content in free pages. We can make use of this fact and skip processing the free pages in the ram bulk stage, it can save a lot CPU cycles
2016 Mar 03
16
[RFC qemu 0/4] A PV solution for live migration optimization
The current QEMU live migration implementation mark the all the guest's RAM pages as dirtied in the ram bulk stage, all these pages will be processed and that takes quit a lot of CPU cycles. >From guest's point of view, it doesn't care about the content in free pages. We can make use of this fact and skip processing the free pages in the ram bulk stage, it can save a lot CPU cycles
2016 Mar 10
2
[RFC qemu 0/4] A PV solution for live migration optimization
> > Could provide more information on how to use virtio-serial to exchange > data? Thread , Wiki or code are all OK. > > I have not find some useful information yet. > > See this commit in the Linux sources: > > 108fc82596e3b66b819df9d28c1ebbc9ab5de14c > > that adds a way to send guest trace data over to the host. I think that's the > most relevant to
2016 Mar 10
2
[RFC qemu 0/4] A PV solution for live migration optimization
> > Could provide more information on how to use virtio-serial to exchange > data? Thread , Wiki or code are all OK. > > I have not find some useful information yet. > > See this commit in the Linux sources: > > 108fc82596e3b66b819df9d28c1ebbc9ab5de14c > > that adds a way to send guest trace data over to the host. I think that's the > most relevant to