Ubuntu Mini-RAM HOWTO
Ozitraveller
ulist at gs1.ubuntuforums.org
Tue Jan 4 00:34:34 UTC 2005
Jack Johnson Wrote:
> On Mon, 3 Jan 2005 16:15:03 -0500, Ozitraveller
> <ulist at gs1.ubuntuforums.org> wrote:
> > I have 2 HD's, 9.2 gb and 8.6 gb. What sort of partitioning scheme
> > gives the best performance? At the moment I have:
> >
> > hda:
> > Ext 3 / 280 MB
> > Ext 3 /usr 3.4 GB
> > Ext 3 /var 3.2 GB
> > swap swap 2.0 GB
> > Ext 3 /tmp 300 MB
> >
> > hdb:
> > Ext 3 /home 8.6 GB
>
> Swap can gain performance if you have it on the drive that gets the
> least access, and also works well having it across multiple drives.
>
> If you *need* 2GB of swap, I would recommend putting 1GB on one drive
> and 1GB on the other, but I suspect you've got way more swap than you
> need (unless you're trying to recompile GNOME, KDE or glibc on a
> memory-challenged machine).
>
> You can get a rough guide at
> http://www.lissot.net/partition/partition-4.html for sizing your swap.
> There are as many rules of thumb as there are thumbs, I think, but
> double your RAM isn't a bad spot.
>
> What *will* give you better performance is to get your drives on
> separate controllers. Make your other drive hdc and you'll see a
> noticeable improvement. You can always make your removable media hdb
> or hdd (but again, I would recommend putting it on the opposite
> controller from the one that gets the most access -- if you're burning
> CDs from /home, put your burner at hdb and your second drive at hdc).
> More info at:
> http://www.tldp.org/HOWTO/Software-RAID-HOWTO-4.html#ss4.1
> and elsewhere, but the same factors apply.
>
> -Jack
Thanks Jack.
I was only just playing with the 2 gb swap setting. Usually I use 1gb.
I'll have to try switching the drives onto different ide controllers
and splitting the swap over the drives.
--
Ozitraveller
More information about the ubuntu-users
mailing list