From owner-freebsd-smp Sun Sep 16 16:24:56 2001 Delivered-To: freebsd-smp@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id A103D37B409 for ; Sun, 16 Sep 2001 16:24:49 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f8GNOnM89605 for ; Sun, 16 Sep 2001 16:24:49 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 379AD3808; Sun, 16 Sep 2001 16:24:49 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: tlambert2@mindspring.com Cc: Christian Kruse , freebsd-smp@FreeBSD.ORG Subject: Re: Problems with a Dual Ahtlon 1,2 GHz In-Reply-To: <3BA52329.36662F9A@mindspring.com> Date: Sun, 16 Sep 2001 16:24:49 -0700 From: Peter Wemm Message-Id: <20010916232449.379AD3808@overcee.netplex.com.au> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Terry Lambert wrote: > Christian Kruse wrote: > > [ ... ] > > > "Page fault while in kernel mode" > > [ ... ] > > > RAM: 4 * 256MB DDR (PC 266) Infinion RAM > > NOTE: This may or may not be your problem; it was mine, on > similar hardware. > > -- > > With 1G of RAM, you will want to increase the number of open > files, sockets, etc., that are created on static allocations, > in order to force some TLBs which are not flushed by a reload > of %CR3 or an explicit INVTLB to be flushed, to end up being > recycled instead (effectively flushing them), since there are > some subtle problems in the code in locore.s, machdep.c, and > pmap.c in the mp case, when interacting with the PG_G and PG_PSE > bits. Terry, you are on crack. We do not use PG_G in SMP kernels. There cannot be any PG_G and PG_PSE interaction. > An alternative workaround is to add: > > options DISABLE_PSE > > to your configuration file. > > I've locally corrected the problem, and run with 4G of RAM+PG_PSE > without incident, but I had to do some evil to make it work, > which you may not want in your kernel (e.g. I changed the > machdep.c swap and reserve allocations, which get ungodly huge > when you have a lot of memory, and end up being largely useless, > when your physical address space is so close to populate -- Matt > made some changes there in -current, but I don't agree with them, > so my code is "weird", starting with a 3G/1G instead of 1G/3G > split on KVA vs. user space addresses). > > -- Terry > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-smp" in the body of the message > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message