(08-31-2019, 12:06 PM)Der Geist der Maschine Wrote: Why does the default OS not come with a swap partition but only a 500MB swap file?
- the swap size is quite small
- why not a partition for faster access
I suspect that suspend to disk will not work with a) a swap file that is b) smaller than physical memory.
As far as suspend to disk (hibernate) is concerned, there are two important points about the hibernation image:
- 1. It only needs to contain the contents of memory which is in use (A lot of the time, you won't be using all available memory)
- 2. The image is compressed.
With Swap Partitions vs Swap Files, in most circumstances the performance differences are minimal, while the advantage of a swapfile is it's trivial to adjust the size while the system is running.
Of course, it's your system, so it shouldn't be too difficult for you to repartition the disk to accomodate a large swap partition if that's what you prefer
