lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 06 Dec 2007 15:49:51 -0600
From:	"Chris Friesen" <cfriesen@...tel.com>
To:	Andi Kleen <andi@...stfloor.org>
CC:	Renzo Davoli <renzo@...unibo.it>, linux-kernel@...r.kernel.org
Subject: Re: New Address Family: Inter Process Networking (IPN)

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.

For UDP it has to go down the udp stack, then the ip stack, then through 
the routing tables and back up the receive side.

The unix socket just hashes to get the destination and delivers the message.

Chris
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ