From owner-freebsd-hackers Wed Jul 21 7:57:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id B163B1557F for ; Wed, 21 Jul 1999 07:57:24 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id XAA02076; Wed, 21 Jul 1999 23:56:40 +0900 (JST) Message-ID: <3795DF9B.E11B0F29@newsguy.com> Date: Wed, 21 Jul 1999 23:56:27 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: Solaris and Swap Space Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG One more technical follow-up. Solaris uses swap files. These can be either regular files or "slice" device files. I couldn't find any comments defining the _exact_ range of possible files, the above are what the documentation uses as example. The swap spaces are defined by a tuple of , which defines the exact position inside the file where the swap is located. Finally, the "swap -s" command, which I used to determine whether the thing overcommits or not, reports *total* memory. The man page explicitly refers to the main memory as a "swap space" for the purpose of "swap -s". Thus, Solaris does, indeed, use a RAM+SWAP model. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "Your usefulness to my realm ended the day you made it off Hustaing alive." -- Sun Tzu Liao to his ex-finacee, Isis Marik To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message