2 ms·
> why would you still need a swap partition? You don't, but if something decides to grab memory, the OOM-killer will kill processes abruptly. Swap may allow th
by ableal 13y ago
> why would you still need a swap partition?
You don't, but if something decides to grab memory, the OOM-killer will kill processes abruptly. Swap may allow the system to limp along until there's some solution.
It's not like 10 or 20GB HD these days matter much either.
- perlgeek 13y agoThough of course some people prefer the OOM-killer to kick in fast instead of the whole system being unresponsive for about an hour or so. That's why my desktop and laptop systems don't have swap enabled.
- rosser 13y agoWould you rather consume physical pages of RAM by storing less recently used programs and data, or by caching more recently used disk pages? Myself, I'd generally prefer to evict the older stuff to swap in order to cache the newer stuff. But maybe that's just me.
- ableal 13y agoQuite a while ago, HP-UX (v9, if memory serves) got this balance wrong - the system was keeping files in RAM, and kicking active processes to swap. Much gnashing of teeth ensued until HP fixed that ...