diff options
author | Alon Levy <alevy@redhat.com> | 2010-11-07 12:20:47 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-02-07 19:22:44 +0200 |
commit | 26dda37c27b87b63d2603b0e9279334ce870b142 (patch) | |
tree | 0ea9197857e6b9d4d50ac0620c223f62bb1a3525 /server/red_channel.h | |
parent | b4c3b8a58625503c4d9e2dc32e79909bc1144984 (diff) | |
download | spice-26dda37c27b87b63d2603b0e9279334ce870b142.tar.gz spice-26dda37c27b87b63d2603b0e9279334ce870b142.tar.xz spice-26dda37c27b87b63d2603b0e9279334ce870b142.zip |
server/red_channel: make MAX_SEND_VEC 100
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.
Diffstat (limited to 'server/red_channel.h')
-rw-r--r-- | 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 b298127f..f3c25d47 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. |