Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755420Ab1CKV1U (ORCPT ); Fri, 11 Mar 2011 16:27:20 -0500 Received: from peace.netnation.com ([204.174.223.2]:41640 "EHLO peace.netnation.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754234Ab1CKV1T (ORCPT ); Fri, 11 Mar 2011 16:27:19 -0500 X-Greylist: delayed 1059 seconds by postgrey-1.27 at vger.kernel.org; Fri, 11 Mar 2011 16:27:19 EST Date: Fri, 11 Mar 2011 13:09:38 -0800 From: Simon Kirby To: "J. Bruce Fields" Cc: Mark Moseley , linux-nfs@vger.kernel.org, Al Viro , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [git pull] more vfs fixes for final Message-ID: <20110311210938.GB8211@hostway.ca> References: <20110310110931.GF22723@ZenIV.linux.org.uk> <20110310115856.GG22723@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110310115856.GG22723@ZenIV.linux.org.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1663 Lines: 42 On Thu, Mar 10, 2011 at 11:58:56AM +0000, Al Viro wrote: > commit d891eedbc3b1b0fade8a9ce60cc0eba1cccb59e5 > Author: J. Bruce Fields > Date: Tue Jan 18 15:45:09 2011 -0500 > > fs/dcache: allow d_obtain_alias() to return unhashed dentries Hmm, I was hoping this or something recently would fix nfs_inode_cache growing forever and flush processes taking lots of system time since 2.6.36. For example: OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME 3457486 3454365 99% 0.95K 105601 33 3379232K nfs_inode_cache 469638 248761 52% 0.10K 12042 39 48168K buffer_head 243712 216348 88% 0.02K 952 256 3808K kmalloc-16 232785 202185 86% 0.19K 11085 21 44340K dentry 149696 54633 36% 0.06K 2339 64 9356K kmalloc-64 115976 106806 92% 0.55K 4142 28 66272K radix_tree_node 76064 45680 60% 0.12K 2377 32 9508K kmalloc-128 62336 53427 85% 0.03K 487 128 1948K kmalloc-32 41958 41250 98% 0.75K 1998 21 31968K ext3_inode_cache This clears them all, similar to what you posted: echo 2 > /proc/sys/vm/drop_caches sync echo 2 > /proc/sys/vm/drop_caches ...but 2.6.38-rc8 still doesn't seem to fix it. http://0x.ca/sim/ref/2.6.37/cpu3_nfs.png http://www.spinics.net/lists/linux-nfs/msg18212.html Any ideas? This started with 2.6.36. Simon- -- 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/