From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,be2418f632ae8bf4 X-Google-Attributes: gidfee84,public From: James Nuckolls Subject: Re: Digital Unix 4.0D & Swap Space Date: 1999/04/21 Message-ID: <0B80FC85E5FF1867.7939D4963BB2C28B.B4FCA4BFC3F3F68C@library-proxy.airnews.net>#1/1 X-Deja-AN: 469227536 References: <371cdd44.441136510@news.iserv.net> X-Orig-Message-ID: NNTP-Posting-Time: Wed Apr 21 13:34:13 1999 Organization: Airnews.net! at Internet America NNTP-Proxy-Relay: library2.iadfw.net User-Agent: slrn/0.9.5.4+canx+listactive (UNIX) Abuse-Reports-To: abuse at airmail.net to report improper postings Newsgroups: comp.unix.osf.osf1 On Tue, 20 Apr 1999 20:09:41 GMT, Matthew S. Blackburn wrote: >at about 181 users. I can get more disks installed but I'm thinking >about changing to the deferred method of swap, so that the system >doesn't allocate swap space up front, but when it needs it. The >problem with this is if we run out of space then the process >requesting swap could be killed which may or may not crash our >database, therefore crashing all of our users, this would not be >liked. I currently don't belive we are swapping that much only about >143K paged out and 0 paged in every 15 minutes. So if I'm reading What does 'swapon -s' tell you? >that correctly then I should be able to switch to immedidate mode and >have very little swap activity. Then monitor the situtation and >determine if we need to add hard drives later. Also DEC talks about >overhead with deferred mode over immediate mode, as the system needs >to maintain the swap space in immediate, now it stands to reason the >more swap space the more overhead. What we've found is that in immedidate mode, we spend a lot of time allocating swap space we will never actually use[1]. In a few cases (albeit extream), the performance difference was actually noticeable. >Does anybody have experience with this and what are you suggestions If you find that you really aren't swapping now, and don't plan to in the future, I would suggest moving to defered mode. [1] The swap modes in DEC OSF are a product of the time when disk was cheep, and ram was not. In these cases, swaping was not considered bad[2] DEC found that it was faster to preacclocate swap space, which had the side affect of now allowing the the machine to allocate more than it could possabily swap at any given point. [2] Not that it is now, but with RAM so cheep there's really no need to swap a lot.