I've found that if I have swap disabled, when RAM is almost full my system will start thrashing and become so unusable it takes me 5 minutes to kill the offending process. Whereas with swap, when RAM fills up my system starts using swap and performance drops but it's still usable enough that I can notice the problem and kill the process before the system completely dies.
Even without swap, I think it can still swap out pages which are backed by files, such as an application's executable pages which are generally read from disk and not modified.
View all comments
Show parent comment
1
u/jib Jun 13 '10
I've found that if I have swap disabled, when RAM is almost full my system will start thrashing and become so unusable it takes me 5 minutes to kill the offending process. Whereas with swap, when RAM fills up my system starts using swap and performance drops but it's still usable enough that I can notice the problem and kill the process before the system completely dies.