SWAPPATH
command
in &cfgsys;. See the SWAPPATH documentation in the
&os2; Command Reference for details.
For more information about this topic, see Paging.
SWAPPER.DAT
).
This display is continually updated when the swapp file's size changes.
The default value of 2 MB is definitely too low for most systems, unless you have a lot of memory installed. For example, if the current size of the swap file is 20 MB and you have a minimum size of 2 MB set, you should raise that value to 32 MB to avoid unnecessary swap file size adjustments.
This setting corresponds to the third parameter of the SWAPPATH &cfgsys; command.
This setting corresponds to the second parameter of the SWAPPATH &cfgsys; command.
In general, you should put the swap file on an HPFS drive, because this avoids fragmentation and is generally faster. In addition, you should put the swap file on the most used partition of the least used hard disk (if you have several hard disks built into your computer). This avoids unneccessary movement of the read/write heads of the hard disks when the swap file is accessed. Of course however, if that partition resides on a hard drive which is much slower than the others, a different hard drive might be preferrable.
This setting corresponds to the first parameter of the SWAPPATH &cfgsys; command.
Please note that when you change the swap file location, the old swap file will not automatically be deleted during the next reboot. You should therefore remember the old location and manually delete the old swap file after the system has been rebooted, or otherwise several MB of hard drive space will remain occupied.