Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2003 14:12:55 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Performance problems with 5.0-RELEASE
Message-ID:  <Pine.BSF.4.21.0301241410390.75993-100000@root.org>
In-Reply-To: <3E31B72F.9349FD17@mindspring.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 24 Jan 2003, Terry Lambert wrote:
> Nate Lawson wrote:
> > > > Every time machine is under heavy load (CPU, network, disks) it
> > > > completely jamms for fraction of a second for every ten seconds or so,
> > > > everything just stops and then continues. I noticed this while compiling
> > > > software and copying files over NFS while listening to MP3's, later
> > > > realized it wasn't just MP3's that lagged, but the whole machine,
> > > > including console and everything.
> > >
> > > If you lean on the keyboard, or if you set up the network adapters
> > > as "entropy" sources, does the problem fix itself?
> > 
> > This can't be it since /dev/random is non-blocking in 5.x
> 
> See other posting; though I could certainly write an app that
> would keep hitting /dev/random until it got what it wanted...

In fact, it's non-blocking AND never returns a 0 byte read len when its
entropy is depleted.  Try cat /dev/random

(I am not saying this behavior is good, just that it is.)

-Nate


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301241410390.75993-100000>