Re: [PATCH] ipvs: Make the synchronization interval controllable

From: Krzysztof Oledzki
Date: Fri Feb 08 2008 - 10:58:45 EST




On Fri, 8 Feb 2008, Andi Kleen wrote:

Sven Wegener <sven.wegener@xxxxxxxxxxx> writes:

The default synchronization interval of 1000 milliseconds is too high for a
heavily loaded director. Collecting the connection information from one second
and then sending it out in a burst will overflow the socket buffer and lead to
synchronization information being dropped. Make the interval controllable by a
sysctl variable so that users can tune it.

It would be better if the defaults just worked under all circumstances.
So why not just lower the default?

Or the code could detect overflowing socket buffers and lower the
value dynamically.

We can also start sending when amount of data reaches defined level.

Best regards,

Krzysztof Olędzki