WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

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

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [Patch] improve response time at creating a guest
From: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Date: Thu, 17 Jul 2008 16:13:17 +0900
Delivery-date: Thu, 17 Jul 2008 00:13:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
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
<Prev in Thread] Current Thread [Next in Thread>