On 04/06/2010 12:55 PM, Avi Kivity wrote:
Here is a microbenchmark demonstrating the hit (non-virtualized); it
simulates a pointer-chasing application with a varying working set.
It is easy to see when the working set overflows the various caches,
and later when the page tables overflow the caches. For
virtualization the hit will be a factor of 3 instead of 2, and will
come earlier since the page tables are bigger.
size 4k (ns) 2M (ns)
4k 4.9 4.9
16k 4.9 4.9
64k 7.6 7.6
256k 15.1 8.1
1M 28.5 23.9
4M 31.8 25.3
16M 94.8 79.0
64M 260.9 224.2
256M 269.8 248.8
1G 278.1 246.3
4G 330.9 252.6
16G 436.3 243.8
64G 486.0 253.3
(latencies are for a single read access)
--
error compiling committee.c: too many arguments to function
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>