Hacker News new | past | comments | ask | show | jobs | submit login

You are almost right. With enough RAM, a system will work perfectly without swap. There is, however, a small performance penalty. Even with enough RAM, Linux will swap out processes, trying to free memory for use as disk cache. On most cases, this yields performance gains, which would be lost if the swap file is disabled.



What about systems with SSD?




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: