How to configure a swap file
Here is the result of free:
total used free shared buffers cached Mem: 1024924 666304 358620 0 35024 341772 -/+ buffers/cache: 289508 735416 Swap: 0 0 0 Result of sudo fdisk -l: Disk /dev/sda: 15.4 GB, 15408046080 bytes 255 heads, 63 sectors/track, 1873 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0f8ba6ae Device Boot Start End Blocks Id System /dev/sda1 1 3 24066 de Dell Utility /dev/sda2 * 4 1873 15020775 83 Linux Please recommend if a swap file is needed to improve performance. If yes, please show me the steps. Thank you. |
Hi,
You appear to have enough free memory at the time, but in case you need to make use of more intensive applications the following URL has a tutorial on how to add swap on a file: http://www.cyberciti.biz/faq/linux-a...ap-file-howto/ Your other alternative of course is create a partition for your swap, but you may need to resize your partitions if you don't have unallocated space. Best regards, |
All times are GMT -5. The time now is 12:41 PM. |