From 1a82feafdba02e150308e249eed344d8561ab032 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 8 Dec 2010 11:17:02 +0100 Subject: [PATCH] runit/havaged: changed run script template to add '-w 3072' (see note) Note: The default size of the linux kernel entropy pool is 4096 bits, and the default 'write_wakup_threshold' - defining the number of bits of entropy below which we wake up processes that do a select() or poll() for write access to /dev/random - is set to 128, which is not sufficient for machines that consume a lots of entropy. The 'write_wakup_threshold' can be set manually via sysfs in '/proc/sys/kernel/random/write_wakeup_threshold' but haveged is able to set it by itself through the '-w' option. --- base/runit/packages/haveged-haveged.tail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/runit/packages/haveged-haveged.tail b/base/runit/packages/haveged-haveged.tail index 12b6fb3b3..0365e48f5 100644 --- a/base/runit/packages/haveged-haveged.tail +++ b/base/runit/packages/haveged-haveged.tail @@ -1 +1 @@ -run D_sbindir/haveged -F +run D_sbindir/haveged -F -w 3072