Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1865036pxa; Sun, 16 Aug 2020 14:03:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqR36OfjD1XKE+l7Len+C9O+eyEI2VemIiF6+AOlftfd1MKuFCC0ufNmXY3vaibvDI396A X-Received: by 2002:a17:906:9592:: with SMTP id r18mr11789031ejx.464.1597611830546; Sun, 16 Aug 2020 14:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597611830; cv=none; d=google.com; s=arc-20160816; b=k4U3guacc9ZVyWyVhnBgV04MDNUvwMyEgNkwIUNLaB+Nl96FZ+CihUXF7OE22QXzN5 2ocSHa5uTfRRiF0WOIQoLnc46KMZxC6OW4rKkz0TTBSRT7E+4qUuKgJuQqZNcT3lGoob ljE2wcZOS5VupG0wvzO5SmicB4Z1RCqyOYJ28Czus6oCNA88lVf/Kyq2aZZ6NHg1CCmT 4nRSW86+Vq/5uAV+DgpT57aGPeNcE6O6RwFkNGOgpUNR27RWF8ox9YG2E6NFctBDkKSD Vk0QvwuudhBNAuB06+cQewxFGmgFt3Cv9uhJxejINEF7xUztRjfv4tSPb6oeD5Dl0Wf/ Xnaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=/pAe/qvT32tvwfj2SYWP0UGFSaRcjNpBSN/laXwb55A=; b=gNV4XJJ9ea7xCRu0OtjkdHghPAM4QUfrRA6HztI4q8Q+f1MUHATtqSMyw+nK8STQv8 PzaOWJrhxR31GCkYf1QgC/i53Q1pSAHOzV/PDOfZGE0eaF1yLap7AH4akV8P2IeN/kM/ p8YLCpHut5OvDcgsUhrzubRvWAbR7V5yP2OW61Rg02usT8Of7hyiSQOwNSBP+GTZ6ixd nLhVxWvfhC0t7/sKqtIIUy4IdlodX+xtyK28w1JmMaxmD2QWCx5J5JcsnlxhjV7KFDIP xwda8UFseofSZTzh+KJZM2CO2X6l+A5WspzwtAwWdgWjSjDxZKpgxneUkBj1D7MLjWfV YaIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=xIgfXCAS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nv4si9813546ejb.737.2020.08.16.14.03.11; Sun, 16 Aug 2020 14:03:50 -0700 (PDT) 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=@oracle.com header.s=corp-2020-01-29 header.b=xIgfXCAS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728266AbgHPUqI (ORCPT + 99 others); Sun, 16 Aug 2020 16:46:08 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:60450 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726288AbgHPUqH (ORCPT ); Sun, 16 Aug 2020 16:46:07 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07GKcGYq130379; Sun, 16 Aug 2020 20:46:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=content-type : mime-version : subject : from : in-reply-to : date : cc : content-transfer-encoding : message-id : references : to; s=corp-2020-01-29; bh=/pAe/qvT32tvwfj2SYWP0UGFSaRcjNpBSN/laXwb55A=; b=xIgfXCASjR43s/ERaXcc1IVNnmrN7T0p/1Dv729KXSZP8X6shfWMxNse7pKm/pVAzJI9 oBFhWnHxchpU4suT1QEvbzY9Nxehr9NmIxdMoRkcYQNVnNSMWxLTKisJCIhRo+DW5blp nsxlD2FpJ8VO6XC7hc7INQ8kVBcTJXOaTLufrs3GGmxslcRatN/H68zR/j4QAthkgQh3 BkwzEzxByLjn0FcXbkWFZTi7Op2zCVSX7hx7NTRWXwmf6K0lzVH/+qLGMd+NYyZEd9m6 fp3jFSRQUkqUk1YCb3ApKuO3kIer2/ad5bnaPfv125AdwG7+l4S39rlGYKI/omuLgehO Cw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 32x8bmuhed-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 16 Aug 2020 20:46:03 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07GKcYp0089869; Sun, 16 Aug 2020 20:46:03 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 32xsfp9wy3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 16 Aug 2020 20:46:03 +0000 Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 07GKk16p004848; Sun, 16 Aug 2020 20:46:02 GMT Received: from anon-dhcp-152.1015granger.net (/68.61.232.219) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 16 Aug 2020 13:46:01 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: still seeing single client NFS4ERR_DELAY / CB_RECALL From: Chuck Lever In-Reply-To: Date: Sun, 16 Aug 2020 16:46:00 -0400 Cc: Linux NFS Mailing List Content-Transfer-Encoding: 7bit Message-Id: References: <139C6BD7-4052-4510-B966-214ED3E69D61@oracle.com> <20200809202739.GA29574@fieldses.org> <20200809212531.GB29574@fieldses.org> <227E18E8-5A45-47E3-981C-549042AFB391@oracle.com> <20200810190729.GB13266@fieldses.org> <00CAA5B7-418E-4AB5-AE08-FE2F87B06795@oracle.com> <20200810201001.GC13266@fieldses.org> To: Bruce Fields X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9715 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=999 spamscore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008160171 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9715 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=999 priorityscore=1501 bulkscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008160171 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Bruce- > On Aug 11, 2020, at 9:31 AM, Chuck Lever wrote: > >> On Aug 10, 2020, at 4:10 PM, Bruce Fields wrote: >> >> On Mon, Aug 10, 2020 at 04:01:00PM -0400, Chuck Lever wrote: >>> Roughly the same result with this patch as with the first one. The >>> first one is a little better. Plus, I think the Solaris NFS server >>> hands out write delegations on v4.0, and I haven't heard of a >>> significant issue there. It's heuristics may be different, though. >>> >>> So, it might be that NFSv4.0 has always run significantly slower. I >>> will have to try a v5.4 or older server to see. >> >> Oh, OK, I was assuming this was a regression. > > Me too. Looks like it is: NFSv4.0 always runs slower, but I see > it get significantly worse between v5.4 and 5.5. I will post more > quantified results soon. It took me a while to get plausible bisection results. The problem appears in the midst of the NFSD filecache patches merged in v5.4. In order of application: 5920afa3c85f ("nfsd: hook nfsd_commit up to the nfsd_file cache") 961.68user 5252.40system 20:12.30elapsed 512%CPU, 2541 DELAY errors These results are similar to v5.3. fd4f83fd7dfb ("nfsd: convert nfs4_file->fi_fds array to use nfsd_files") Does not build eb82dd393744 ("nfsd: convert fi_deleg_file and ls_file fields to nfsd_file") 966.92user 5425.47system 33:52.79elapsed 314%CPU, 1330 DELAY errors Can you take a look and see if there's anything obvious? -- Chuck Lever