From owner-freebsd-stable@FreeBSD.ORG Mon Dec 24 17:23:23 2007 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 090A716A419 for ; Mon, 24 Dec 2007 17:23:23 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id AAA9013C465 for ; Mon, 24 Dec 2007 17:23:22 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.1/8.13.8) with ESMTP id lBOHNLsF062094; Mon, 24 Dec 2007 12:23:21 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lBOHNLtt049769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Dec 2007 12:23:21 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200712241723.lBOHNLtt049769@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Mon, 24 Dec 2007 12:23:30 -0500 To: Scott Long From: Mike Tancsa In-Reply-To: <476FE868.8080704@samsco.org> References: <200712220531.WAA09277@lariat.net> <476FBED0.2080400@samsco.org> <200712241549.IAA19650@lariat.net> <476FDA10.4060107@samsco.org> <200712241653.JAA20845@lariat.net> <476FE868.8080704@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: stable@freebsd.org Subject: Re: SMP on FreeBSD 6.x and 7.0: Worth doing? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 17:23:23 -0000 At 12:12 PM 12/24/2007, Scott Long wrote: >For others who might want help with this, tweaking >vfs.ufs.dirhash_maxmem is what is needed. A bit of a balancing act is >needed if you're on i386 since you'll risk exhausting KVA unless you >also tweak KVA_PAGES. Hi Scott, How does one know if the vfs.ufs.dirhash_maxmem is set too high and are exhausting KVA ? We set it quite high on our pop3/imap servers since Maildir can contain many small files. eg % sysctl -a vfs.ufs | grep -i dir vfs.ufs.dirhash_minsize: 2560 vfs.ufs.dirhash_maxmem: 99097152 vfs.ufs.dirhash_mem: 59259609 ---Mike >Scott >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"