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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+FuTSfvShAH4EfDpM+4Ur_H5O=phKax-Xee9iLD3O4SUYiH8w@mail.gmail.com>
Date:	Mon, 10 Jun 2013 12:36:37 -0400
From:	Willem de Bruijn <willemb@...gle.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Eliezer Tamir <eliezer.tamir@...ux.intel.com>,
	David Miller <davem@...emloft.net>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	netdev@...r.kernel.org,
	Jesse Brandeburg <jesse.brandeburg@...el.com>,
	Don Skidmore <donald.c.skidmore@...el.com>,
	e1000-devel <e1000-devel@...ts.sourceforge.net>,
	Ben Hutchings <bhutchings@...arflare.com>,
	Andi Kleen <andi@...stfloor.org>, HPA <hpa@...or.com>,
	Eilon Greenstien <eilong@...adcom.com>,
	Or Gerlitz <or.gerlitz@...il.com>,
	Amir Vadai <amirv@...lanox.com>,
	Eliezer Tamir <eliezer@...ir.org.il>
Subject: Re: [PATCH v10 net-next 2/6] net: add low latency socket poll

On Mon, Jun 10, 2013 at 10:29 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> On Mon, 2013-06-10 at 11:39 +0300, Eliezer Tamir wrote:
>> Adds an ndo_ll_poll method and the code that supports it.
>> This method can be used by low latency applications to busy-poll
>> Ethernet device queues directly from the socket code.
>> sysctl_net_ll_poll controls how many microseconds to poll.
>> Default is zero (disabled).
>> Individual protocol support will be added by subsequent patches.
>>
>> Signed-off-by: Alexander Duyck <alexander.h.duyck@...el.com>
>> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@...el.com>
>> Signed-off-by: Eliezer Tamir <eliezer.tamir@...ux.intel.com>
>> ---
>>
>>  Documentation/sysctl/net.txt |    7 ++
>>  include/linux/netdevice.h    |    3 +
>>  include/linux/skbuff.h       |    8 ++
>>  include/net/ll_poll.h        |  148 ++++++++++++++++++++++++++++++++++++++++++
>>  include/net/sock.h           |    4 +
>>  include/uapi/linux/snmp.h    |    1
>>  net/Kconfig                  |   12 +++
>>  net/core/skbuff.c            |    4 +
>>  net/core/sock.c              |    6 ++
>>  net/core/sysctl_net_core.c   |   10 +++
>>  net/ipv4/proc.c              |    1
>>  net/socket.c                 |    6 ++
>>  12 files changed, 208 insertions(+), 2 deletions(-)
>>  create mode 100644 include/net/ll_poll.h
>
> Acked-by: Eric Dumazet <edumazet@...gle.com>
>

Tested-by: Willem de Bruijn <willemb@...gle.com>

Per Eliezer's request, I applied v10 to a small set of workloads
(netperf tcp_rr, udp_rr, 100x tcp_rr, 100x udp_rr and a poll()-based
tcp rr) for some functional testing.
--
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