Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 10:38:35 -0800 (PST)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        "Michael C . Wu" <keichii@iteration.net>
Cc:        izero@ms26.hinet.net, cross@math.psu.edu, Alfred Perlstein <bright@wintelcom.net>, grog@FreeBSD.ORG, fs@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: tuning a VERY heavily (30.0) loaded scerver
Message-ID:  <200103201838.f2KIcZP95379@earth.backplane.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

:|     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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103201838.f2KIcZP95379>