From owner-freebsd-stable@FreeBSD.ORG Fri Jun 4 16:04:49 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 171BA1065670; Fri, 4 Jun 2010 16:04:49 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id D21C78FC1A; Fri, 4 Jun 2010 16:04:48 +0000 (UTC) Received: by pvh11 with SMTP id 11so815668pvh.13 for ; Fri, 04 Jun 2010 09:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=d2BC1UgELiqWnnQRrf3g3m3+JoXmyevgG/DI7c/prOg=; b=DdSLWbDmzX/+Dd1a9dcnHV3zJW6Aq09IGuhe9LSVEJTDELWybgaJVg2KmyNDYH04Cc IhFgYlWHvr/fePQ3DUHwQMT47hLqlvLbxUw7aZIUXNEMAOQFv/GLQx7qMwdflN8mjIaN 3IU0Mrj7Oo34GPhP0ScSuuJ0g9PTWrvZJyPcM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=V7m9pzVGvqtVhkCco9rqWUP21zfYO8vqc4PgQjhxFlo3+td8whjRBwEyNtkitpoQ1B +E3hho68wTXD+gQCsKZjoGr+bppJqn2xiT3h3F9NdygO1Xd5+AyuMw2XldLQG7v1+FhD Th27iwzCNDOn1MWSSBMrh9n4arb8ncLaBaa84= Received: by 10.140.255.17 with SMTP id c17mr9059674rvi.179.1275665628910; Fri, 04 Jun 2010 08:33:48 -0700 (PDT) Received: from amaretto (gw-105.extranet.sea01.isilon.com [74.85.160.105]) by mx.google.com with ESMTPS id d14sm2455594rva.18.2010.06.04.08.33.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 08:33:47 -0700 (PDT) Date: Fri, 4 Jun 2010 08:32:10 -0700 From: Matthew D Fleming To: John Baldwin Message-ID: <20100604153210.GA8522@amaretto> References: <201005272348.o4RNmgWh014243@hugeraid.jetcafe.org> <201006031029.00588.jhb@freebsd.org> <201006040937.o549bEFt054288@hugeraid.jetcafe.org> <201006040820.49741.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201006040820.49741.jhb@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org, Clifton Royston , alc@freebsd.org, Garrett Cooper , Jeremy Chadwick Subject: Re: Locking a file backed mdconfig into memory 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: Fri, 04 Jun 2010 16:04:49 -0000 On Fri, Jun 04, 2010 at 08:20:49AM -0400, John Baldwin wrote: > Hmmm, I would just try increasing NKPT then. You might have to poke > around in sys/amd64 to see what the default size is and how to tune > it. When Isilon did the stable/7 merge and amd64 default NKPT changed from 240 to 32 amd64 started having weird pmap issues during boot. At panic time the stack wasn't very useful, and I didn't finish debugging the issue since eventually I just had to get something working. We just reverted NKPT to 240 and it worked for us. I didn't see an anything in optsions.amd64 so I hard-coded it in amd64/include/pmap.h. Supposedly amd64 can deal with a small NKPT and grow dynamically, but it didn't seem to work for us. :-( Perhaps when we do the next merge project I'll have a few days to devote to debugging the root cause. Thanks, matthew