LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] TCP connection dropping ~7% of the time

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] TCP connection dropping ~7% of the time
From: Malcolm Turnbull <malcolm@xxxxxxxxxxxxxxxx>
Date: Thu, 23 Jul 2009 19:23:53 +0100
Hannes,

I forgot about that change, It is permanent then?
I heard some one was going to reduce it for IPV4.

That's a big chunk, doubling the amount of memory required per connection...
Still memory is cheap I guess.






2009/7/23 Hannes Eder <heder@xxxxxxxxxx>:
> On Wed, Jul 22, 2009 at 14:33, Joseph Mack NA3T<jmack@xxxxxxxx> wrote:
>> On Wed, 22 Jul 2009, Graeme Fowler wrote:
>>
>>> it's also possible under a load of many (thousands of?)
>>> connections/second that the IPVS connection table could be
>>> overflowing.
>>
>> this won't happen till there are ($your_memory)/128byte
>> connections
>
> 128 bytes are no longer true, at least since IPv6 support for IPVS was
> merged, but other things have changed as well.  In my config it's
> 264 bytes, but millage may vary.
>
> diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
> index b021464..f5538f4 100644
> --- a/net/netfilter/ipvs/ip_vs_core.c
> +++ b/net/netfilter/ipvs/ip_vs_core.c
> @@ -1476,6 +1476,8 @@ static int __init ip_vs_init(void)
>        }
>
>        IP_VS_INFO("ipvs loaded.\n");
> +       printk(KERN_INFO "IPVS: sizeof(struct ip_vs_conn)=%Zd\n",
> +              sizeof(struct ip_vs_conn));
>        return ret;
>
>   cleanup_conn:
>
> Cheers,
> -Hannes
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>



-- 
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>