Hi every one.
I have a client with a Unixware 7.1.3 system.
4GB Ram
2 x Xeon CPU's
4 x 147GB scsi Raid 5 Config
1 x 147GB Scsi spare drive
Running a database application on top of Unixware
What is the formula you use to determine what the size of the swap file is suppose to be ?.
The "Administration and Installation" guide does not list this information it only says "Size of System = 256MB Size of swap space = 200MB"
On Debian Linux i use the following:
2 x ( Physical Ram ) = ( Swap file size )
For the client's Unixware system the following information was retrieved
# swap -l
path dev swaplo blocks free
/dev/swap 7679,2 0 4192256 4192256
#
swap blocks = 4192256 x 512 = 2,146,435,072 ( 2.1 GB )
free blocks = 4192256 x 512 = 2,146,435,072 ( 2.1 GB )
# swap -s
total: 0 allocated + 1977784 reserved = 1977784 blocks used, 10311584 blocks available
#
used 1977784 x 512 = 101,265,408 ( 101MB )
available 10311584 x 512 = 5,279,531,008 ( 5.2GB )
So my total swap space is 5.3GB.
What i'm trying to establish here is this.
1) Did the guy who installed the system do the correct calculation for the swap file ?.
2) What is the correct formula to follow for calculation swap space for a new system ?.
Thanks in advance