diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-07 12:20:47 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-11-07 12:35:18 +0200 |
commit | 4374d9e7dec828d54fb4448add61ec22698a73fc (patch) | |
tree | c8ad58fa746782bfb830ae049fa3eba2aaf0ef77 | |
parent | 4c8499703e78a53769692111044a5925788395da (diff) | |
download | spice-4374d9e7dec828d54fb4448add61ec22698a73fc.tar.gz spice-4374d9e7dec828d54fb4448add61ec22698a73fc.tar.xz spice-4374d9e7dec828d54fb4448add61ec22698a73fc.zip |
server/red_channel: make MAX_SEND_VEC 100 like DisplayChannel/CursorChannel in red_worker
-rw-r--r-- | server/red_channel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/red_channel.h b/server/red_channel.h index c271d517..3e2ae48f 100644 --- a/server/red_channel.h +++ b/server/red_channel.h @@ -29,7 +29,10 @@ #include "server/demarshallers.h" #define MAX_SEND_BUFS 1000 -#define MAX_SEND_VEC 50 +// NOTE: MAX_SEND_VEC is 100 for DisplayChannel, was 50 before - make this configurable? +// currently setting to the max - so effectively increased memory usage by +// (100-50)*sizeof(iovec)*(num_of_channels-2) ==(arch 64bit) 50*16*6 ~ 5k. Not terrible +#define MAX_SEND_VEC 100 #define CLIENT_ACK_WINDOW 20 /* Basic interface for channels, without using the RedChannel interface. |