Re: [PATCH] Multicast: Avoid useless duplication of multicast messages

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neil Horman
Date: Wednesday, April 15, 2009 - 7:22 am

On Wed, Apr 15, 2009 at 08:51:35AM -0400, Christoph Lameter wrote:
Depending on your setup, 2 is perfectly sufficient.  In fact 1 can be sufficient
if you want to filter in your application, but we've been over that.

Of course it does, but thats zero incremental cost, since you need to know the
device name anyway, when specifying the ifindex to the join request.

I find it justified because I don't see an application using 2 or 3 sockets and a poll or
select call as anything more than trivial.  If you find that to be non-trivial,
perhaps a refresher programming course might be in order for you?


The way things work is counterintuitive to _you_ (is it was to me a few months
ago).  That asside, I came to understand how this actually works, how it has
worked for decades, and how programmers have successfully written applications
that use this model over that time period.  Can we modify the model?  Sure.
Should we?  I certainly don't see any need, given that it does little except
change the model.  For those who understand it, its compltely useless.  I'm
willing to concede that I'm wrong, but not without some modicum of evidence that
this change will benefit existing applications.  If some other operating system
adheres to the model you expect it to, perhaps this has legs, but I don't know
of any that do.  The current model, even if counter intuitive, is well defined,
well understood, and documented.  I fail to see how adding an alternate,
undocumented model (that may itself be counterintuitive to all the developers
who have developed under the current model) adds anything significant.

Neil

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Kernel sends multicast groups to sockets that did not subs ..., Christoph Lameter, (Mon Apr 13, 2:06 pm)
Re: Kernel sends multicast groups to sockets that did not ..., Christoph Lameter, (Tue Apr 14, 6:53 am)
Re: Kernel sends multicast groups to sockets that did not ..., Christoph Lameter, (Tue Apr 14, 11:33 am)
[PATCH] Multicast: Avoid useless duplication of multicast ..., Christoph Lameter, (Tue Apr 14, 11:48 am)
Re: Kernel sends multicast groups to sockets that did not ..., Christoph Lameter, (Tue Apr 14, 1:16 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Tue Apr 14, 2:45 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Wed Apr 15, 5:51 am)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Neil Horman, (Wed Apr 15, 7:22 am)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Wed Apr 15, 12:17 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Wed Apr 15, 12:21 pm)
Re: [PATCH] Multicast: Avoid useless duplication of multic ..., Christoph Lameter, (Thu Apr 16, 7:45 am)