Extend virtio-balloon for fast (de)inflating & fast live migration
Get series with b4
b4 am [email protected]Versions newest first
- v7 Latest5 patches 46 repliesIn review
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | virtio-balloon: rework deflate to add page to a listdrivers/ | +8 | 0 replies | |
| 1/5 | virtio-balloon: rework deflate to add page to a listdrivers/ | +8 | 0 replies | |
| 2/5 | virtio-balloon: VIRTIO_BALLOON_F_CHUNK_TRANSFERinclude/ | +12 | 4 replies | |
| 2/5 | virtio-balloon: VIRTIO_BALLOON_F_CHUNK_TRANSFERinclude/ | +12 | 0 replies | |
| 3/5 | virtio-balloon: implementation of VIRTIO_BALLOON_F_CHUNK_TRANSFERdrivers/ | +323 | 36 replies | |
| 3/5 | virtio-balloon: implementation of VIRTIO_BALLOON_F_CHUNK_TRANSFERdrivers/ | +323 | 0 replies | |
| 4/5 | virtio-balloon: define flags and head for host request vqinclude/ | +22 | 2 replies | |
| 4/5 | virtio-balloon: define flags and head for host request vqinclude/ | +22 | 0 replies | |
| 5/5 | This patch contains two parts:drivers/ include/ mm/ | +255 | 4 replies | |
| 5/5 | This patch contains two parts:drivers/ include/ mm/ | +255 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH v7 kernel 0/5] Extend virtio-balloon for fast (de)inflating & fast live migration
Take over this work from Liang.
This patch series implements two optimizations: 1) transfer pages in chuncks between the guest and host; 1) transfer the guest unused pages to the host so that they can be skipped to migrate in live migration.
Please check patch 0003 for more details about optimization 1).
For an idle guest with 8GB RAM, optimization 2) can help shorten the total live migration time from 2Sec to about 500ms in 10Gbps network environment. For a guest with quite a lot of page cache and little unused pages, it's possible to let the guest drop its page cache before live migration, this case can benefit from this new feature too.
Liang Li (5):
virtio-balloon: rework deflate to add page to a list
virtio-balloon: VIRTIO_BALLOON_F_CHUNK_TRANSFER
virtio-balloon: implementation of VIRTIO_BALLOON_F_CHUNK_TRANSFER
virtio-balloon: define flags and head for host request vq This patch contains two parts:
drivers/virtio/virtio_balloon.c | 510 ++++++++++++++++++++++++++++++++---- include/linux/mm.h | 3 + include/uapi/linux/virtio_balloon.h | 34 +++ mm/page_alloc.c | 120 +++++++++ 4 files changed, 620 insertions(+), 47 deletions(-)
Signature · 7 lines
2.7.4 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>