On Fri, Feb 10, 2012 at 11:23 AM, Paul Nijjar <span dir="ltr"><<a href="mailto:paul_nijjar@yahoo.ca">paul_nijjar@yahoo.ca</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
A while ago I was looking for a way to generate lots of random bits<br>
quickly. I was finding that I was running out of bits and my processes<br>
were blocking.<br></blockquote><div><br>What about cat /dev/urandom | your-program?<br><br>Would that do?<br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

It turns out that some motherboards and CPUs have hardware random<br>
number generators (HRNGs) built-in. In particular, I had a bunch of Compaq<br>
Pentium III desktops with this functionality. Activating these HRNGs<br>
made a huge difference.<br>
<br>
In Linux, I was able to test for the existence of a hardware random<br>
number generator by looking for the folder<br>
<br>
/sys/class/misc/hw_random<br>
<br>
Those were the good old days. Now I am looking in Pentium 4 and above<br>
systems, and there don't seem to be random number generators any more.<br>
When I install the "rng-tools" package (which uses the HRNG) then the<br>
package also complains that there is no hardware support.<br>
<br>
My question: have hardware manufacturers removed this functionality?<br>
>From all products? From consumer products? If I wanted to find some<br>
hardware that had this support what should I be looking for?<br>
<br>
Do you folks in KWLUG-land have this functionality on your machines?<br>
If so what's special about your hardware?<br></blockquote><div><br>I checked the /sys/class/misc directory on several machines, from Athlon II X4 to mid range Xeon s, and there is no hw_random on any of them.<br></div>
</div>-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br><a href="http://2bits.com" target="_blank">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>
Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br>
<br>