Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755461AbZICOCM (ORCPT ); Thu, 3 Sep 2009 10:02:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755372AbZICOCL (ORCPT ); Thu, 3 Sep 2009 10:02:11 -0400 Received: from mail-out1.uio.no ([129.240.10.57]:50570 "EHLO mail-out1.uio.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754440AbZICOCK (ORCPT ); Thu, 3 Sep 2009 10:02:10 -0400 Subject: Re: VM issue causing high CPU loads From: Trond Myklebust To: Yohan Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, Neil Brown , "J. Bruce Fields" , mikevs@xs4all.net In-Reply-To: <4A9FC719.9020104@corp.free.fr> References: <4A92A25A.4050608@yohan.staff.proxad.net> <20090824162155.ce323f08.akpm@linux-foundation.org> <4A96463E.5080002@corp.free.fr> <4A9C34F8.2010307@corp.free.fr> <20090902170642.f4381c1d.akpm@linux-foundation.org> <1251982884.18338.9.camel@heimdal.trondhjem.org> <4A9FC719.9020104@corp.free.fr> Content-Type: text/plain Date: Thu, 03 Sep 2009 10:02:06 -0400 Message-Id: <1251986526.18338.29.camel@heimdal.trondhjem.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-UiO-Ratelimit-Test: rcpts/h 7 msgs/h 1 sum rcpts/h 12 sum msgs/h 2 total rcpts 1304 max rcpts/h 27 ratelimit 0 X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: FA3BB371B5CEDD7D192FA13717E35909ACF4C817 X-UiO-SPAM-Test: remote_host: 68.40.207.222 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 214 max/h 6 blacklist 0 greylist 0 ratelimit 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 25 On Thu, 2009-09-03 at 15:39 +0200, Yohan wrote: > > As far as I can see, there is no RPCSEC_GSS involved, so credentials > > should never expire. They will be reused as long as processes aren't > > switching between thousands and thousands of different combinations of > > uid, gid and groups. > My servers are imap servers. > Foreach user (~15 million) it have a specific uid over ~10 nfs netapp > storage. OK, so 16 hash buckets are likely to be filled with ~10^6 entries each. I can see that might be a performance issue... So afaics, you did try adjusting the hashtable size. How much larger does it have to be before you start to get acceptable performance? If it solves your problem we could make hash table sizes adjustable via a module parameter, for instance. Cheers Trond -- 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/