Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate swap files instead of swap partitions #22

Open
ikeydoherty opened this issue Dec 16, 2016 · 2 comments
Open

Investigate swap files instead of swap partitions #22

ikeydoherty opened this issue Dec 16, 2016 · 2 comments

Comments

@ikeydoherty
Copy link
Member

ikeydoherty commented Dec 16, 2016

Ubuntu is going to now default to swapfiles on new installs. Potentially quite a good idea, so we should investigate the exact details and consider implementing this in Solus via the installer

http://phoronix.com/scan.php?page=news_item&px=Ubuntu-Switching-To-Swap-Files

http://blog.surgut.co.uk/2016/12/swapfiles-by-default-in-ubuntu.html

Pinged @xnox to query whether to use sparse or allocate the regions beforehand

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40137659-investigate-swap-files-instead-of-swap-partitions?utm_campaign=plugin&utm_content=tracker%2F2994527&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2994527&utm_medium=issues&utm_source=github).
@xnox
Copy link

xnox commented Dec 19, 2016

note formatting is odd in the description, w.r.t. urls syntax.

  • swapfiles are not supported on btrfs
  • fallocate can allocate a file quickly, suitable for swapfile, on some filesystems (creates file with holes on xfs, works like a charm on ext4)
  • for encrypted use case, using ext4 fs encryption is to be investigated yet

@ikeydoherty
Copy link
Member Author

We had Bountysource running once, just to see "was it worth it". Never went anywhere. I disabled the plugins everywhere, removed Bountysource's access.. and this is the net result. Every so often it vomits over our issues.. :)

Cheers for responding here, somewhat unexpected :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants