Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1236752

[PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Sowmini Varadhan <sowmini.varadhan@oracle.com>
Newsgroups linux.kernel
Subject [PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements
Date Wed, 30 Sep 2015 23:00:02 +0200
Message-ID <qewDM-7OB-13@gated-at.bofh.it> (permalink)
X-Original-To netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-Mailer git-send-email 1.7.1
X-Source-IP userv0021.oracle.com [156.151.31.71]
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 36
Organization linux.* mail to news gateway
X-Original-Cc davem@davemloft.net, rds-devel@oss.oracle.com, ajaykumar.hotchandani@oracle.com, igor.maximov@oracle.com, sowmini.varadhan@oracle.com, santosh.shilimkar@oracle.com, sergei.shtylyov@cogentembedded.com
X-Original-Date Wed, 30 Sep 2015 16:54:06 -0400
X-Original-Message-ID <cover.1443636587.git.sowmini.varadhan@oracle.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1236752

Show key headers only | View raw


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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 net-next 0/3]  RDS: RDS-TCP perf enhancements Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2015-09-30 23:00 +0200
  [PATCH v2 net-next 3/3] RDS-TCP: Set up MSG_MORE and MSG_SENDPAGE_NOTLAST as appropriate in rds_tcp_xmit Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2015-09-30 23:00 +0200
  [PATCH v2 net-next 1/3] RDS: Use a single TCP socket for both send and receive. Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2015-09-30 23:00 +0200
  [PATCH v2 net-next 2/3] RDS-TCP: Do not bloat sndbuf/rcvbuf in rds_tcp_tune Sowmini Varadhan <sowmini.varadhan@oracle.com> - 2015-09-30 23:00 +0200
  Re: [PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements santosh shilimkar <santosh.shilimkar@oracle.com> - 2015-10-01 01:30 +0200
  Re: [PATCH v2 net-next 0/3] RDS: RDS-TCP perf enhancements David Miller <davem@davemloft.net> - 2015-10-05 12:30 +0200

csiph-web