Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1108041ybi; Thu, 30 May 2019 11:42:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBPfbc2ZaFZURcU9bhXX/S4vaijiv40IfKbc2KvdykUYZcbJ6232PT1IsUBjCtx+ZVwtri X-Received: by 2002:a63:6b41:: with SMTP id g62mr4930692pgc.240.1559241731815; Thu, 30 May 2019 11:42:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559241731; cv=none; d=google.com; s=arc-20160816; b=NFF+scjO5io7PIkiYKjho/ghetDTNbo2hAwnoCOcCzjawJLCjhbBV/ulWDttER5go6 v+ZqMr/y1ehxK+QsLoIB3CAQiBm4wYQzAq8HOhzrxcM9N5Pl+kZQJw1b0Bc41uB8kr7r EC5/unEFGAyk5sRNOrmTpRmmW1aIhvFqeN5BpWfw5Xx7sbZBxHljY3qTIucLhz9FARMw Ad/hJ+8xWWPoG1HLsfv4xwOcTsCgp8AMNRN17DapPv+1pwYKbpfCWGaXnOvq4ecC53k8 USjE190ITJRu/zjI8dOQaQ/u9Cp9gQDqOdr6ftYv2iQ80svG8N4ZNxnYLAzrSV8PbPsf cJHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1wi1CgXGczwmD2uWEiktyjAdwUJ1i7BhofFGP294Hns=; b=zEo82IyQah429Hwmq5DTdhrmqxbw4iTX/andSaMwJMCIJ6wpj31yyNs07OtxGgCLxl SUxgvIsJ/MsfgVdPDzFOXIRzIAW0wzC/aSUaHKIL/s/hwS/j+nkmT8G9UQq+AaPgkBMw tyQCgyrPe3oYyeyw/4ZMZvhtwQe8kJ1AYzP52mWqoOwQjuhR9ImR8T10aNLgIQsJOREK HgP5olqetLQXExl/AMUWiz4WF4oWRulqnmeLNjTgdInJjzFH7Ztkr5BAxgOyzffZ4jTH Oia8uaajnR70WTCuHWYKD4QFoDVsgK94tk20MgXwVKtsA9ZQ0xAoRYn497IeQNQrwSn9 sd4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=pchrlDFb; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si3836617plb.420.2019.05.30.11.41.57; Thu, 30 May 2019 11:42:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=pchrlDFb; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726125AbfE3Sl5 (ORCPT + 99 others); Thu, 30 May 2019 14:41:57 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:33043 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726029AbfE3Sl5 (ORCPT ); Thu, 30 May 2019 14:41:57 -0400 Received: by mail-ua1-f68.google.com with SMTP id f20so1213854ual.0 for ; Thu, 30 May 2019 11:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1wi1CgXGczwmD2uWEiktyjAdwUJ1i7BhofFGP294Hns=; b=pchrlDFbzLuAznVU7JlAQRVpCUZETGglmMHT52PgRBywREcrS1UKM29hMPJnq1BmFp cIHe7Ma2u38d8NRbjaBjP5yb2/3L/O/0t3JkQbdVvXeBbp36lsdMCu7W6tvbGZeUmbrD R9qRYfVvQEYqE5jiJ7Z5OggFaY/zEwdFlcQN/UkwRcF0W00Qzo361+zLKP1xbUP0Xc9B IMeR0xItVgiQ93TkZYImnV3zcqqZaogYcOA2keGGMN5GtyO2RBVk3IyI76L8V77Sh2A2 AYzHjchBsmwxpdPi1Z8e3mnIvZzSnJBTA+PQrm6vXBUlKh2m2OfXd6UGVluUuqOrLBPG EeIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1wi1CgXGczwmD2uWEiktyjAdwUJ1i7BhofFGP294Hns=; b=cCZirXX/E51h2JFeXFDuYGTI8HmoP5x88zsfVZtmzDJNcnISZb+4Nu8vM7dO0sIQLe wugQ93e2cmu8wxWtHygOSw//BwAJwGV+sjY0VSMMehA5eawquwezpu1lT7ZbtGFzX6vS 4sS11snJShFv4w/SwIivfztEX6hwi+BC9rkdzXe9udzMmY8uMCVSbY/Ak/sWpEzo+XM9 2VTuUs7nEMjyhPnWIvYv2MyH44vF4AO9Wq4mFRWCjPOuORKMVwb2KiOUmBZc16WN3NHD cA9rjbj0qY5IOFlfHaUxKsOCYl7lbWi87u9cz7aLsnY7eBDJvxDglaVFN0v59cfbRKxv K3gg== X-Gm-Message-State: APjAAAUdPPmR/lWwp6xZkiIfj4rXdeEBxEtzvY4wYqym1gXiX4RUVqpf OeUTrtjTTUK4ID1nySjT+3Bti4hnNL9pqMVpy04= X-Received: by 2002:ab0:2447:: with SMTP id g7mr2790670uan.65.1559241716127; Thu, 30 May 2019 11:41:56 -0700 (PDT) MIME-Version: 1.0 References: <155917564898.3988.6096672032831115016.stgit@noble.brown> <1df23ebc-ffe5-1a57-c40a-d5e9a45c8498@talpey.com> <9b64b9d9-b7cf-c818-28e2-58b3a821d39d@talpey.com> In-Reply-To: <9b64b9d9-b7cf-c818-28e2-58b3a821d39d@talpey.com> From: Olga Kornievskaia Date: Thu, 30 May 2019 14:41:44 -0400 Message-ID: Subject: Re: [PATCH 0/9] Multiple network connections for a single NFS mount. To: Tom Talpey Cc: NeilBrown , Chuck Lever , Schumaker Anna , Trond Myklebust , linux-nfs Content-Type: text/plain; charset="UTF-8" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Thu, May 30, 2019 at 1:41 PM Tom Talpey wrote: > > On 5/30/2019 1:20 PM, Olga Kornievskaia wrote: > > On Thu, May 30, 2019 at 1:05 PM Tom Talpey wrote: > >> > >> On 5/29/2019 8:41 PM, NeilBrown wrote: > >>> I've also re-arrange the patches a bit, merged two, and remove the > >>> restriction to TCP and NFSV4.x,x>=1. Discussions seemed to suggest > >>> these restrictions were not needed, I can see no need. > >> > >> I believe the need is for the correctness of retries. Because NFSv2, > >> NFSv3 and NFSv4.0 have no exactly-once semantics of their own, server > >> duplicate request caches are important (although often imperfect). > >> These caches use client XID's, source ports and addresses, sometimes > >> in addition to other methods, to detect retry. Existing clients are > >> careful to reconnect with the same source port, to ensure this. And > >> existing servers won't change. > > > > Retries are already bound to the same connection so there shouldn't be > > an issue of a retransmission coming from a different source port. > > So, there's no path redundancy? If any connection is lost and can't > be reestablished, the requests on that connection will time out? For v3 and v4.0 in the current code base with a single connection, when it goes down, you are out of luck. When we have multiple connections and would like the benefit of using them but not sacrifices replay cache correctness, it's a small price to restrict the re-transmissions and suffer the consequence of not being able to do an operation during network issues. > I think a common configuration will be two NICs and two network paths, Are you talking about session trunking here? Why do you think two NICs would be a common configuration. I have performance numbers that demonstrate performance improvement for a single NIC case. I would say a single NIC with a high speed networks (25/40G) would be a common configuration. > a so-called shotgun. Admins will be quite frustrated to discover it > gives no additional robustness, and perhaps even less. > > Why not simply restrict this to the fully-correct, fully-functional > NFSv4.1+ scenario, and not try to paper over the shortcomings? I think mainly because customers are still using v3 but want to improve performance. I'd love for everybody to switch to 4.1 but that's not happening. > > Tom. > > > > >> Multiple connections will result in multiple source ports, and possibly > >> multiple source addresses, meaning retried client requests may be > >> accepted as new, rather than having any chance of being recognized as > >> retries. > >> > >> NFSv4.1+ don't have this issue, but removing the restrictions would > >> seem to break the downlevel mounts. > >> > >> Tom. > >> > > > >