home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!charnel!rat!ucselx!crash!cmkrnl!jeh
- From: jeh@cmkrnl.com
- Newsgroups: comp.os.vms
- Subject: Re: How do I use more memory?
- Message-ID: <1992Dec29.162826.1033@cmkrnl.com>
- Date: 30 Dec 92 00:28:26 GMT
- References: <18542@borg.cs.unc.edu>
- Organization: Kernel Mode Consulting, San Diego, CA
- Lines: 51
-
- In article <18542@borg.cs.unc.edu>, scher@hatteras.cs.unc.edu (Ellen Scher) writes:
- > I've recently acquired a VAXstation with 80 Mbytes of physical memory,
- > and I would like to use the memory almost exclusively to run really
- > big (large arrays) scientific computational code. I'm more than willing
- > to sacrifice other management concerns.
- > [...]
- > Currently I've set:
- > MIN_WSMAX=119531
- > MIN_WSINC=1000
- > and boosted up my user authorizations to:
- > WSdef: 150
- > WSquo: 163840
- > WSextent: 163840
- > Pgflquo: 163840
-
- First, it makes no sense to set (UAF) WSQUOTA and WSEXTENT to larger values
- than (SYSGEN) WSMAX. If WSMAX is 119531, then no process can ever have a
- working set larger than that, despite what the UAF parameters say.
-
- However, I suspect that the main cause of your trouble is that you need to
- increase WSDEFAULT as well.
-
- WSDEFAULT determines the working set list size at the beginning of the
- execution of an image. Your image won't use the larger values you have
- allowed via WSQUOTA and WSEXTENT until the working set list size is increased
- via the automatic working set adjustment (AWSA) mechanism.
-
- Given the default value (20, which means 0.2 seconds) for AWSTIME, and your
- value of 1000 for WSINC, your process won't climb up to your maximum
- (119531 pages) until
-
- 119531 - 150 pages 0.2 CPU seconds
- --------------------------- * --------------- = 23.8 CPU seconds
- 1000 pages/adjustment 1 adjustment
-
- Also, if the process happens to be running in the real-time priority range,
- it will never experience quantum end, and so will never have its working
- set adjusted.
-
- Try setting WSDEFAULT to a larger value. Or, use the command
-
- SET WORKING_SET /LIMIT=nnnn
-
- just before running the image that hits all those large arrays.
-
- --- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
- drivers, internals, networks, applications, and training for VMS and Windows-NT
- uucp 'g' protocol guru and release coordinator, VMSnet (DECUS uucp) W.G., and
- Chair, Programming and Internals Working Group, U.S. DECUS VMS Systems SIG
- Internet: jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
- Uucp: ...{crash,eisner,uunet}!cmkrnl!jeh
-