Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752503Ab3IKLbg (ORCPT ); Wed, 11 Sep 2013 07:31:36 -0400 Received: from imap.thunk.org ([74.207.234.97]:58201 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914Ab3IKLbe (ORCPT ); Wed, 11 Sep 2013 07:31:34 -0400 Date: Wed, 11 Sep 2013 07:30:01 -0400 From: "Theodore Ts'o" To: Eric Sandeen Cc: Andreas Dilger , Thavatchai Makphaibulchoke , T Makphaibulchoke , Al Viro , "linux-ext4@vger.kernel.org List" , Linux Kernel Mailing List , "linux-fsdevel@vger.kernel.org Devel" , aswin@hp.com, Linus Torvalds , aswin_proj@lists.hp.com Subject: Re: [PATCH v3 0/2] ext4: increase mbcache scalability Message-ID: <20130911113001.GB13315@thunk.org> Mail-Followup-To: Theodore Ts'o , Eric Sandeen , Andreas Dilger , Thavatchai Makphaibulchoke , T Makphaibulchoke , Al Viro , "linux-ext4@vger.kernel.org List" , Linux Kernel Mailing List , "linux-fsdevel@vger.kernel.org Devel" , aswin@hp.com, Linus Torvalds , aswin_proj@lists.hp.com References: <1374108934-50550-1-git-send-email-tmac@hp.com> <1378312756-68597-1-git-send-email-tmac@hp.com> <20130905023522.GA21268@thunk.org> <52285395.1070508@hp.com> <0787C579-7E2C-4864-B8F4-98816E1E50A2@dilger.ca> <5229C939.8030108@hp.com> <62D71A85-C7EE-4F5F-B481-5329F0282044@dilger.ca> <20130910210250.GH29237@thunk.org> <522FDFCC.1070007@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <522FDFCC.1070007@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1690 Lines: 35 On Tue, Sep 10, 2013 at 10:13:16PM -0500, Eric Sandeen wrote: > > Above doesn't tell us the prevalence of various contexts on the actual system, > but they are all under 100 bytes in any case. OK, so in other words, on your system i_file_acl and i_file_acl_high (which is where we store the block # for the external xattr block), should always be zero for all inodes, yes? Thavatchai, can you check to see whether or not this is true on your system? You can use debugfs on the file system, and then use the "stat" command to sample various inodes in your system. Or I can make a version of e2fsck which counts the number of inodes with external xattr blocks --- it sounds like this is something we should do anyway. One difference might be that Eric ran this test on RHEL 6, and Thavatchai is using an upstream kernel, so maybe this is bloat has been added recently? The reason why I'm pushing here is that mbcache shouldn't be showing up in the profiles at all if there is no external xattr block. And so if newer versions of SELinux (like Adnreas, I've been burned by SELinux too many times in the past, so I don't use SELinux on any of my systems) is somehow causing mbcache to get triggered, we should figure this out and understand what's really going on. Sigh, I suppose I should figure out how to create a minimal KVM setup which uses SELinux just so I can see what the heck is going on.... - Ted -- 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/