From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,449d91ebb27ba2 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-17 05:46:22 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: emmanuel.choquet@compaq.com (Emmanuel Choquet) Newsgroups: comp.unix.tru64 Subject: Re: huge memory / swap space Date: 17 May 2002 05:46:22 -0700 Organization: http://groups.google.com/ Message-ID: <4618c6b9.0205170446.74c8c805@posting.google.com> References: NNTP-Posting-Host: 161.114.126.52 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1021639582 20589 127.0.0.1 (17 May 2002 12:46:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 17 May 2002 12:46:22 GMT Xref: archiver1.google.com comp.unix.tru64:7714 uschmidt@mpi-halle.de (Udo Schmidt) wrote in message news:... > Hi, we have to enlarge our ES45 system from 1 GB to 28GB RAM because > of some special new jobs bigger than 8 GB. Normally we had swap space > twice of > memory, but now ? And what's about core dumps ? I like to partitioning > a new hard disk. Has anyone experiences suggestions how to handle in > such a constellation ? first of all 28Gb RAM and/or 60 gb os Swap space is not a constellation. GS320 goes up to 1/2 Tb of RAM, more than one digit more. Having a huge swap space depends on your application behavior. If the peak need on VM is under real memory, you will not swap / do paging at all. In that case, keep just a little slice of swap space to handle partial crash dumps (2 Gb is enough)and configure swap mode to deferred. Actually, if you don't care about crash dumps, you just can have no swap at all in deferred mode. If you are actually paging out, swap space must be large enough to store all pages out of memory. If you fill the swap space you'll get into trouble. This space can be low or very large, even several times your RAM size. In eager mode, there is simply no relationship between RAM size and swap space. Swap space needed is "only" peak VM usage in your system life (sum of all VM address spaces of all processes at a certain time). My best advice to know this value : Use eager mode for swap with a huge swap space defined. Check the usage (not reservation) by swapon -s. Then go to deferred mode (reboot needed) and set your swap space to 1.5 times the peak usage. Good luck,