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] [day] [month] [year] [list]
Message-ID: <1407339663.11943.15.camel@edumazet-glaptop2.roam.corp.google.com>
Date:	Wed, 06 Aug 2014 17:41:03 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	Tom Herbert <therbert@...gle.com>
Cc:	David Miller <davem@...emloft.net>,
	Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 1/2] udp: UDP Fast Port

On Tue, 2014-07-29 at 16:21 -0700, Tom Herbert wrote:

> We still need a context to do the decap though. If we were able to use
> the socket only with rcu and without taking a reference we could just
> call encap_rcv directly from the lookup. I suppose it might be
> plausible to have socket point to another context data structure which
> could be accessed with just rcu protection...

I'll work on UDP stack to get rid of SLAB_DESTROY_BY_RCU, to avoid
refcount atomic ops, and make receiver side faster.

1) UDP sockets are way smaller than TCP ones.

2) Applications wanting fast UDP communications do not
allocate/deallocate sockets for short amount of time.

(netperf has -t TCP_CRR , but no UDP_CRR for example)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ