From owner-freebsd-current@FreeBSD.ORG Tue Jul 20 13:32:43 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 208EE16A4E6 for ; Tue, 20 Jul 2004 13:32:43 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDA3E43D58 for ; Tue, 20 Jul 2004 13:32:42 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i6KDW9ET096017; Tue, 20 Jul 2004 09:32:09 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i6KDW8Zr096014; Tue, 20 Jul 2004 09:32:09 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 20 Jul 2004 09:32:08 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Scott Long In-Reply-To: <40FD03E7.8000300@samsco.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: jesk cc: freebsd-current@freebsd.org Subject: Re: I/O or Threading Suffer 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: Tue, 20 Jul 2004 13:32:43 -0000 On Tue, 20 Jul 2004, Scott Long wrote: > If you are dd'ing from /dev/random, then you are depleting the entropy > pool. Anything else that tries to get random numbers is going to block > in strange ways. Trying just dd'ing from /dev/zero and see if that > makes a difference. With Yarrow, /dev/random should just keep on chugging, so this is unlikely to be the source. However, lots of /dev/random I/O may take a while to yield if it's working hard in kernel, so if that is combined with a scheduling nit of some sort, we could be looking at a starvation issue. Do we know if this is on a UP box or SMP box, and if so, whether it's using HTT? I could try reproducing it here and see if I see the same thing. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research