
heder at google
Jul 27, 2009, 2:05 AM
Post #10 of 10
(1417 views)
Permalink
|
|
Re: [lvs-users] TCP connection dropping ~7% of the time
[In reply to]
|
|
On Thu, Jul 23, 2009 at 20:23, Malcolm Turnbull<malcolm [at] loadbalancer> wrote: > I forgot about that change, It is permanent then? IPv6 for IPVS is mainline, see: commit e7ade46a53055c19a01c8becbe7807f9075d6fee Author: Julius Volz <juliusv [at] google> Date: Tue Sep 2 15:55:33 2008 +0200 this contributes 2 (+ u16 af) + 3 * 12 (union nf_inet_addr instead of __be32) = 50 bytes / connection, other changes contribute apparently more. Cheers, Hannes > 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 [at] google>: >> On Wed, Jul 22, 2009 at 14:33, Joseph Mack NA3T<jmack [at] wm7d> 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 [at] LinuxVirtualServer >> Send requests to lvs-users-request [at] LinuxVirtualServer >> 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 [at] LinuxVirtualServer > Send requests to lvs-users-request [at] LinuxVirtualServer > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer Send requests to lvs-users-request [at] LinuxVirtualServer or go to http://lists.graemef.net/mailman/listinfo/lvs-users
|