[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/7] Minor xenguest optimisations



From: Frediano Ziglio <frediano.ziglio@xxxxxxxxxx>

Reduce some number of parts passed to writev.
Avoid possible allocation sending data with writev.
Reduce number of allocations sending memory state.

Changes since v1:
- add commit to cache up to 4 pages in hypercall;
- add other 2 commits reducing chunks passed to write/writev.

Edwin Török (2):
  tools/libs/guest: allocate various migration arrays just once
  tools/lib/call: cache up to 4 pages in hypercall bounce buffers

Frediano Ziglio (5):
  xenguest: Reduce number of parts in write_split_record
  xenguest: Reduce number of I/O vectors in write_batch
  xenguest: Allows writev_exact to change iov array
  xenguest: Reduce number of I/O vectors in write_batch
  xenguest: Use a single write_exact in write_headers

 tools/libs/call/buffer.c        |  28 +++---
 tools/libs/call/core.c          |   3 +-
 tools/libs/call/private.h       |   8 +-
 tools/libs/ctrl/xc_private.c    |  26 ++----
 tools/libs/ctrl/xc_private.h    |   2 +-
 tools/libs/guest/xg_sr_common.c |   6 +-
 tools/libs/guest/xg_sr_common.h |  13 +++
 tools/libs/guest/xg_sr_save.c   | 147 +++++++++++++++-----------------
 8 files changed, 114 insertions(+), 119 deletions(-)

-- 
2.53.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.