diff options
author | Andrei Gudkov <gudkov.andrei@huawei.com> | 2023-04-27 15:42:57 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-05-15 10:33:03 +0200 |
commit | 00a3f9c60ab0e5c8fd7bfbc300323f012cdd2fa6 (patch) | |
tree | f4d477975cc4d4797828323f89ae645ac78a1aa1 /hw | |
parent | 8844bb8d896595ee1d25d21c770e6e6f29803097 (diff) | |
download | qemu-00a3f9c60ab0e5c8fd7bfbc300323f012cdd2fa6.zip qemu-00a3f9c60ab0e5c8fd7bfbc300323f012cdd2fa6.tar.gz qemu-00a3f9c60ab0e5c8fd7bfbc300323f012cdd2fa6.tar.bz2 |
migration/calc-dirty-rate: replaced CRC32 with xxHash
This significantly reduces overhead of dirty page
rate calculation in sampling mode.
Tested using 32GiB VM on E5-2690 CPU.
With CRC32:
total_pages=8388608 sampled_pages=16384 millis=71
With xxHash:
total_pages=8388608 sampled_pages=16384 millis=14
Signed-off-by: Andrei Gudkov <gudkov.andrei@huawei.com>
Message-Id: <cd115a89fc81d5f2eeb4ea7d57a98b84f794f340.1682598010.git.gudkov.andrei@huawei.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions