All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Traugott <stevegt@TerraLuna.Org>
To: Ian Pratt <Ian.Pratt@cl.cam.ac.uk>
Cc: Brian Wolfe <brianw@terrabox.com>, xen-devel@lists.sourceforge.net
Subject: Re: QLogic Fibre Channel HBA Support
Date: Tue, 6 Jul 2004 05:53:23 -0700	[thread overview]
Message-ID: <20040706125323.GN18863@pathfinder> (raw)
In-Reply-To: <E1BhkLk-0007mA-00@mta1.cl.cam.ac.uk>

On Tue, Jul 06, 2004 at 08:26:43AM +0100, Ian Pratt wrote:
> 
> >  No proof whether I was hitting another entropy bug or just
> > workload.  (Reminder to lurkers -- I'm running 1.2 with /dev/random
> > major,minor set to 1,9 -- same as /dev/urandom.)
> 
> If you temporarily run out of entropy, it should only ever be the
> particular user-space process that's reading from /dev/random
> that blocks. Everything else should carry on fine in the meantime.

A little hard to tell -- in our case, hangs happen days after startup,
are pingable, but can't ssh in, don't respond to http requests, don't
show new syslog entries, etc.  Some of these (maybe not syslog) might be
explained by named hanging, for instance, since it uses /dev/random (but
I haven't looked to see what named does with it -- maybe only sortlist
randomization).  That plus a dose of not knowing what to look for at the
time could have made them look like a total inability to execute
userspace code and/or write to the root filesystem.  

Are these symptoms consistent with what you know about the NFS bug?

I now have users executing a simple controller script themselves via ssh
to reboot machines when they hang -- it might make sense to start adding
diagnostic data collection to that.  Right now it only makes a short log
entry -- and what I said a couple of days ago about "no hangs in a
month" was wrong.  There are recent log entries; people have just been
rebooting their own hangs and have stopped telling me.

> In the unstable tree, AFAIK all interrupt sources are correctly
> adding entropy to the kernel's entropy pool -- there are just
> fewer bits of entropy generated per second in a VM.
> 
> If people are still finding that some heavy users of /dev/random
> are blocking unexpectedly (e.g. apache during startup) then we'll
> need to think what to do. One grim hack would be to modify the
> guest kernel to make it less conservative about its estimate of
> entropy generated.  An alternative would be to have Xen handle
> entropy generation centrally (from all physical interrupt
> sources) and then have a special random driver in each guest.

The only thing that bothers me about the latter is the special driver
needed in the guests.  On the upside, I bet you could generate plenty of
entropy if it were done centrally.  If so, I'm wondering if it would be
mathematically safe to include non-interrupt activities of other guests
in the pool as well.  

Steve
-- 
Stephen G. Traugott  (KG6HDQ)
UNIX/Linux Infrastructure Architect, TerraLuna LLC
stevegt@TerraLuna.Org 
http://www.stevegt.com -- http://Infrastructures.Org 


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

  reply	other threads:[~2004-07-06 12:53 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200407060323.i663Nl107730@roton.TerraLuna.Org>
2004-07-06  5:06 ` QLogic Fibre Channel HBA Support Steve Traugott
2004-07-06  6:22   ` Keir Fraser
2004-07-06  7:26   ` Ian Pratt
2004-07-06 12:53     ` Steve Traugott [this message]
2004-07-06 13:31       ` Ian Pratt
2004-07-06 13:59         ` Steve Traugott
2004-07-06 14:21           ` Ian Pratt
2004-07-06  3:40 Brian Wolfe
     [not found] <200407051852.i65IqL124320@roton.TerraLuna.Org>
2004-07-05 22:12 ` Steve Traugott
  -- strict thread matches above, loose matches on Subject: below --
2004-07-05 18:54 Brian Wolfe
     [not found] <200407050431.i654VV130769@roton.TerraLuna.Org>
2004-07-05 18:33 ` Steve Traugott
2004-07-05 20:19   ` Ian Pratt
2004-07-05 22:02     ` Steve Traugott
2004-07-05  4:39 Brian Wolfe
2004-07-04  8:38 Steve Traugott
2004-07-04  9:02 ` Keir Fraser
2004-07-04 19:47   ` Steve Traugott
2004-07-04  9:11 ` Ian Pratt
2004-07-04 20:31   ` Steve Traugott
2004-07-04 20:50     ` Ian Pratt
2004-07-05 18:24       ` Steve Traugott
2004-07-05 18:48         ` Wim Coekaerts
2004-07-05 20:22           ` Ian Pratt
2004-07-05 20:14         ` Ian Pratt
2004-07-05 22:53           ` Steve Traugott
2004-07-05 23:23             ` Ian Pratt
2004-07-05  9:40     ` Niraj Tolia
2004-07-05 10:11       ` Ian Pratt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040706125323.GN18863@pathfinder \
    --to=stevegt@terraluna.org \
    --cc=Ian.Pratt@cl.cam.ac.uk \
    --cc=brianw@terrabox.com \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.