From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,92c9da4d36ce29b1 X-Google-Attributes: gidfa528,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.tele.dk!feed118.news.tele.dk!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Date: Thu, 04 Dec 2008 10:23:49 +0000 From: "R.A.Omond" User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: Tru64 and memory expansion References: <575e934d-c837-48a1-9a56-778bdff162bb@g38g2000yqn.googlegroups.com> <0a5e4b70-c00c-4805-a3c4-decb8cb853cf@h20g2000yqn.googlegroups.com> In-Reply-To: <0a5e4b70-c00c-4805-a3c4-decb8cb853cf@h20g2000yqn.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000746-1, 31/05/2007), Outbound message X-Antivirus-Status: Clean Message-ID: <4937afb8$0$90270$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 83.104.60.152 X-Trace: news.sunsite.dk DXC=?R=V?_Z;M^Fc5QH[6O^X]LYSB=nbEKnkKV`^KZl[Dm9LimSdbi82VjF0H;ANGOQ]MAo8V6SY915VH;E0IJ\I7S`LgSG3K2eCDPH X-Complaints-To: staff@sunsite.dk Xref: g2news2.google.com comp.unix.tru64:49 H Vlems wrote: > On 4 dec, 01:52, Dennis Grevenstein > wrote: >> H Vlems 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.