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

[Xen-ia64-devel] [Patch] improve response time at creating a guest



Hi,

When I create a guest having large memory,
Some guests could not get network response for several seconds.
The issue is caused by xencomm_privcmd_memory_reservation_op().
To improve the response time, the attached patch reduces
MEMORYOP_MAX_EXTENTS.

Signed-off-by: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>

Best Regards,

Akio Takebe
diff -r 3643a33de277 arch/ia64/xen/xcom_privcmd.c
--- a/arch/ia64/xen/xcom_privcmd.c      Mon Jun 30 16:14:04 2008 +0100
+++ b/arch/ia64/xen/xcom_privcmd.c      Fri Jul 18 01:00:05 2008 +0900
@@ -445,7 +445,7 @@ xencomm_privcmd_memory_reservation_op(pr
                 *   increase adoptively measuring hypercall time.
                 *   It might be over-kill.
                 */
-#define MEMORYOP_MAX_EXTENTS   (MEMORYOP_XENCOMM_LIMIT / 4)
+#define MEMORYOP_MAX_EXTENTS   (MEMORYOP_XENCOMM_LIMIT / 8)
 
                while (nr_extents > 0) {
                        xen_ulong_t nr_tmp = nr_extents;
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

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