https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254513

Kyle Evans <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]

--- Comment #17 from Kyle Evans <[email protected]> ---
(In reply to Chris Collins from comment #16)

Can you provide details on the host here? I'm a little curious if qemu is
configure to use a non-default backend for entropy, and what kernel version
it's running.

According to https://wiki.qemu.org/Features/VirtIORNG, the default is
/dev/random which may block until more recent linux releases. I'm wondering if
we're depleting the host's /dev/random with our (10hz?) polling, frequently
leaving us stuck in a tight spin here:
https://cgit.freebsd.org/src/tree/sys/dev/virtio/virtqueue.c?h=releng/13.0#n605
-- CC'ing some csprng@ folks and some virtio folks.

I wonder if it would make sense to add an optional timeout parameter to
virtqueue_poll() so that rng doesn't get stuck if vtrnd can't currently
contribute to the pool.

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

Reply via email to