From b177da2f25961124c1979ec8adfaeccc8bb28d95 Mon Sep 17 00:00:00 2001 From: Ivan Fedorov Date: Sun, 16 Oct 2022 22:12:23 +0300 Subject: [PATCH] Workaround for rngd cpu overload on rpi --- src/installation/guides/arm-devices/platforms.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/installation/guides/arm-devices/platforms.md b/src/installation/guides/arm-devices/platforms.md index b731a4b1a..4157f8b91 100644 --- a/src/installation/guides/arm-devices/platforms.md +++ b/src/installation/guides/arm-devices/platforms.md @@ -45,6 +45,13 @@ In order to fix this, install the `rng-tools` package and [enable](../../../config/services/index.md#enabling-services) the `rngd` service, which uses the `/dev/hwrng` device to seed `/dev/random`. +Sometimes `rngd` can cause CPU overload. To prevent this inefficient entropy +sources must be excluded and HWRNG device forced: + +``` +echo "RNGD_OPTS='-x jitter -x pkcs11 -x rtlsdr -n hwrng'" > /etc/sv/rngd/conf +``` + ### Graphical session The `mesa-dri` package contains drivers for all the Raspberry Pi variants, and