Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!cbosgd!ihnp4!zehntel!hplabs!hao!seismo!brl-tgr!tgr!Robert W. ScheiflerFrom: Robert W. Scheifler Newsgroups: net.unix-wizards Subject: Re: Question about 4.2 swap space and pstat -s Message-ID: <6296@brl-tgr.ARPA> Date: Mon, 3-Dec-84 11:03:50 EST Article-I.D.: brl-tgr.6296 Posted: Mon Dec 3 11:03:50 1984 Date-Received: Thu, 6-Dec-84 06:25:33 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 13 We "fixed" this problem by adding another variable, dmlim, to go between dmmin and dmmax, and do the swap chunk doubling only up to dmlim instead of dmmax. Of course, to get a reasonable size address space you may also have to increase NDMAP, and this may in turn force you to increase UPAGES. For example, in order to get reasonable use out of our tiny RK07 swap partition, we defined DMMIN=32, DMMAX=256, NDMAP=65, and UPAGES=12. By choosing DMLIM to be 64, 128, or 256, we get 2Mb, 4Mb, or 8Mb spaces, with increasing fragmentation costs, but still less than vanilla 4.2. My timings when we first did this showed that such changes made no noticeable difference in performance, but allowed us to run many more processes. -------