netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/3]  RDS: RDS-TCP perf enhancements
@ 2015-09-30 20:54 Sowmini Varadhan
  2015-09-30 20:54 ` [PATCH v2 net-next 1/3] RDS: Use a single TCP socket for both send and receive Sowmini Varadhan
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sowmini Varadhan @ 2015-09-30 20:54 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: davem, rds-devel, ajaykumar.hotchandani, igor.maximov,
	sowmini.varadhan, santosh.shilimkar, sergei.shtylyov

A 3-part patchset that (a) improves current RDS-TCP perf
by 2X-3X and (b) refactors earlier robustness code for
better observability/scaling.

Patch 1 is an enhancment of earlier robustness fixes 
that had used separate sockets for client and server endpoints to
resolve race conditions. It is possible to have an equivalent
solution that does not use 2 sockets. The benefit of a
single socket solution is that it results in more predictable
and observable behavior for the underlying TCP pipe of an 
RDS connection

Patches 2 and 3 are simple, straightforward perf bug fixes
that align the RDS TCP socket with other parts of the kernel stack.

v2: fix kbuild-test-robot warnings, comments from  Sergei Shtylov
    and Santosh Shilimkar. 

Sowmini Varadhan (3):
  Use a single TCP socket for both send and receive.
  Do not bloat sndbuf/rcvbuf in rds_tcp_tune
  Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in
    rds_tcp_xmit

 net/rds/connection.c |   22 ++++++----------------
 net/rds/rds.h        |    4 +++-
 net/rds/tcp.c        |   16 ++++------------
 net/rds/tcp_listen.c |   22 +++++++++-------------
 net/rds/tcp_send.c   |    8 +++++++-
 5 files changed, 29 insertions(+), 43 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-05 10:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 20:54 [PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements Sowmini Varadhan
2015-09-30 20:54 ` [PATCH v2 net-next 1/3] RDS: Use a single TCP socket for both send and receive Sowmini Varadhan
2015-09-30 20:54 ` [PATCH v2 net-next 2/3] RDS-TCP: Do not bloat sndbuf/rcvbuf in rds_tcp_tune Sowmini Varadhan
2015-09-30 20:54 ` [PATCH v2 net-next 3/3] RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_xmit Sowmini Varadhan
2015-09-30 23:25 ` [PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements santosh shilimkar
2015-10-05 10:35 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).