From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,16dadc5fb1be10d7 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-28 18:44:40 PST Path: bga.com!news.sprintlink.net!demon!bt!pipex!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!decwrl!pa.dec.com!src.dec.com!crl.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 Subject: Re: How to allocate more swap space Date: 28 Jun 1994 18:06:49 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <2uporp$b14@nntpd2.cxo.dec.com> References: <2uph9a$knq@vixen.cso.uiuc.edu> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Host: nabeth.cxo.dec.com In article <2uph9a$knq@vixen.cso.uiuc.edu>, ayman@uiatma.atmos.uiuc.edu (Ayman_Ghanem) writes: > >Hi. >When I installed OSF1/2.0 on my alpha station 3000/600 with 32 MB RAM, I >chose the default prtition (b) for the swap space which has 64 MB. >Now, I get the message "Swap Space less than 10% free" very often and >some users can not run programs with many array declarations. >I was wondering if there is a way to increase the swap space on the disk >without having to install the system again. >I have a partion on the disk (partition d) that is between the swap >partition (b) and the /usr file system (g). The (d) partition is about >15 MB and is not used. Can I just simply add that to the (b) partition?. >Thanks in advance. If the D partition really doesn't overlap the B or G partitions, then you can either: 1. Simply use the swapon command to use D as another swap partition. You'll also want to add a line to /etc/fstab so that when swapon is run in the transition from single to multi-user mode, the area will be added automatically. The paging code will probably want to interleave allocations between the two areas. With both on one disk, this may not offer the best performance if you're actually paging. 2. Boot the standalone system and increase B to use the D area. You may be able to do this running single user. 15 MB isn't much more, so eventually you'll probably need to get a 2nd disk use a larger partition as the additional space. To keep any one disk from becoming responsible for most of the paging I/O try to keep swap areas approximately the same size. > >-Ayman > -- Alan Rollow alan@nabeth.cxo.dec.com