Frequently Asked Questions for FreeBSD 2.X : Miscellaneous Questions : FreeBSD uses far more swap space than Linux. Why?
Previous: Miscellaneous Questions
Next: Why use (what are) a.out and ELF executable formats?

12.1. FreeBSD uses far more swap space than Linux. Why?

It doesn't. You might mean ``why does my swap seem full?''. If that is what you really meant, it's because putting stuff in swap rather than discarding it makes it faster to recover than if the pager had to go through the file system to pull in clean (unmodified) blocks from an executable.

The actual amount of dirty pages that you can have in core at once is not reduced; the clean pages are displaced as necessary.


Frequently Asked Questions for FreeBSD 2.X : Miscellaneous Questions : FreeBSD uses far more swap space than Linux. Why?
Previous: Miscellaneous Questions
Next: Why use (what are) a.out and ELF executable formats?