summary refs log tree commit diff stats
path: root/migration/qemu-file.c
diff options
context:
space:
mode:
authorAndrei Gudkov <gudkov.andrei@huawei.com>2023-04-27 15:42:57 +0300
committerJuan Quintela <quintela@redhat.com>2023-05-15 10:33:03 +0200
commit00a3f9c60ab0e5c8fd7bfbc300323f012cdd2fa6 (patch)
treef4d477975cc4d4797828323f89ae645ac78a1aa1 /migration/qemu-file.c
parent8844bb8d896595ee1d25d21c770e6e6f29803097 (diff)
downloadfocaccia-qemu-00a3f9c60ab0e5c8fd7bfbc300323f012cdd2fa6.tar.gz
focaccia-qemu-00a3f9c60ab0e5c8fd7bfbc300323f012cdd2fa6.zip
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 'migration/qemu-file.c')
0 files changed, 0 insertions, 0 deletions