Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3118712pxb; Tue, 19 Jan 2021 14:25:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnZf67m3rtuDt8sdj6AubzobYnVfbd7Bz+H115faoHxPwFXTmLknGJesj8cbPhXpUkfss7 X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr5028476edt.160.1611095123871; Tue, 19 Jan 2021 14:25:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611095123; cv=none; d=google.com; s=arc-20160816; b=r/wDJGYS1L13e2w1RK0KxnvxDZ2j3J7dZ2VfgGfXLjSZJey+pdamQdxT/AfHQ+GI74 0LLblRoaB0AsRiHBNeVGNMbYLmaYhgsluh17rzEKUejuy01YX3BW+xjApYyOXtviVXcv ZXcQ2uMhrjGNiQ+2d0xykqEfpr5SA8CP2jH14ynDp/j+ODWPCYsLJcvfO3fdok793Ay+ u54KwqyqkC/LpF7SOWKA7V2e764CYnWwMcKzr981lqmbe3fuEaCcXDagha/e6uv/jYQy ZvBc/ktOO6Y87CRFFxSfOeS8U70zt3IWAwj7RXNO9N/AfVqdXAyWzR6WGsoONTMdjK4M 5xvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=OR9jxnQ0Na61hAs7ATavLwJGoqs6xli+7GK/oKJgE8A=; b=ZGWBH5J13nybHYZyn8f9jP09svHsk8CZWC3Ki5iPfLihKR5YQ3ZIQvMqlheejhDk29 BYsyLgjfBf6/zDS+q2M0h+9gOzgac7EQuWDvqjacvPWtJBXxTXYIgji9PUhFMPB+hKm8 a3UWWfmrQ4/tBF98zrS/rPtyNalwuJAGZnPtyG5roS1IJt1h64zM5YP+6NaO3sQ3rtA1 xEtLOtT27dg80e41wmlL2uSLY9BbO2LW5Skt/yd3rcsDfH4bEla6OCEK0qxw2S+TAE5/ P5twu2n6uz8eDBK5aw97xNDgTMM+BnZBqFLIU2Akjqz0OMXj4oDEjAd6VxHguZK3j92x 7H3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=BLVhjxN8; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x11si13820eje.466.2021.01.19.14.24.48; Tue, 19 Jan 2021 14:25:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=BLVhjxN8; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727874AbhASWXX (ORCPT + 99 others); Tue, 19 Jan 2021 17:23:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729302AbhASWXN (ORCPT ); Tue, 19 Jan 2021 17:23:13 -0500 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9044C061573 for ; Tue, 19 Jan 2021 14:22:30 -0800 (PST) Received: by fieldses.org (Postfix, from userid 2815) id 7D90335BD; Tue, 19 Jan 2021 17:22:29 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 7D90335BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1611094949; bh=OR9jxnQ0Na61hAs7ATavLwJGoqs6xli+7GK/oKJgE8A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BLVhjxN8BNBgmvjAbMLKB/33yUOg41PLMJq9NlfTDobRZGRqbCjDWgnTpKXLz1AuK ln3LRnlYDdrtL4yncLsRjagE1EXk6dbmm+WRfmsmhM+n1NQkiqxhwzko1o9KlX0J1f Kl5aq8chkfQdPipMGnLvb58ycWnJ97kpWBwgAzFo= Date: Tue, 19 Jan 2021 17:22:29 -0500 From: "bfields@fieldses.org" To: Trond Myklebust Cc: "chuck.lever@oracle.com" , "linux-nfs@vger.kernel.org" , "aglo@umich.edu" , "bcodding@redhat.com" , Jacob Shivers , Frank Sorenson Subject: Re: unsharing tcp connections from different NFS mounts Message-ID: <20210119222229.GA29488@fieldses.org> References: <95542179-0C20-4A1F-A835-77E73AD70DB8@redhat.com> <20201007001814.GA5138@fieldses.org> <57E3293C-5C49-4A80-957B-E490E6A9B32E@redhat.com> <5B5CF80C-494A-42D3-8D3F-51C0277D9E1B@redhat.com> <8ED5511E-25DE-4C06-9E26-A1947383C86A@oracle.com> <20201007140502.GC23452@fieldses.org> <85F496CD-9AAC-451C-A224-FCD138BDC591@oracle.com> <20201007160556.GE23452@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, Oct 07, 2020 at 04:50:26PM +0000, Trond Myklebust wrote: > As far as I can tell, this thread started with a complaint that > performance suffers when we don't allow setups that hack the client by > pretending that a multi-homed server is actually multiple different > servers. > > AFAICS Tom Talpey's question is the relevant one. Why is there a > performance regression being seen by these setups when they share the > same connection? Is it really the connection, or is it the fact that > they all share the same fixed-slot session? > > I did see Igor's claim that there is a QoS issue (which afaics would > also affect NFSv3), but why do I care about QoS as a per-mountpoint > feature? Sorry for being slow to get back to this. Some more details: Say an NFS server exports /data1 and /data2. A client mounts both. Process 'large' starts creating 10G+ files in /data1, queuing up a lot of nfs WRITE rpc_tasks. Process 'small' creates a lot of small files in /data2, which requires a lot of synchronous rpc_tasks, each of which wait in line with the large WRITE tasks. The 'small' process makes painfully slow progress. The customer previously made things work for them by mounting two different server IP addresses, so the "small" and "large" processes effectively end up with their own queues. Frank Sorenson has a test showing the difference; see https://bugzilla.redhat.com/show_bug.cgi?id=1703850#c42 https://bugzilla.redhat.com/show_bug.cgi?id=1703850#c43 In that test, the "small" process creates files at a rate thousands of times slower when the "large" process is also running. Any suggestions? --b.