[Spice-devel] [PATCH 05/24] server/red_channel: make MAX_SEND_VEC 100
Marc-André Lureau
marcandre.lureau at gmail.com
Wed Feb 2 10:50:19 PST 2011
ack
On Wed, Jan 19, 2011 at 7:07 PM, Alon Levy <alevy at redhat.com> wrote:
> 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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
--
Marc-André Lureau
More information about the Spice-devel
mailing list