From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,dbeba6b1664590b9 X-Google-Attributes: gidfee84,public From: unxadm@my-deja.com Subject: Re: expanding root file system Date: 2000/03/08 Message-ID: <8a48q0$j56$1@nnrp1.deja.com>#1/1 X-Deja-AN: 594494146 References: <88ucp2$49f$1@nnrp1.deja.com> <38b35df2$0$19357@news.voyager.net> X-Http-Proxy: 1.0 x30.deja.com:80 (Squid/1.1.22) for client 205.165.31.2 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Wed Mar 08 01:01:55 2000 GMT X-MyDeja-Info: XMYDJUIDunxadm Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.61 [en] (Win95; U) In article <38b35df2$0$19357@news.voyager.net>, Jack Patteeuw wrote: > > > sridhara@my-deja.com wrote: > > > > Our current root drive is 2 4GB drives in a mirrored raidset on an ALPHA > > 8400 running true64 UNIX 4.0e - 2GB for / and 2Gb for swap (no separate > > /usr partition). I would like to change this. I am planning on putting > > in 2 9GB ultra scsi drives for the / and /usr partition (in mirrored > > raid set) and planning on adding another 3 9GB drives (raid level 0) for > > swap.(after our proposed hardware upgrade we will have a total of 8GB > > main memory). > > Using any kind of RAID on a swap partition doesn't make sense to me. If > you are trying get get some speed up from mirroring, spend the money on > even more memory !! Do you really thinh you need that much swap ? > If you are looking for High Availability, yes it does. Especially for the 8400s since they can get real complex which slows down booting. If a swap partition is on a physical disk that dies then potientially the OS can crash, or applications, not always but it depends on various factors. Thus HA systems usually have the swap partitions mirrored along with / and /usr. > > First of all, can I place all swap on a drive which is > > not root drive or should I have some small amount of swap on root drive? > > Not required. I've done this (no swap on root drive) before. Booting > into > single user mode "complains" but works fine (especially on a system with > 8GB of memory !!!) > You do not need to have any swap space on the root drive. Although by default it looks there. Remember to change /etc/fstab and /sbin/swapdefault appropriately. Make sure to decide on which mode of swap utilization you want. There are two: immediate mode {default} and deferred (over-commit) mode. In immediate mode, when a process is started, the system tries to reserve swap equal to the process size, if there is not enough the process is not allowed to start. In deferred mode, the system allocates space when a process needs to be swapped, thus you can get away with less. If you are looking for performance try having multiple swap partitions on different drives. Digital Unix (Tru64) allocates swap in a round robin fashion. Depending on your swap mode and the processes running on your system 1 to 2 times the physical memory is generally enough when you start talking about GBs,although some types of processes can upset this. > > Or should I be putting in the swap drives on the other empty cabinet for > > better performance?(for data we have an ESA 10000 and hence we don't use > > the built in cabinets on the 8400 for anything other than root drives) Depends, is this cabinet an extension of the ESA 10000, or are they just disk shelves off of different controllers? For performance you could also consider mirroring&striping. There are many factors to consider when looking at this. > > For swap, use the fast drives you can afford (ie. 10K rpm, Utlra Wide) > and > put them on the fastest and widest controller you can afford and then > for > best performance, hope you never have to use them !! > > Jack Patteeuw > Calvin. Hope this helps. Sent via Deja.com http://www.deja.com/ Before you buy.