1

I've read a little bit about swap memory, but I don't understand it enough to make a decision on trying to look into this more on my system.

Here's what I have available right now:

user@ubuntu:$ free -m
             total       used       free     shared    buffers     cached
Mem:         15932      11505       4427        104       1315       6719
-/+ buffers/cache:       3470      12462
Swap:            0          0          0

Should I be concerned that I have no swap memory available?

2 Answers2

0

Swap space is a portion of a hard disk drive (HDD) that is used for virtual memory. See definition here: Swap Definition. I have 8 Gb for the swap partition, but i never had to use it,

             total       used       free     shared    buffers     cached
Mem:          7854       7717        136         15       2559       2520
-/+ buffers/cache:       2637       5216
Swap:         8058          0       8058

If i was you, i'm not did a new partition, but if you anyway wants, looks at this: How do I add a swap partition after system installation?

For a new partition i prefer the use a Live Ubuntu disc and GParted Partition Editor. If need help for this, tell me.

Aby
  • 883
0

you didn't provide vital informations for us to support you!

At a very minimum, you should provide your Ubuntu version, hardware description (eg. cpu and ram details), computer's role description (eg. server or workstation, gui needed/installed).

Anyway, i can suggest you that there are a very few cases in which no swap partition is a good practice.

Take a look at this post where Oli explains why you should always have a swap partition in your systems. I totally agree with this post. https://askubuntu.com/a/15338/265813 In the same thread you can find a script that i use to monitor my server's swap space usage.

Last but not least, search for your case. Everything about common Swap usage and partitioning has already been said! :-)

Marco
  • 186