[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] QLogic Fibre Channel HBA Support

>  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.

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.


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
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.