Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp124403imm; Fri, 6 Jul 2018 15:29:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfkbnaheaySroNdJNXS64mLhvzPkk9zQq3NYP4q1ErHme8CpdAfCb9q/Ez+KjzrrFFUVE6V X-Received: by 2002:a63:6ac6:: with SMTP id f189-v6mr3188906pgc.170.1530916163614; Fri, 06 Jul 2018 15:29:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530916163; cv=none; d=google.com; s=arc-20160816; b=WrRZz6077VLHN9e/ymTC23shfpki2kqF6S0grPUCrEoYitDjL6ZT55LO3AnfzazNTr OKZ70CIzX9/DrxITjnNskYKebDpcKgV0wy4VZnLLCHotYphFIUiX+NRODOktJMdMP3Kr n5I9NvRyoXKHvmtNbS8OCqGPk49kzTvcz78y3gRjHDif8JpuHLzCUWReteJ50VfcbK6f XemggL2opYKISbU73RgExab/DyWIJNPDrWPvKIfVeVgFy46V6HyJLsfJJzTV8TAr+2aY ifeLri8dDK7OUPIwF8UBm7A4krJsNnk63mCdqgI41xOJiHGB7gsbdOcNwaJ9V1CESlUT xu4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=8BPt5ECOasU1++vA20JW6VOOsa79wM6nXt1WcXdlebQ=; b=1IdA1DgzzuLhaeIkcRVXoocCJTpLZ78PrDz1buGApovqMHiTxzoAY1m7BTwnFOjMdH kPLBXOdJn82cajeeWMtseuPbakKnmPKmuTFgAS3d5wfz8SjlgAPy0EKy019d6XTN3uQV Qk8UL4upsmI+6jWu36HMQ8RoJkORxh5djPYMubXlA4F/sArLbraed4Jc4pw8OIPAM4Wl pyvCATqV/d4vT+mCkWNDDLvrx0kYwhhn+7AcADxNJsXEsCAaPiG9VMC93I6bD0T/bL1b AESw0GZQJqF8N6HBQ4FVYKrYCmKDG84WUih6Qzel6MVX0i1ohALRFZrlX4zBHTQ+zY6i xZGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x62-v6si10156096pfd.124.2018.07.06.15.29.07; Fri, 06 Jul 2018 15:29:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754150AbeGFW21 (ORCPT + 99 others); Fri, 6 Jul 2018 18:28:27 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:54244 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753596AbeGFW20 (ORCPT ); Fri, 6 Jul 2018 18:28:26 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fbZD4-00082f-NW; Fri, 06 Jul 2018 22:28:14 +0000 Date: Fri, 6 Jul 2018 23:28:14 +0100 From: Al Viro To: Waiman Long Cc: Jonathan Corbet , "Luis R. Rodriguez" , Kees Cook , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-doc@vger.kernel.org, Linus Torvalds , Jan Kara , "Paul E. McKenney" , Andrew Morton , Ingo Molnar , Miklos Szeredi , Matthew Wilcox , Larry Woodman , James Bottomley , "Wangkai (Kevin C)" Subject: Re: [PATCH v6 0/7] fs/dcache: Track & limit # of negative dentries Message-ID: <20180706222814.GE30522@ZenIV.linux.org.uk> References: <1530905572-817-1-git-send-email-longman@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530905572-817-1-git-send-email-longman@redhat.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 06, 2018 at 03:32:45PM -0400, Waiman Long wrote: > With a 4.18 based kernel, the positive & negative dentries lookup rates > (lookups per second) after initial boot on a 2-socket 24-core 48-thread > 64GB memory system with and without the patch were as follows: ` > > Metric w/o patch neg_dentry_pc=0 neg_dentry_pc=1 > ------ --------- --------------- --------------- > Positive dentry lookup 584299 586749 582670 > Negative dentry lookup 1422204 1439994 1438440 > Negative dentry creation 643535 652194 641841 > > For the lookup rate, there isn't any signifcant difference with or > without the patch or with a zero or non-zero value of neg_dentry_pc. Sigh... What I *still* don't see (after all the iterations of the patchset) is any performance data on workloads that would be likely to feel the impact. Anything that seriously hits INCLUDE_PATH, for starters...