swap memory question

Asked by David on 2013-12-16

How much swap memory should i have? I have a 500gb hdd and 6GB ram.
My specs
Release 12.04 (precise) 64-bit
Kernel Linux 3.8.0-34-generic
GNOME 3.4.2

Memory: 5.7 GiB
Processor: Intel® Core™ i3-3227U CPU @ 1.90GHz × 4

Thank you <3 I just want to run steam games smoothly.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
2013-12-16
Last reply:
2013-12-16

For 6Gb RAM, use 6.6Gb swap (1.1 x RAM for over 2Gb RAM).

Unless you are planning to hammer the system or need suspend / hibernate you will not touch your swap space with that much RAM. Set vm.swappiness to 2 and you'll sail.

If you need hibernate / suspend then set 6.6Gb swap. I can imagine you have drive space to chuck around anyway so 6.6Gb space used as swap probably won't be noticed.

Can you help with this problem?

Provide an answer of your own, or ask David for more information if necessary.

To post a message you must log in.