Displaying 2 results from an estimated 2 matches for "victim_to_i_t".
2012 Jan 05
13
[PATCH] xenpaging:add a new array to speed up page-in in xenpaging
...54a5e994a241 -r 052727b8165c tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c Wed Nov 02 17:09:09 2011 +0000
+++ b/tools/xenpaging/xenpaging.c Thu Dec 29 17:08:24 2011 +0800
@@ -599,6 +599,7 @@
struct sigaction act;
xenpaging_t *paging;
xenpaging_victim_t *victims;
+ victim_to_i_t *page_out_index = NULL;
mem_event_request_t req;
mem_event_response_t rsp;
int i;
@@ -637,6 +638,17 @@
}
victims = calloc(paging->num_pages, sizeof(xenpaging_victim_t));
+ if (NULL == victims)
+ {
+ ERROR("Failed to alloc memory\n");
+ got...
2012 Jan 05
3
[PATCH 0 of 2] xenpaging:speed up page-in
The following two patches are about how to speed up in xenpaging when page in pages.
On suse11-64 with 4G memory,if we page out 2G pages,it will cost about 15.5 seconds,
but take 2088 seconds to finish paging in.If page-in costs too much time,it will cause
unmesurable problems when vm or dom0 access the paged_out page,such as BSOD,crash.
What鈥檚 more,the dom0 is always in high I/O pressure.