[Prev][Next][Index][Thread]

Re: Re[2]: 486-100/16mb. linux is slow



On Mon, 30 Sep 1996, Evgeny Stambulchik wrote:

> Ira Abramov <ira@scso.com> wrote:
> 
> >  best way, as far as I can see it, is have it on a separate disk, or at
> >  least the fastest in your system, and better do it at the end of the disk
> >  (last cylinders) since it is the fstest there.
> 
> There are different approaches to the problem (where to put a swap). If we're
> talking about single swap partition, it could be better to put swap as close as
> possible to the most heavily accessed partition (usually with /usr on it). If
> there're two such actively used partitions, I'd put the swap in between. A swap
> access acceleration due to its position at the end of disk could be cancelled by
> an extra time heads need to path to it. Also, some sysadm's put /usr/lib and
> /usr/bin at the end of /usr partition to be faster & closer to the swap.

... all considdering you have only ONE disk, if you have more than one,
keep the swap as far away as possible from busy partitions, which are
usually NFS exports and http/ftp archive trees (why /usr?)


   -------------------------------------------------------------
   Ira Abramov          <ira@scso.com>        Scalable Solutions
   SITE Web Presence ("webspace for rent") http://www.site.co.il
   Beeper 48484 at 03-610-6666, 02-6294-666  FAX (972)2-643-0471
   POBox 3600, Jerusalem 91035, Israel       Tel (972)2-642-6822
   http://www.scso.com/~ira   Check out: http://www.linux.org.il


Follow-Ups: References: