T.R | Title | User | Personal Name | Date | Lines |
---|
1252.1 | VMS does this all the time, automatically. | HSSWS1::DUANE | Send lawyers, guns & money | Thu Aug 10 1989 13:00 | 25 |
| There are 3 system parameters which set default working set parameters:
PQL_DWSDEFAULT, PQL_DWSQUOTA, and PQL_DWSEXTENT. There are a
corresponding 3 system parameters which control minimum values for
process working set parameters: PQL_MWSDEFAULT, PQL_MWSQUOTA, and
PQL_MWSEXTENT. DECwindows requires PQL_MWSDEFAULT and PQL_MWSQUOTA be
set to 60. Check your values for PQL_DWSDEFAULT and PQL_DWSQUOTA to
make sure they are not too high. PQL_MWSEXTENT and PQL_DWSEXTENT
define minimum and default absolute upper limits on the size of a
process' working set; these should probably be significantly higher
than the other two.
VMS has excellent memory management features built into it and these
features should be allowed to operate. Reducing the size of a working
set simply because you think it is too large may induce heavy paging
which will slow the system down. It is far better to allow VMS to
allocate and deallocate memory dynamically based on activity as
processes come and go, images are activated and run down, than to
declare "process x should only have y pages allocated to it". Not only
is this less work for you, but the system will probably run better.
d
P.S. If slow performance is a problem, have you tried AUTOGEN
with feedback?
|
1252.2 | | SK8R::CRITZ | Richard -- KB4N/1 | Thu Aug 10 1989 14:50 | 14 |
| Perhaps I should've been clearer.
I'm quite familiar with the SYSGEN parameters and the way memory management
works. What I'm looking for is a way to control specifically on a per
application basis the quotas for stuff that I run out of DECW$LOGIN or
under FileView.
Does the session manager use my UAF values for creating the DECterm controller
and FileView or does it use the defaults?
I know my system workload better than the paging dynamics and would prefer to
force paging for a couple of infrequently used, but necessary nonetheless,
applications rather than having to continually suffer with a 100 page freelist.
|
1252.3 | DECterm params are hard coded but can be changed | HANNAH::MESSENGER | Bob Messenger | Fri Aug 11 1989 14:42 | 17 |
| Re: .2
In both DECwindows V1 and DECwindows V2, you can control the working set
parameters used for creating the DECterm controller by defining these logical
names (in LOGIN.COM, I think):
DECW$DECTERM_CTRL_WSEXTENT WS extent - defaults to 4000
DECW$DECTERM_CTRL_WSQUOTA WS quota - defaults to 650
I looked in the DECterm source code for the hard coded default values, and
since this code was taken from the V1 session manager I think it works the
same way in V1 as well.
-- Bob
|
1252.4 | set work/ext=.... | FESTER::SPIVAK | | Sat Aug 19 1989 18:09 | 9 |
| Could this also be done by runing an application from a spawned process
with preset working set quotas? Something like
$ set work/ext=xxx/lim=xxx... etc
$ spawn/nowait/in=nl:/out=nl: run sys$system:decw$xxxxx.exe
Am I even close?
-Marat
|
1252.5 | | FESTER::SPIVAK | | Sat Aug 19 1989 18:13 | 3 |
| Although you will need privileges to be able to change your own working
set characteristics...
|
1252.6 | $ SET WORKING_SET works for me | SEWANE::MASSEY | I left my heart in Software Services. | Thu Aug 31 1989 15:46 | 13 |
| Re: .5:
> Although you will need privileges to be able to change your own working
> set characteristics...
Not the way I see it. See $ HELP SET WORKING_SET.
BTW, DECW$SYLOGIN.COM is shipped with the following command line in it:
$ set working_set/quota=200
Steve
|