From dabc6a7f84f464588acbbe2cbf7eea7a24ebcf06 Mon Sep 17 00:00:00 2001 From: Ivan Fedorov Date: Sun, 16 Oct 2022 22:12:23 +0300 Subject: [PATCH] installation/guides/arm-devices/raspberry-pi: Workaround for rngd cpu overload --- src/installation/guides/arm-devices/raspberry-pi.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/installation/guides/arm-devices/raspberry-pi.md b/src/installation/guides/arm-devices/raspberry-pi.md index 53460f9e..3bbeb6f4 100644 --- a/src/installation/guides/arm-devices/raspberry-pi.md +++ b/src/installation/guides/arm-devices/raspberry-pi.md @@ -50,6 +50,14 @@ 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 can be excluded and HWRNG device forced by creating `/etc/sv/rngd/conf` +with the contents: + +``` +RNGD_OPTS='-x jitter -x pkcs11 -x rtlsdr -n hwrng' +``` + ## Graphical session The `mesa-dri` package contains drivers for all the Raspberry Pi variants, and