Messages in this thread | | | Date | Sun, 24 Jun 2001 21:07:55 +0100 | From | Jonathan Morton <> | Subject | Re: Thrashing WITHOUT swap. |
| |
>Now my question is how can it be >thrashing with swap explicitly turned off?
Easy. All applications are themselves swap space - the binary is merely memory-mapped onto the executable file. When the system gets low on memory, the only thing it can do is purge some binary pages, and then repeatedly page them back in from the original executable file.
If you added a little bit of swap, it would be able to page out some idle data rather than binaries, and would probably avoid thrashing. -- -------------------------------------------------------------- from: Jonathan "Chromatix" Morton mail: chromi@cyberspace.org (not for attachments) website: http://www.chromatix.uklinux.net/vnc/ geekcode: GCS$/E dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*) tagline: The key to knowledge is not to rely on people to teach you it. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |