Here’s a utilty to assist in maintaining a fully defragged Windows system.
PageDefrag uses advanced techniques to provide you what commercial defragmenters cannot: the ability for you to see how fragmented your paging files and Registry hives are, and to defragment them. In addition, it defragments event log files and Windows 2000/XP hibernation files (where system memory is saved when you hibernate a laptop).
get it here
And I came by this bit on a related Slashdot post … the author mentions a way to tune Linux swap memory performance.
The ’swappiness’ of Linux can be tuned: since kernel 2.6.0 there has been a proc file /proc/sys/vm/swappiness. This can be set on a value from 0 (try to never swap) to 100 (agressively write out pages to disk). By default, it is set to 60. To change the swappiness, say, to 40:
echo 40 >/proc/sys/vm/swappiness