From owner-freebsd-hackers Tue Mar 20 10:50:21 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id B476C37B71A; Tue, 20 Mar 2001 10:50:15 -0800 (PST) (envelope-from keichii@peorth.iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id D0F0E59283; Tue, 20 Mar 2001 12:49:38 -0600 (CST) Date: Tue, 20 Mar 2001 12:49:38 -0600 From: "Michael C . Wu" To: Matt Dillon Cc: "Michael C . Wu" , 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 Message-ID: <20010320124938.H52586@peorth.iteration.net> Reply-To: "Michael C . Wu" 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> <200103201838.f2KIcZP95379@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200103201838.f2KIcZP95379@earth.backplane.com>; from dillon@earth.backplane.com on Tue, Mar 20, 2001 at 10:38:35AM -0800 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 20, 2001 at 10:38:35AM -0800, Matt Dillon scribbled: | | :| 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? | 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! Yes. I promised a trace for public and dump if you want. But there is no one at the NOC now. So it will have to be tomorrow night. We will take the box down at peak load to better help you guys. :) -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message