[Spice-devel] [PATCH 05/23] server/red_channel: make MAX_SEND_VEC 100
Alon Levy
alevy at redhat.com
Mon Feb 7 09:31:07 PST 2011
MAX_SEND_VEC was 100 for DisplayChannel's RedChannel implementation which is being replaced
with RedChannel in red_channel. So changing from 50 to 100 in red_channel
(make this configurble?) - effectively increased memory usage by:
(100-50)*sizeof(iovec)*(num_of_channels-2) ==(arch 64bit) 50*16*6 ~ 5k
Not terrible.
---
server/red_channel.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/red_channel.h b/server/red_channel.h
index b298127..f3c25d4 100644
--- a/server/red_channel.h
+++ b/server/red_channel.h
@@ -29,7 +29,7 @@
#include "server/demarshallers.h"
#define MAX_SEND_BUFS 1000
-#define MAX_SEND_VEC 50
+#define MAX_SEND_VEC 100
#define CLIENT_ACK_WINDOW 20
/* Basic interface for channels, without using the RedChannel interface.
--
1.7.4
More information about the Spice-devel
mailing list