Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: Alternative pagefile
  1995-07-21  4:00 Alternative pagefile Marc Gobes
@ 1995-07-21  4:00 ` William Jackson
  1995-07-26  4:00 ` John McLean
  1 sibling, 0 replies; 3+ messages in thread
From: William Jackson @ 1995-07-21  4:00 UTC (permalink / raw)


In <DC2Lyn.6G3@ram.nl> marc@ram.nl (Marc Gobes) writes: 
>
>Hi!
>
>My VAX (4400 with 32Meg memory and running vms 5.5-2)
>is usings his pagefile(s) like hell. To solve this
>problem partially I created another pagefile on an
>unused disk. But the VAX is still using the 1st
>pagefile on the system disk for more then 50%
>of all the operations.
>
>I was thinking of a way to avoid using the pagefile
>on the system disk, but in case of problems, for example
>when the pagedisk is unavaileble, I want to have to 
>ability to _automaticly_ use the pagefile on the system
>disk.
>
>Does somebody how ? As far as I know is the pagefile 
>on the systemdisk automaticaly installed.
>
>Thanks in advance..
>
>Marc Gobes
>
There's a COM file that's something like SYPAGSWPFILES.COM (I'm 
doing this from memory and havne't done it for a while, so that might
not quite be it) that gets executed early in the boot process and can
be used to install a page file from another disk if there is no
pagefile on the system disk.   What you could do for "if the disk is
unavailable" is this:

1: put your primary page and swap files on the second disk and install
them with SYPAGSWPFILES.COM 

2: Also create a secondary page/swap file on the system disk that isn't
installed unless the first install is unsuccessful.

Implementation via DCL is left as an exercise... 

-bill

>-- 
>----------------------------------------------------------------------
------
>RAM Mobile Data | tel: 31(0)3465-82672
>Planetenbaan 26 | fax: 31(0)3465-82620
>3606 AK Maarsen | marc@ram.nl




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Alternative pagefile
@ 1995-07-21  4:00 Marc Gobes
  1995-07-21  4:00 ` William Jackson
  1995-07-26  4:00 ` John McLean
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Gobes @ 1995-07-21  4:00 UTC (permalink / raw)


Hi!

My VAX (4400 with 32Meg memory and running vms 5.5-2)
is usings his pagefile(s) like hell. To solve this
problem partially I created another pagefile on an
unused disk. But the VAX is still using the 1st
pagefile on the system disk for more then 50%
of all the operations.

I was thinking of a way to avoid using the pagefile
on the system disk, but in case of problems, for example
when the pagedisk is unavaileble, I want to have to 
ability to _automaticly_ use the pagefile on the system
disk.

Does somebody how ? As far as I know is the pagefile 
on the systemdisk automaticaly installed.

Thanks in advance..

Marc Gobes

-- 
-----------------------------------------------------------------------------
RAM Mobile Data | tel: 31(0)3465-82672
Planetenbaan 26 | fax: 31(0)3465-82620
3606 AK Maarsen | marc@ram.nl



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Alternative pagefile
  1995-07-21  4:00 Alternative pagefile Marc Gobes
  1995-07-21  4:00 ` William Jackson
@ 1995-07-26  4:00 ` John McLean
  1 sibling, 0 replies; 3+ messages in thread
From: John McLean @ 1995-07-26  4:00 UTC (permalink / raw)


In article <DC2Lyn.6G3@ram.nl>, marc@ram.nl says...
>

>My VAX (4400 with 32Meg memory and running vms 5.5-2)
>is usings his pagefile(s) like hell. To solve this
>problem partially I created another pagefile on an
>unused disk. But the VAX is still using the 1st
>pagefile on the system disk for more then 50%
>of all the operations.
>

It's not clear from this whether you rebooted your Vax after adding the 
secondary pagefile or even stopped and restarted processes.

Basically the secondary pagefile should be larger than the primary (twice 
as big is very comfortable).  This is because the decision which pagefile 
to use is the one "estimated to have the most available free space, the 
one with the largest ratio of reservable blocks to total blocks." (Pg 461 
Goldenberg & Kenah).

You should also install it at system boot by using SYPAGSWPFILES.COM (in 
SYS$STARTUP).  This procedure is executed prior to SYSTARTUP_VMS.COM and 
therefore makes the secondary pagefile available to all processes started 
during system boot.  Incidentally the primary pagefile (always in 
SYS$SYSTEM) does not have to exist and you can use multiple secondary 
pagefiles to better balance the loading.

Adding a pagefile while the system is running usually requires some 
manual intervention to force processes to use the new pagefile.  
Typically this involves stopping and restarting processes - get users to 
log out and log in is good (if you can achieve this), but other actions 
like stopping all print queues and then restarting then will cause 
current processes to terminate and new one's to start - and they should 
use the new pagefile if the original ones are heavily loaded.

** This question would have been better placed in comp.os.vms - that's 
where the real technical gurus usually hang out and you would have got 
some fast responses !!

-- 
John McLean
VMS Technical Specialist
Croydon, Vic
Australia




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-07-26  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-21  4:00 Alternative pagefile Marc Gobes
1995-07-21  4:00 ` William Jackson
1995-07-26  4:00 ` John McLean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox