From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761150AbYBHP6o (ORCPT ); Fri, 8 Feb 2008 10:58:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757856AbYBHP6c (ORCPT ); Fri, 8 Feb 2008 10:58:32 -0500 Received: from bizon.gios.gov.pl ([212.244.124.8]:37497 "EHLO bizon.gios.gov.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756706AbYBHP6b (ORCPT ); Fri, 8 Feb 2008 10:58:31 -0500 Date: Fri, 8 Feb 2008 16:57:47 +0100 (CET) From: Krzysztof Oledzki X-X-Sender: olel@bizon.gios.gov.pl To: Andi Kleen cc: Sven Wegener , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ipvs: Make the synchronization interval controllable In-Reply-To: <871w7n34ss.fsf@basil.nowhere.org> Message-ID: References: <1202333990-19359-1-git-send-email-sven.wegener@stealer.net> <871w7n34ss.fsf@basil.nowhere.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-187430788-1369484947-1202486267=:10726" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---187430788-1369484947-1202486267=:10726 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 8 Feb 2008, Andi Kleen wrote: > Sven Wegener writes: > >> The default synchronization interval of 1000 milliseconds is too high fo= r 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 l= ead to >> synchronization information being dropped. Make the interval controllabl= e 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, =09=09=09=09Krzysztof Ol=EAdzki ---187430788-1369484947-1202486267=:10726--