News Score: Score the News, Sort the News, Rewrite the Headlines

Is there ever a good reason to disable swap?

If you're running a raspberry pi type machine with storage on an SD card or similar. It's too easy to kill them with many writes.Also on a dedicated systems where you have full control of the stack, the apps, and have resource limits in place anyway. If you know your embedded system will never need more than X GB, you can use it as resource limit of last resort. (And hopefully let the watchdog reboot it after the required app fails to check in) Most people think of swap as "emergency memory in c...

Read more at news.ycombinator.com

© News Score  score the news, sort the news, rewrite the headlines