From: Charles M Richmond <cmr@iisc.com>
To: heiby_u@falkor.chi.il.us
Subject: Re: Lots of Threads = Death?
Date: 1998/04/29 [thread overview]
Message-ID: <3547D879.1DEEF14A@iisc.com> (raw)
In-Reply-To: 35472D6A.145BBC1A@brighttiger.com
Jeff Denham wrote:
>
> Dirk Grunwald wrote:
>
> > each stack entry requires one or more 'pmap' entries. A pmap is a
> > range of virtual -> physical mappings that share the same acccess
> > permissions.
> >
> > Threads tend to chew up a lot of map entries because each heap uses
> > two protection areas (one that is writable, and the guard page that is
> > not accessable).
> >
> > You can duplicate the same effect by using 'mmap' to allocate
> > bazillions of pages, and make certain adjacent pages don't have the
> > same permissions.
> >
> > My guess is you're running over the limit of the number of pmap
> > regions you can have.
> >
> > I think that kernel parameter is called 'vm-mapentries'. You should
> > see it's current setting if you do a 'sysconfig -q vm | grep -i map'.
> > You should be able to reconfigure it using /etc/sysconfigtab.
>
> Also, why you're at it, increase the vpagemax parameter -- say double or
> tripleit. See the documentation on kernel tuning.
The original poster was asking about his DEC Alpha with D Unix 3.2g
Download the sys_check package from ftp://ftp.digital.com/pub/DEC/IAS/
It will make some recommendations. For my machine it recommended:
vfs:
name-cache-hash-size = 512
vm:
vm-mapentries = 16384
vm-vpagemax = 65536
vm-ubcseqpercent=20
new-wire-method=0
Caveat: My machine is running 4.0b
--
***********************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net *
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W *
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 *
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 *
***********************************************************************
next prev parent reply other threads:[~1998-04-29 4:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-28 4:00 Lots of Threads = Death? Ron Heiby
1998-04-28 4:00 ` Dirk Grunwald
1998-04-29 4:00 ` Jeff Denham
1998-04-29 4:00 ` Charles M Richmond [this message]
1998-04-30 4:00 ` Ron Heiby
1998-04-30 4:00 ` Darron Shaffer
1998-05-01 4:00 ` Casper H.S. Dik - Network Security Engineer
1998-05-01 4:00 ` Jeff Denham
1998-05-05 4:00 ` Ron Heiby
1998-05-06 4:00 ` Rik van Riel
1998-05-06 4:00 ` Ron Heiby
1998-05-06 4:00 ` Rik van Riel
1998-05-07 4:00 ` Ron Heiby
1998-05-08 4:00 ` Lots of Threads = Digital Unix. Period Srikanth Throvagunta
1998-05-11 4:00 ` Ron Heiby
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox