atom feed29 messages in org.freebsd.freebsd-smpRe: Problems with a Dual Ahtlon 1,2 GHz
FromSent OnAttachments
Christian KruseSep 15, 2001 7:20 pm 
Kenneth Wayne CulverSep 15, 2001 10:59 pm 
Terry LambertSep 16, 2001 3:09 pm 
Christian KruseSep 16, 2001 3:52 pm.teamone
Christian KruseSep 16, 2001 3:58 pm 
Peter WemmSep 16, 2001 4:24 pm 
Terry LambertSep 16, 2001 4:46 pm 
Gregor BittelSep 17, 2001 4:43 am 
Robin BreatheSep 17, 2001 6:04 pm 
Alexey ZelkinSep 18, 2001 7:01 am 
Charles RandallSep 18, 2001 8:26 am 
John BaldwinSep 18, 2001 8:46 am 
Alexey ZelkinSep 18, 2001 9:16 am 
Dreamtime.net Inc.Sep 18, 2001 9:26 am 
Dreamtime.net Inc.Sep 18, 2001 10:30 am 
Bernie DoehnerSep 18, 2001 10:43 am 
Dreamtime.net Inc.Sep 18, 2001 12:51 pm 
Alfred PerlsteinSep 18, 2001 1:01 pm 
Dan NelsonSep 18, 2001 1:37 pm 
Drew EckhardtSep 18, 2001 1:37 pm 
Drew EckhardtSep 18, 2001 1:40 pm 
Julian ElischerSep 18, 2001 9:43 pm 
Peter WemmSep 23, 2001 4:27 pm 
Terry LambertSep 23, 2001 8:14 pm 
Peter WemmSep 23, 2001 10:03 pm 
Paul RichardsSep 24, 2001 5:52 am 
Bernie DoehnerSep 24, 2001 7:01 am 
Dan NelsonSep 24, 2001 7:50 am 
Bernie DoehnerSep 24, 2001 7:57 am 
Subject:Re: Problems with a Dual Ahtlon 1,2 GHz
From:Peter Wemm (pet@wemm.org)
Date:Sep 16, 2001 4:24:27 pm
List:org.freebsd.freebsd-smp

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

Cheers, -Peter

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message