[RFT] mmu optimizations branch

Avi Kivity
2007-01-01T10:32:27Z

This is a request for testing of the mmu optimizations branch.

Currently the shadow page tables are discarded every time the guest
performs a context switch. The mmu branch allows shadow page tables to
be cached across context switches, greatly reducing the cpu utilization
on multi process workloads. It is now stable enough for testing (though
perhaps not for general use).

I've tested 32-bit Linux (pae and non-pae), 64-bit Linux, and pae
Windows guests on both 32-bit and 64-bit Intel hosts.

Known problems:

- no AMD support yet
- will fail horribly in low host memory situations (so run it with
plenty of free memory)

I will fix these issues in the next few days.

There are still many optimizations that can be had, and I expect
performance to improve steadily once it is fully stabilized.

You can download the code from

http://people.qumranet.com/avi/kvm-mmu-4221.tar.gz

or directly from the subversion repository.