Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2021 17:36:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 254513] virtio_random: random_harvestq spinning on a CPU with Q35 virtio random device
Message-ID:  <bug-254513-27103-t14gSaw91n@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254513-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254513-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254513

--- Comment #23 from Conrad Meyer <cem@freebsd.org> ---
We read a lot from random sources we expect to be =E2=80=9Cfast=E2=80=9D, l=
ike virtio-rng.

https://github.com/freebsd/freebsd-src/blob/main/sys/dev/random/random_harv=
estq.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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254513-27103-t14gSaw91n>