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
| ||
|
Message-ID: <CAHG7+CDeve6WoQB4+q4LwaJVy_gLHbfsDpAt+8rqhw0VUeBA8w@mail.gmail.com> Date: Thu, 29 Mar 2012 11:22:21 +0300 From: Alexandru Copot <alex.mihai.c@...il.com> To: Eric Dumazet <eric.dumazet@...il.com> Cc: Daniel Baluta <dbaluta@...acom.com>, Flavio Leitner <fbl@...hat.com>, davem@...emloft.net, kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] tcp: bind() use stronger condition for bind_conflict On Wed, Mar 28, 2012 at 11:12 PM, Eric Dumazet <eric.dumazet@...il.com> wrote: > Some performance data would be welcomed, in the case many sockets are > already bound... I've done some tests running a program that creates and binds(0) 90000 sockets. The total running time, on average, is: * without this patch: 0.352 s * with the patch: 0.355 s Also, recording this program with perf shows a small increase of 0.6% for inet_csk_get_port relative to inet_bind, after applying the patch. So the performance is almost the same, even for such a large number of sockets. Alex Copot -- 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