qemu migration: homogeneous pages optimization
commit6d6a79fa7a57e9e3e770d656f82d8511c2fff59e
authorUri Lublin <uril@qumranet.com>
Wed, 7 Mar 2007 13:54:09 +0000 (7 13:54 +0000)
committerUri Lublin <uril@qumranet.com>
Wed, 7 Mar 2007 13:54:09 +0000 (7 13:54 +0000)
tree782ea2f95d2c2522ae8fd9e08be8c75384161ab2
parentb9505310c411ea77c4f7fb0455e4d444baaa744c
qemu migration: homogeneous pages optimization

If all the bytes of a page are the same (homogeneous page) there is no need to
    send the whole page, a single byte is enough.
Using 32-bit ints instead of bytes to optimize even more (faster and require
    all-ints-are-the-same which is a superset of all-bytes-are-the-same).

Discovering that a page is not homogeneous is done "quickly" (with high
    probability).
migration.c