]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
xend: adjust relocation buffer size
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 00:50:00 +0000 (01:50 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 00:50:00 +0000 (01:50 +0100)
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>
tools/python/xen/web/connection.py

index 3d335d2fbdb9638155f4d738496779726dd64cd2..17e1762085d983cb5348586c51ce2df83070db19 100644 (file)
@@ -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