| ▲ | t-3 13 hours ago | |||||||
The reason you're supposed to have swap equal in size to your RAM is so that you can hibernate, not to make things faster. You can easily get away with far less than that because swap is rarely needed. | ||||||||
| ▲ | dspillett 12 hours ago | parent | next [-] | |||||||
> so that you can hibernate The “paging space needs to be X*RAM” and “paging space needs to be RAM+Y” predate hibernate being a common thing (even a thing at all), with hibernate being an extra use for that paging space not the reason it is there in the first place. Some OSs have hibernate space allocated separately from paging/swap space. | ||||||||
| ▲ | Balinares 12 hours ago | parent | prev [-] | |||||||
I do wish there was a way to reserve swap spaces for hibernation that don't contribute to the virtual memory. Else by construction the hibernation space is not sufficient for the entire virtual memory space, and hibernation will fail when the virtual memory is getting full. | ||||||||
| ||||||||