[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux Il
On Thu, 25 Jun 1998, Ira Abramov wrote:
:On Wed, 24 Jun 1998, Ariel Biener wrote:
:
:> > Your /dev/sda1 is probably the swap partition.
:>
:> And if it is, just for the record, it is VERY bad practice to have the
:> swap partition as the 1st partition.
:
:since it seems to be that the fastest tracks of the disks I used lately
:are in the beginning, I see no harm in that.
:
:funny. up untill 2-3 years ago, the end of the disk was fastest, anyone
:has any ideas when did that switch?
:
:One thing I will agree to: if you have a REALLY busy server and the disk
:is 5 gigs and over, it's better to locate the swap near the center of the
:disk, so the head travels less. on a REALLY busy server, put it on the
:least used disk altogether (read: not on the same disk as root or webcache
:or whatever is reada lot). but for home systems beginning of the disk is
:fine...
It's going offtopic, but:
there are some other tips 'bout swap:
Having 2 or more scsi disks, cut the swap and throw it on all the disks by
parts
Never put a swap on RAID
the really best place for swap is SECOND partition, and here's why:
the density of disk is going from the big values on the beginning of disk
(edge) to low on the end (center). So the average of actual information
amount is located near the 25% from the beginning. Having your partitions
split by the Sun way (one I usually preffer), partition table looks like
this:
1: root
2: swap
3: opt (linux: /usr/local)
4: usr
5: home
On really heavy loaded server, you"d expect HUGE /usr/local and big
/home.
Those are my thoughts about swap
:--
:Ira Abramov <ira(a)scso.com> whois: IA58 (a linux enthusiast)
:
:She sells cshs by the cshore. - Rob Malda
:
:
:
.---..-._.-..---..---. || Omer Mussaev <omer@cs.bgu.ac.il> 051308214
| | || \./ || ==:| |-< || ------------------------------------------|
`---'`-' `-'`---'`-'`/ || CS system/network staff
Life is sequential. \/|| Ben Gurion University of Negev, Israel