Parallel Computing Example

I’ve always wondered how parallel computing works. One of my fascinations with computers has been the ability to seem like it’s doing more than one thing at once. Granted the computer is doing one thing after another really really quick. So it would be safe to say that parallel computing is doing more than one thing one item at a time. With multi-processor and multi- core computers being so prevalent in today’s world this concept is really fascinating to me.

What this program does is run two programs that do the same basic thing. Find all the prime numbers of a random range of numbers a specified number of times. I chose a prime number calculation because I wanted to put some kind of load on the CPU for X amount of times.

Continue reading