From owner-freebsd-current Wed Mar 7 10:41:39 2001 Delivered-To: freebsd-current@freebsd.org Received: from gratis.grondar.za (grouter.grondar.za [196.7.18.65]) by hub.freebsd.org (Postfix) with ESMTP id 260E837B71A; Wed, 7 Mar 2001 10:41:30 -0800 (PST) (envelope-from mark@grondar.za) Received: from grondar.za (root@gratis.grondar.za [196.7.18.133]) by gratis.grondar.za (8.11.1/8.11.1) with ESMTP id f27IetR60520; Wed, 7 Mar 2001 20:40:57 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <200103071840.f27IetR60520@gratis.grondar.za> To: Matt Dillon Cc: Bruce Evans , Maxim Sobolev , dougb@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: harvest_interrupt=YES slows down machine References: <200103071732.f27HWou70340@earth.backplane.com> In-Reply-To: <200103071732.f27HWou70340@earth.backplane.com> ; from Matt Dillon "Wed, 07 Mar 2001 09:32:50 PST." Date: Wed, 07 Mar 2001 20:41:49 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I think it would be a much better idea to cap the number of interrupts > per second the reseeder accepts. e.g. have a sysctl to set the > max and default it to something reasonable, like 200. The seeder would > thus only run 200 times a second even if A person were getting > 7750 interrupts/sec. Frankly, once we have a good random seed it would > only take about 10 interrupts a second to keep the random number > generator in good shape, and possibly even less. Overkill is not > necessary. This effectively happens. The harvest ring is a limited length, and any overflows are discarded. M -- Mark Murray Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message