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

[Xen-devel] [PATCH 00 of 24] xenpaging fixes for xen-unstable


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 03 Oct 2011 17:54:37 +0200
  • Delivery-date: Mon, 03 Oct 2011 08:55:48 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The following series adds support for xenpaging to libxl and the xl command.
A few code cleanup changes are also part of this series.

The logic of xenpaging was reversed.
It does now monitor the guests tot_pages value and work toward that number by
either paging out more pages, or write pages back into the guest.

Three new configuration file options specific for xenpaging were added:
totmem=<int>
xenpaging_file=<string>
xenpaging_extra=[ 'string', 'string' ]

A new xl command 'mem-tot_pages' instructs xenpaging to adjust its pagefile
size, and it instructs the xl monitor process to actually start xenpaging if
totmem= was not specified in the config file.

Please review and apply.

Olaf


 Config.mk                        |    2 
 config/StdGNU.mk                 |    2 
 tools/libxc/xc_bitops.h          |    6 
 tools/libxl/libxl.c              |  121 +++++++++
 tools/libxl/libxl.h              |    5 
 tools/libxl/libxl_create.c       |  146 +++++++++++
 tools/libxl/libxl_device.c       |   84 ------
 tools/libxl/libxl_dm.c           |   65 +----
 tools/libxl/libxl_dom.c          |    8 
 tools/libxl/libxl_exec.c         |  142 +++++++++++
 tools/libxl/libxl_internal.h     |   33 ++
 tools/libxl/libxl_paths.c        |    5 
 tools/libxl/libxl_types.idl      |    4 
 tools/libxl/xl.h                 |    1 
 tools/libxl/xl_cmdimpl.c         |   71 +++++
 tools/libxl/xl_cmdtable.c        |    5 
 tools/xenpaging/Makefile         |    6 
 tools/xenpaging/file_ops.c       |    6 
 tools/xenpaging/policy_default.c |   23 +
 tools/xenpaging/xenpaging.c      |  479 ++++++++++++++++++++++++++++-----------
 tools/xenpaging/xenpaging.h      |    8 
 21 files changed, 934 insertions(+), 288 deletions(-)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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