[plug] Position of swap on single disk system.

John Summerfield summer at os2.ami.com.au
Thu Jul 15 17:48:39 WST 1999


> 
> I have read that swap should be close to the outside of the disk for
Never

> speed. I think I have also read that the middle of the disk is good so
> the heads have less distance to travel. On a single disk worksation
> system that regulary used signifcant swap, What is the best setup.

The middle, for the reason you gave.

> 
> This is for my single disk, 40MB ram, 3.2GB drive, P200 system. 
> With X, a few xterms and Netscape I use all my RAM. A gimp session will
> be very heavy with swapping.

Consider more RAM of swapping is heavy for more than a little while.

> 
> Im about to play with /dev/hda1
> 
> bevan at vincent>df -k
> Filesystem         1024-blocks  Used Available Capacity Mounted on
> /dev/hda5             101471   59963    36268     62%   /
> /dev/hda7             491660  327783   138477     70%   /usr
> /dev/hda8             686892  586661    64751     90%   /home
> /dev/hda1            1041795  729934   258036     74%   /usr/local
> /dev/hda9             390317   89722   280437     24%
> /usr/local/CompressedPrograms
> /dev/hda10            197324   47248   150076     24%   /fat1

This does not give a good idea of the layout: sfdisk does better.

> bevan at vincent>mount
> /dev/hda5 on / type ext2 (rw)
> none on /proc type proc (rw)
> /dev/hda7 on /usr type ext2 (rw)
> /dev/hda8 on /home type ext2 (rw)
> /dev/hda1 on /usr/local type ext2 (rw)
> /dev/hda9 on /usr/local/CompressedPrograms type ext2 (rw)
> /dev/hda10 on /fat1 type vfat (rw,umask=0000)
> 
> BB
> 
> -- 
> Bevan Broun                                           ph (08) 9380 1587
> Computer Systems Officer                             fax (08) 9380 1065
> Dept. Electrical and Electronic Engineering      
> University of Western Australia                                 rm. G70
> 

-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.




More information about the plug mailing list