Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754089Ab3IEPvx (ORCPT ); Thu, 5 Sep 2013 11:51:53 -0400 Received: from g5t0008.atlanta.hp.com ([15.192.0.45]:40357 "EHLO g5t0008.atlanta.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752612Ab3IEPvw (ORCPT ); Thu, 5 Sep 2013 11:51:52 -0400 Message-ID: <52285395.1070508@hp.com> Date: Thu, 05 Sep 2013 09:49:09 +0000 From: Thavatchai Makphaibulchoke User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: "Theodore Ts'o" , T Makphaibulchoke , adilger.kernel@dilger.ca, viro@zeniv.linux.org.uk, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, aswin@hp.com, torvalds@linux-foundation.org, aswin_proj@groups.hp.com Subject: Re: [PATCH v3 0/2] ext4: increase mbcache scalability References: <1374108934-50550-1-git-send-email-tmac@hp.com> <1378312756-68597-1-git-send-email-tmac@hp.com> <20130905023522.GA21268@thunk.org> In-Reply-To: <20130905023522.GA21268@thunk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2185 Lines: 48 On 09/05/2013 02:35 AM, Theodore Ts'o wrote: > How did you gather these results? The mbcache is only used if you are > using extended attributes, and only if the extended attributes don't > fit in the inode's extra space. > > I checked aim7, and it doesn't do any extended attribute operations. > So why are you seeing differences? Are you doing something like > deliberately using 128 byte inodes (which is not the default inode > size), and then enabling SELinux, or some such? > > - Ted > No, I did not do anything special, including changing an inode's size. I just used the profile data, which indicated mb_cache module as one of the bottleneck. Please see below for perf data from one of th new_fserver run, which also shows some mb_cache activities. |--3.51%-- __mb_cache_entry_find | mb_cache_entry_find_first | ext4_xattr_cache_find | ext4_xattr_block_set | ext4_xattr_set_handle | ext4_initxattrs | security_inode_init_security | ext4_init_security | __ext4_new_inode | ext4_create | vfs_create | lookup_open | do_last | path_openat | do_filp_open | do_sys_open | SyS_open | sys_creat | system_call | __creat_nocancel | | | |--16.67%-- 0x11fe2c0 | | Thanks, Mak. -- 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/