[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071206220754.GF20595@one.firstfloor.org>
Date: Thu, 6 Dec 2007 23:07:54 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Chris Friesen <cfriesen@...tel.com>
Cc: Andi Kleen <andi@...stfloor.org>, Renzo Davoli <renzo@...unibo.it>,
linux-kernel@...r.kernel.org
Subject: Re: New Address Family: Inter Process Networking (IPN)
On Thu, Dec 06, 2007 at 03:49:51PM -0600, Chris Friesen wrote:
> Andi Kleen wrote:
> >>Latency was very
> >>important, so we ended up doing essentially a multicast unix socket
> >>rather than taking the extra penalty for UDP multicast.
> >
> >
> >What extra penalty? Local UDP shouldn't be much more expensive than Unix.
>
> On a 1.4GHz P4 I measured a 44% increase in latency between a unix
> datagram and a UDP datagram.
That's weird.
>
> For UDP it has to go down the udp stack, then the ip stack, then through
UDP doesn't really have much stack. IP is also very little assuming
cached route (connect called first)
I would expect the copies to dominate in both cases.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists