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

[Xen-changelog] [xen-unstable] xend: adjust relocation buffer size



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1242694200 -3600
# Node ID fad68a77af5c71e36130eea1ec8bf967c9495763
# Parent  887337323bd8fd47f2129b1647620ace6439d458
xend: adjust relocation buffer size

This can greatly improve ssl relocation performance (to about 1/3
compared with buffersize 1024).

Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
---
 tools/python/xen/web/connection.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 887337323bd8 -r fad68a77af5c tools/python/xen/web/connection.py
--- a/tools/python/xen/web/connection.py        Tue May 19 01:48:18 2009 +0100
+++ b/tools/python/xen/web/connection.py        Tue May 19 01:50:00 2009 +0100
@@ -37,7 +37,7 @@ for TCP and unix-domain sockets (see tcp
 for TCP and unix-domain sockets (see tcp.py and unix.py).
 """
 
-BUFFER_SIZE = 1024
+BUFFER_SIZE = 16384
 BACKLOG = 5
 
 

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


 


Rackspace

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