From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: [PATCH 0 of 9] tools/xenpaging: cleanups and performance improvements Date: Mon, 20 Feb 2012 21:48:02 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Series sent on 2012-01-31, now rebased to 24847:0900b1c905f1 This series adjusts the error reporting in the various code paths, with the intention that fatal errors can be detected by callers and handled properly. During my performance analysis with callgrind I found and fixed a few bottlenecks in the page-in code paths. Changes: xenpaging: use flat index for pagefile and page-in requests xenpaging: no poll timeout while page-out is in progress xenpaging: reduce number of qemu cache flushes xenpaging: move nominate+evict into single function xenpaging: improve performance in policy_choose_victim xenpaging: unify error handling xenpaging: move pagefile filedescriptor into struct xenpaging xenpaging: move page_buffer into struct xenpaging xenpaging: implement stack of free slots in pagefile tools/xenpaging/policy.h | 2 tools/xenpaging/policy_default.c | 63 ++++-- tools/xenpaging/xenpaging.c | 353 ++++++++++++++++++++++----------------- tools/xenpaging/xenpaging.h | 16 - 4 files changed, 261 insertions(+), 173 deletions(-)