From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joerg Bruehe Newsgroups: gmane.os.tru64.managers Subject: Swapping/paging policy variants Date: Wed, 03 Jul 2002 12:06:33 +0200 Organization: SQL Datenbanksysteme GmbH Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3D22CCA9.E49225D3@sql.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1025690784 32022 127.0.0.1 (3 Jul 2002 10:06:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2002 10:06:24 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17Ph1k-0008KM-00 for ; Wed, 03 Jul 2002 12:06:24 +0200 Original-Received: (qmail 17168 invoked by uid 5); 3 Jul 2002 10:06:49 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17160 invoked from network); 3 Jul 2002 10:06:49 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 3 Jul 2002 10:06:49 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYO0003H43CYK@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Jul 2002 06:06:48 -0400 (EDT) Original-Received: from server8a.software-ag.de (server8a.software-ag.de [193.26.193.47]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GYO005DR439XO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 03 Jul 2002 06:06:46 -0400 (EDT) Original-Received: from sql.de by server8a.software-ag.de; (8.11.6/8.9.3) id g63A53P03742; Wed, 03 Jul 2002 12:05:04 +0200 Original-To: Tru64-Admin List X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en Xref: main.gmane.org gmane.os.tru64.managers:801 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:801 Hi admins, on this list, there just came a summary by "Oracle administrator" ("atul" ?) containing a copy of an Oracle text entitled "Understanding and measuring memory usage on UNIX operating systems". While the text was interesting reading (always nice to see a good tutorial text), it contained this quote: | (1) Every data page in every process is "backed" by a page in | the swap space. This size of the swap space limits the amount | of virtual data space on the system; processes are not able to | allocate memory if there is not enough swap space available to | back it up, regardless of how much physical memory is available | on the system. Please note that there are Unix systems for which this statement is _not_ true because they provide different paging policies, Tru64 is one of them (AIX and Linux as well, no info about others). I quote the Tru64 version 4 manual "System Tuning and Performance Management", section 1.3.1.4 "Swap Space Allocation Modes": | How swap space is allocated is determined by two modes: | immediate mode and deferred mode. The two strategies differ | in the point in time at which swap space is allocated. | | In immediate mode, swap space is allocated when modifiable | virtual address space is created. (Note that immediate mode | is sometimes referred to as eager mode.) | | In deferred mode, swap space is not allocated until the | system needs to write a modified virtual page to swap space. | (Note that deferred mode is sometimes referred to as | overcommitment mode or lazy mode.) | | ... | | Immediate swap mode is used if the /sbin/swapdefault file exists. | This file is a symbolic link to /dev/rzxx, which is the first | defined swap device. If this file does not exist, the system | uses deferred mode. If you change from one mode to another, | you must reboot the system to activate the new mode. Regards, Joerg Bruehe -- Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany (speaking only for himself) mailto: joerg@sql.de