🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.internals
Article #457

Re: Maximum wsmax: can it be increased ?

#457
From: John Francini
Date: Sun, 22 Nov 1992 07:46
51 lines
2465 bytes
In article <01GRDFI4HY2A8WVZBS@MONMOUTH-etdl1.Army.MIL>, "Brian J. Schenkenberger, VAXman" writes...
>>Under VMS 5.5-2 the maximum value for wsmax is 400000 pages.
>>[...]
>>he can't have more than 400000 pages im memory.
>>
>>I'm sure some higher Version of VMS will raise this limit eventually,
>>but 400000 seems a rather arbitrary value, so i guess this could be
>>increased somehow.
>>
>>Has anybody done this ?
>>Any ideas / pointers how to do it ?
> 
>I've never done this but... I can offer you a quick method to change
>the value.
> 
>The value for WSMAX is stored at the symbolic address SGN$GL_MAXWSCNT.
>You can change this value WHILE THE SYSTEM IS RUNNING with DELTA.  How?
>Lookup the address of SGN$GL_MAXWSCNT in SYS.MAP.  Then, enter DELTA.
> 
>$ RUN SYS$SHARE:DELTA
>1:m <cr>
>00000001 <cr>
>00010001:<address of SGN$GL_MAXWSCNT>/<return-curr-value> <your-new-value>
>EXIT                                                       (hex of course)
>$
> 
>>Caveats ? :-)
> 
>This above will change the value.  Its implications if you increase it
>above the current limits? I know not!  I just LOWERed my system's WSMAX
>by 16 with the above and have had no problems.
> 
>If you have a system you can crash... try it out and let us know.
>BJS-

Somehow I expect that it WOULD crash.  There's a reason why WSMAX isn't
dynamic -- I believe that this value is used to set up some static-sized
data structures for each balance set slot, and that if you increase WSMAX
willy-nilly in a running system, you're likely to scrawl all over some
other process data structure.  You'd probably be better off trying this
little bit of POKEing at boot time, using XDELTA to change the setting
after the parameters have been read but before the balance set slot data
structures have been set up.

Just my $0.02....

John Francini
PATHWORKS for VMS project leader
Digital
francini@narfvx.enet.dec.com
Technical Details
Message-ID: <1992Nov22.075140.21530@nntpd.lkg.dec.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!pa.dec.com!datum.nyo.dec.com!nntpd.lkg.dec.com!narfvx.enet.dec.com!francini
References: <01GRDFI4HY2A8WVZBS@MONMOUTH-etdl1.Army.MIL>

Show Full Headers
Complete Article Headers
Newsgroups: vmsnet.internals
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!pa.dec.com!datum.nyo.dec.com!nntpd.lkg.dec.com!narfvx.enet.dec.com!francini
From: francini@narfvx.enet.dec.com (John Francini)
Subject: Re: Maximum wsmax: can it be increased ?
Message-ID: <1992Nov22.075140.21530@nntpd.lkg.dec.com>
Sender: usenet@nntpd.lkg.dec.com (USENET News System)
Organization: Digital Equipment Corporation, Littleton, MA
References:   <01GRDFI4HY2A8WVZBS@MONMOUTH-etdl1.Army.MIL>
Date: Sun, 22 Nov 1992 07:46:14 GMT
Lines: 53