But swap behaviour kills performance even when memory is more than adequate. Consider building a DVD image in a 4GB system. The i/o forces all of the unused programs out, in spite of the fact that an extra 100MB doesn't make a measurable difference in performance. But when I click Mozilla paging most of it in from disk make a big difference in performance to the user.
The problems with small memory are different in kind, when not even the programs will fit in memory at the same time, or will leave next to nothing for i/o, swap is required for performance. But on a large memory system I believe the gain to pain ratio is way too low with the current VM. The solution at the moment is to turn off swap, which as you note has other problems (can't move between zones without swap?) which in theory could really hang a system.
--
-bill davidsen (davidsen@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/