From owner-freebsd-current@FreeBSD.ORG Thu Sep 9 09:38:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC8E216A4CE; Thu, 9 Sep 2004 09:38:50 +0000 (GMT) Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id A544D43D5D; Thu, 9 Sep 2004 09:38:50 +0000 (GMT) (envelope-from daniel_k_eriksson@telia.com) Received: from gadget (h130n1fls11o822.telia.com [213.64.66.130]) by smtp3-2-sn1.fre.skanova.net (Postfix) with ESMTP id B71C03813E; Thu, 9 Sep 2004 11:38:49 +0200 (CEST) From: "Daniel Eriksson" To: "'Robert Watson'" Date: Thu, 9 Sep 2004 11:38:47 +0200 Organization: Home Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcSV9yooILzA42WVTsuFeBzUt/yJjQAWK5DA cc: current@freebsd.org Subject: RE: FreeBSD 5.3 Bridge performance take II X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 09:38:51 -0000 Robert Watson wrote: > If you're not already disabling harvesting of entropy on interrupts and > in network processing, you really want to for performance purposes. How do I disable this without causing entropy starvation for "typical" use cases (ssl? ssh?)? I googled a bit and found nothing at all about how to disable excessive harvesting. # sysctl -a | grep harvest kern.random.sys.harvest.ethernet: 1 kern.random.sys.harvest.point_to_point: 1 kern.random.sys.harvest.interrupt: 1 kern.random.sys.harvest.swi: 0 These are the knobs I know about. Is it enough to turn kern.random.sys.harvest.ethernet and kern.random.sys.harvest.interrupt to 0, or are there other things I need to do too? /Daniel Eriksson