Hacker News new | ask | show | jobs
by yodi 1044 days ago
Depend on use case. For me, its very crucial. Context, I'm working on ML and run several processing where usually consume memory up to 1TB at my workstation. Since my RAM only 196GB, this will trigger OOM killer, without Swapfile.

I use HHHL PCI SSD to host my swapfile to withstand with rapid read-write activities

2 comments

Hate to say it, but you're doing it wrong.

Depending on budget (and how expensive you consider your / development time), just choose between:

a) Use smaller ML models / tweak configuration such that it actually fits into 196 GB. That's already a ffing humongous amount of RAM! Or

b) Bite the bullet, and add RAM to fit the ML model(s) you're using.

Your workflow sounds like running Win95x on a 1 MB machine. Painful! (if it works at all). Just add the RAM, or slap DOS + Win 3.x back onto it.

Wow, so if I understand correctly, does this actually lead to better performance?
If the choice is between 0 performance and the performance he gets out of the swap file the answer should be yes.
Thanks for letting me know!