Koozali.org: home of the SME Server

Disk Swap space allocated

Robert Adams

Disk Swap space allocated
« on: June 23, 2002, 09:08:34 PM »
After installing v5.1.2 onto a 1 gig solid state hard drive I was suprised to discover that almost 25% of the hard drive is defined as disk swap. With 512 meg of ram I rarely exceed 15% of Physical Memory utilized. With respect to this issue is they a simple way to reduce the swap space and reallocate it to /dev/hda6 ? Could I use "Partition Magic" to alter the partition sizes and not impact performance? Btw using the SS HD has turned my Mitel/E-smith server into a true appliance with little or no noise !

Thanks

Bob Adams

Dan Brown

Re: Disk Swap space allocated
« Reply #1 on: June 23, 2002, 09:24:36 PM »
Your best bet is probably to make a boot floppy from the CD, edit the ks.cfg file to reflect a smaller swap file (maybe 64 MB), and then boot from that floppy to reinstall (not upgrade).  Partition Magic can resize Linux ext2 partitions, but I don't think it can do swap partitions.

Tom Keiser

Re: Disk Swap space allocated
« Reply #2 on: June 23, 2002, 09:36:23 PM »
I think it depends on how busy your server is going to be. On a busy box, the recommendation is to have twice the swap space as physical memory -- meaning you'd need a 1GB solid state hdd just for swap space. On a box that isn't really busy, you *MAY* be able to get away with the same size swap as memory.

Bear in mind: if your swap resources ever fill up, your box will stop running.

Good luck.

Robert Adams wrote:
>
> After installing v5.1.2 onto a 1 gig solid state hard drive I
> was suprised to discover that almost 25% of the hard drive is
> defined as disk swap. With 512 meg of ram I rarely exceed 15%
> of Physical Memory utilized. With respect to this issue is
> they a simple way to reduce the swap space and reallocate it
> to /dev/hda6 ? Could I use "Partition Magic" to alter the
> partition sizes and not impact performance? Btw using the SS
> HD has turned my Mitel/E-smith server into a true appliance
> with little or no noise !
>
> Thanks
>
> Bob Adams