3 ms·
Yeah my reply was to the "disable swap" part of the discussion, not the swappiness one.
by edwintorok 12y ago
Yeah my reply was to the "disable swap" part of the discussion, not the swappiness one.
- scott_s 12y agoDisabling swap means setting swappiness to 0; I'm not sure how you can talk about "disabling swap" without talking about swappiness.
- edwintorok 12y agoBecause that depends on the kernel version, I took the more reliable approach of using 'swapoff -a' (or in fact not defining any swap in my /etc/fstab). https://news.ycombinator.com/item?id=7940387 https://news.ycombinator.com/item?id=7940387 https://news.ycombinator.com/item?id=7940136 https://news.ycombinator.com/item?id=7940136
- scott_s 12y agoWhich then means that you're not allowing the kernel to make such decisions as what I described. (Rarely used pages paged out to allow for more disk cache.)