From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e372f2df5d66845c X-Google-Attributes: gidfee84,public From: dsr@lns598.lns.cornell.edu (Daniel S. Riley) Subject: Re: swap space warning Date: 1995/05/04 Message-ID: #1/1 X-Deja-AN: 101999083 references: <3nrief$366@tenebris.rutgers.edu> organization: Wilson Lab, Cornell U., Ithaca, NY 14853 newsgroups: comp.unix.osf.osf1 dsr@lns598.lns.cornell.edu (Daniel S. Riley) writes: dsr> By the way, your 1 GB of swap is not going to get much use. Your dsr> system isn't going to page until physical memory is used up, In article <3oarvj$696@tenebris.rutgers.edu> armhold@tenebris.rutgers.edu (George Armhold) writes: armhold> Huh? It's set to eager swap mode- and therefore allocates a armhold> page of swap for every page of real memory allocated. Yes, it allocates a page of backing store for every page of real memory--my point is that it hardly ever uses it. It won't actually page until it runs out of memory, and there's only a narrow region where it is out of memory and still has swap available. You have a GB of disk that is being used by the VM system for bookkeeping purposes but is almost never written to or read. dsr> but since you only have as much swap as physical memory (and are dsr> using eager allocation mode), you will run out of swap as soon as dsr> physical memory fills up! armhold> No, I said I have two swap partitions, the first (primary) is armhold> 196MB and the second is 1GB. So the total swap is 1220MB. So you have a narrow region between 1GB and 1.2GB where the system does page, doing some reads and writes to the swap partition. I suppose the system will page somewhat before the 1 GB point due to the file system buffer cache, but I am still unconvinced that your swap configuration makes sense. (Of course, none of this directly addresses your real problem with the apparently bogus low swap space warnings.) -- Dan Riley Internet: dsr@lns598.lns.cornell.edu Wilson Lab, Cornell University HEPNET/SPAN: lns598::dsr (44630::dsr) "Distance means nothing/To me." -Kate Bush