0

My Ubuntu system has been slow since recent updates. Usable for some things, but Facebook in particular has slowed to a crawl. A facebook video takes 5 to 8 minutes to load. The Gnome system monitor shows I have a swap file but the current value never varies away from zero. Running a Samsung netbook N110 with 2Gig ram.

1 Answers1

2

A system with only 2GB RAM should definitely have a swap partition or file!

Swap is used if your RAM is not large enough to fulfil the memory demands of your system and running applications. It's located on your HDD and therefore magnitudes slower than RAM, but without it, if your RAM is 100% used up, the system starts killing processes to free up some. Otherwise it may swap out memory pages to the swap area on disk.

You can verify whether you have any swap enabled already by running the command swapon which will list them all (or nothing, if nothing is set up).

I would recommend you to configure about 2GB - 4GB swap space for your setup.

To add a swap partition, check out How do I add a swap partition after system installation?.

If you want a swap file instead, read Adding a new swap file. How to edit fstab to enable swap after reboot?.

Byte Commander
  • 110,243