[Bug 254513] virtio_random: random_harvestq spinning on a CPU with Q35 virtio random device

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Sep 2021 17:36:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254513

--- Comment #23 from Conrad Meyer <cem@freebsd.org> ---
We read a lot from random sources we expect to be “fast”, like virtio-rng.

https://github.com/freebsd/freebsd-src/blob/main/sys/dev/random/random_harvestq.c#L231

10Hz x 4B x HARVESTSIZE x (max) RANDOM_KEYSIZE_WORDS x 32 pools

http://fxr.watson.org/fxr/source/dev/random/random_harvestq.h#L32

http://fxr.watson.org/fxr/source/dev/random/hash.h#L37

Up to about 20 kB/s.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.