[Spice-devel] [PATCH 05/24] server/red_channel: make MAX_SEND_VEC 100
Alon Levy
alevy at redhat.com
Wed Jan 19 10:07:51 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 9598077..69b4cbf 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.3.4
More information about the Spice-devel
mailing list