Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 09:53:26 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        Patrick Thomas <root@utility.clubscholarship.com>
Cc:        Terry Lambert <tlambert2@mindspring.com>, Peter Wemm <peter@wemm.org>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: tunings for many httpds...
Message-ID:  <20020626165326.GC18877@elvis.mu.org>
In-Reply-To: <20020625225929.U68572-100000@utility.clubscholarship.com>
References:  <3D190FFA.C7AE70BF@mindspring.com> <20020625225929.U68572-100000@utility.clubscholarship.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Patrick Thomas <root@utility.clubscholarship.com> [020625 23:06] wrote:
> 
> > > Uhh, Terry, neither form of SHM uses KVA.  Either pageable or physically
> > > backed.  The memory is only mapped into processes and is NOT mapped into
> > > KVA anywhere. (*)
> >
> > You and Alfred are right.
> >
> > It looks like this was corrected by John Dyson, shortly after he
> > had checked it in to work that way.
> 
> So the conclusion is that:
> 
> sysctl kern.ipc.shm_use_phys=1
> 
> Is not even potentially a magic bullet for the issue I am seeing (since
> either way, all those greatly increased SHM/SEM settings I added are not
> using KVA) ??

Without kern.ipc.shm_use_phys=1 you will use more KVA, however do
realize that with it the shared memory is non-pageable, meaning it
can not be swapped out if something else needs the RAM.

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

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?20020626165326.GC18877>