Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 26 Jul 2001 13:47:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 26 Jul 2001 13:47:44 -0400 Received: from mail.myrio.com ([63.109.146.2]:5615 "HELO smtp1.myrio.com") by vger.kernel.org with SMTP id ; Thu, 26 Jul 2001 13:47:25 -0400 Message-ID: From: Torrey Hoffman To: "'Alan Cox'" , Nat Ersoz Cc: linux-kernel@vger.kernel.org Subject: RE: IGMP join/leave time variability Date: Thu, 26 Jul 2001 10:47:05 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Original-Recipient: rfc822;linux-kernel-outgoing Alan Cox wrote: > Read the IGMP RFC documents they discuss in detail the cases > where time delays and randomness are needed and important. I'm one of Nat's co-workers, also looking at this problem. RFC 2236, the IGMPv2 spec, states: " When a host joins a multicast group, it should immediately transmit an unsolicited Version 2 Membership Report for that group, in case it is the first member of that group on the network. To cover the possibility of the initial Membership Report being lost or damaged, it is recommended that it be repeated once or twice after short delays [Unsolicited Report Interval]. " >From this, I infer that there should be _no_ initial delay on sending the IGMP join. In fact, a quick peek at the source confirms this: (net/ipv4/igmp.c): #define IGMP_Initial_Report_Delay (1*HZ) /* IGMP_Initial_Report_Delay is not from IGMP specs! * IGMP specs require to report membership immediately after * joining a group, but we delay the first report by a * small interval. It seems more natural and still does not * contradict to specs provided this delay is small enough. */ But this "small interval" is actually very noticeable in our application. I think we'll take it out of our version, and I believe it should be removed from the standard kernel. Regards, Torrey Hoffman - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/