At one of the VMworld presentations I heard a discussion regarding when the esx kernel decides to swap. The jist of the talk was that if you sum up virtual machine memory requirements and divide by available esx memory you end up with a value called "memory pressure". Any value less than 1means that there's plenty of memory available for VMs and life is good. Values greater than 1 means that something must be done to continue (swapping, balloon memory, shared memory,etc.)
I loved the talk... til I asked "where do I get this counter?" Silence. Anyone have any ideas?
Tom