Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "R.A.Omond" <Roy.Omond@BlueBubble.UK.Com>
Subject: Re: Tru64 and memory expansion
Date: Thu, 04 Dec 2008 10:23:49 +0000	[thread overview]
Message-ID: <4937afb8$0$90270$14726298@news.sunsite.dk> (raw)
In-Reply-To: <0a5e4b70-c00c-4805-a3c4-decb8cb853cf@h20g2000yqn.googlegroups.com>

H Vlems wrote:
> On 4 dec, 01:52, Dennis Grevenstein <dennis.grevenst...@gmail.com> 
> wrote:
>> H Vlems <hvl...@freenet.de> wrote:
>>> I run Tru64 V5.0 on an Alphaserver 800. The system is configured
>>> with 384 MB main memory. I bought 1 GB on eBay recently for this
>>> system. Will Tru64 automatically recognize the additional memory
>>> or do I need to change configuration files (beforehand)? I'm
>>> familiar with VMS but not experienced with Tru64, so an elaborate
>>> answer is appreciated :-)
>> You might want to check if you have enough swap space. Tru64 offers
>> two modes of swapping. The default behaviour is that it always
>> reserves swap space whenever you need virtual memory, so the amount
>> of virtual memory available is is the amount of swap space
>> available. The second mode doesn't reserve swap space, so you can
>> have as much virtual memory as you have swap + real memory. There
>> are reasons for having one or the other. Anyway, if you can't or
>> don't want to increase swap space, if you don't have enough swap
>> for 1GB of RAM, you can delete /sbin/swapdefault (and reboot) to
>> enable the lazy swap mode.
>> 
>> Dennis
>> 
>> -- Don't suffer from insanity... Enjoy every minute of it.
> 
> Dennis, I understand the point you're making. Is there a command that
> shows what swap mode my system uses? Hans

Hans, this is from the "man swapon" page for a Tru64 V5.1 system.
The method was different for Tru64 V4 (that was what Dennis was
suggesting above).  I can't remember which method was used in Tru64
V5.0.  And, oh by the way, if your workload stays the same, you're
much *less* likely to use the swapspace with the extra memory.


---
There are two strategies for swap space allocation: immediate mode and
deferred or over-commitment mode.  The two strategies differ in the
point in time at which swap space is allocated.  If immediate mode is
used, swap space is allocated when modifiable virtual address space is 
created.  If deferred mode is used, swap space is not allocated until 
the system needs to write a modified virtual page to swap space. 
Immediate mode is the default swap space allocation strategy.

Immediate mode is more conservative than deferred mode because each
modifiable virtual page is assigned a page of swap space when it is 
created.  If you use the immediate mode of swap space allocation, you 
must allocate a swap space that is at least as large as the total amount 
of modifiable virtual address space that will be created on your system. 
  Immediate mode requires significantly more swap space than deferred 
mode because it guarantees that there will be enough swap space if every 
modifiable virtual page is modified.

If you use the deferred mode of swap space allocation, you must estimate
the total amount of virtual address space that will be both created and
modified, and compare that total amount with the size of your system's
physical memory.  If this total amount is greater than the size of 
physical memory, the swap space must be large enough to hold the 
modified virtual pages that do not fit into your physical memory. If 
your system's workload is complex and you are unable to estimate the 
appropriate amount of swap space by using this mode, you should first 
use the default amount of swap space and adjust the swap space as needed.

To determine which swap space allocation mode is being used, check the
setting of the vm-swap-eager attribute in /etc/sysconfigtab. If this 
value is either not specified or set to 1, the system uses immediate 
swap mode.  If it is set to 0 (zero), the system uses deferred mode.


  reply	other threads:[~2008-12-04 10:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 20:04 Tru64 and memory expansion H Vlems
2008-12-03 21:15 ` Michael Kraemer
2008-12-04  0:52 ` Dennis Grevenstein
2008-12-04  8:46   ` H Vlems
2008-12-04 10:23     ` R.A.Omond [this message]
2008-12-05  7:21       ` H Vlems
2008-12-05 10:36         ` Michael Kraemer
2008-12-06  9:46           ` H Vlems
2008-12-07  1:16             ` Michael Kraemer
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