From owner-freebsd-hackers Tue Mar 20 10:41:15 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id 4D6B237B719; Tue, 20 Mar 2001 10:41:03 -0800 (PST) (envelope-from dillon@earth.backplane.com) Received: (from dillon@localhost) by earth.backplane.com (8.11.2/8.9.3) id f2KIcZP95379; Tue, 20 Mar 2001 10:38:35 -0800 (PST) (envelope-from dillon) Date: Tue, 20 Mar 2001 10:38:35 -0800 (PST) From: Matt Dillon Message-Id: <200103201838.f2KIcZP95379@earth.backplane.com> To: "Michael C . Wu" Cc: izero@ms26.hinet.net, cross@math.psu.edu, Alfred Perlstein , grog@FreeBSD.ORG, fs@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: tuning a VERY heavily (30.0) loaded scerver References: <20010320111144.A51924@peorth.iteration.net> <20010320092717.R29888@fw.wintelcom.net> <20010320113818.B52586@peorth.iteration.net> <20010320120112.C52586@peorth.iteration.net> <200103201815.f2KIFR594803@earth.backplane.com> <20010320122350.F52586@peorth.iteration.net> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG :| How big is 'lots'? If the shared memory segment is smallish, e.g. :| less then 64MB, you should be ok. If it is larger then you will :| have to do some kernel tuning to avoid running out of pmap entries. : :This is exactly what happens to us sometimes. We run out of pmap entries. :) :But what can we tune? :-- :+-----------------------------------------------------------+ :| keichii@iteration.net | keichii@freebsd.org | What Alfred said: sysctl -w kern.ipc.shm_use_phys=1 (run prior to creating the initial shared memory segment, e.g. when the machine is booted). That should solve the pv entry problem. What Alfred said in regards to 'sysctl -a' crashing too... We'll fix it if you give us a traceback! The kernel config you are using would be useful. It sounds like there are a bunch of things you either need to tune or have already tuned in the kernel configuration. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message