[lvs-users] Kernel Tuning for LVS
horms at verge.net.au
Sat Aug 7 00:42:30 BST 2010
On Fri, Aug 06, 2010 at 02:16:25PM -0400, Neal B wrote:
> Over the past day I have been searching the net for the definitive answer
> for the recommended tweaks to the kernel for ipvs. If you are doing this
> then change this, but that does not exist. :)
> I see suggestions on the net for changing all of the following:
> I assume that these values are very specific to the desired goal your load
> balancer is trying to achieve.
> I am currently seeing on our lvs active/passive pair a drop in connections
> every 10 minutes undder high load. Turning off the ipvs_sync daemon caused
> this 10 minute spikes in failures to disappear. The 10 min spike in
> failures is gone however now failures seem to be following the number of
> connections. High connection = Higher error. We have a full GIGE internet
> connection and pass TBs of traffic per day in an LVS-NAT setup. Changing
> the magic parameter above in the kernel is going to increase the maximum
> allowed connections.
> We do see this error:
> IPVS: ip_vs_send_async error
> Checking out prior posts this will help and we can implement:
> Can a few experts on this list suggest which of the values above to target
> tuning first?
I don't have an answer for that question. But I am interested in
changing ip_vs_sync.c such that it uses a dynamic "sleep" to avoid
this problem from that end.
Out of interest, which kernel are you using, and more specifically,
what is the argument to msleep_interruptible() in ip_vs_sync.c ?
What I am interested to know is if you are seeing the error with
More information about the lvs-users