Andrei Gudkov <gudkov.and...@huawei.com> wrote:
> 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.and...@huawei.com>


Reviewed-by: Juan Quintela <quint...@redhat.com>

This changes nothing outside of dirtyrate, and if the hash function is
faster, we should be good.

queued.


Reply via email to