RU version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
100% Positive
Analyzed from 240 words in the discussion.
Trending Topics
#swap#files#btrfs#zswap#should#using#file#root#partition#ram

Discussion (5 Comments)Read Original on HackerNews
I had planned to upgrade the machine to 32GB of RAM but I don't really feel it's necessary at this point. Which is obviously great given the current RAM costs!
[0]: https://btrfs.readthedocs.io/en/latest/Swapfile.html
> filesystem - must be only single device
> This means swapfiles will have an amplified impact, much larger than the size of the swapfile itself.
> Users should be aware of the impact when using swapfiles alongside other data. This is especially discouraged for root filesystem.
If a swap file is the only thing that will work with your setup, then it's fine to use one, but if you're at all able to use a swap partition, then that's a far better choice. (Swap files are fine on ext4 and xfs; it's only COW filesystems like btrfs and zfs where they should be avoided.)