Re: New Address Family: Inter Process Networking (IPN)

From: Andi Kleen
Date: Thu Dec 06 2007 - 18:06:24 EST


On Thu, Dec 06, 2007 at 05:02:40PM -0600, Chris Friesen wrote:
> Andi Kleen wrote:
>
> >>On a 1.4GHz P4 I measured a 44% increase in latency between a unix
> >>datagram and a UDP datagram.
>
> >That's weird.
>
> I just reran on a 3.2GHZ P4 running 2.6.11 (Fedora Core 4). 42% latency
> increase.

Sounds like something that should be looked into. I know of no
principal reasons for that.

> For stream sockets, unix gives approximately a 62% bandwidth increase
> over tcp. (Although tcp could probably be tuned to do better than this.)

How long a stream did you test? You might be measuring slow start.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/