aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-05-19 01:50:00 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-05-19 01:50:00 +0100
commitf770d340f1380e924a1cdc201d3872306d263945 (patch)
tree7ec45dcd80efc95f5419da95a67f8a094188ce87 /tools
parent94c3a1b680594628134f2bb6d12bb64f6daf737d (diff)
downloadxen-f770d340f1380e924a1cdc201d3872306d263945.tar.gz
xen-f770d340f1380e924a1cdc201d3872306d263945.tar.bz2
xen-f770d340f1380e924a1cdc201d3872306d263945.zip
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@oracle.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/web/connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/web/connection.py b/tools/python/xen/web/connection.py
index 3d335d2fbd..17e1762085 100644
--- a/tools/python/xen/web/connection.py
+++ b/tools/python/xen/web/connection.py
@@ -37,7 +37,7 @@ specifying what kind of socket they are. There are subclasses
for TCP and unix-domain sockets (see tcp.py and unix.py).
"""
-BUFFER_SIZE = 1024
+BUFFER_SIZE = 16384
BACKLOG = 5