Re: System Panic Makes My Life Easier
Steve Litt <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.svlug |
|---|---|
| Organization | Troubleshooters.Com |
| Message-ID | <[email protected]> |
On Thu, 28 Jul 2016 20:58:25 +0000 (UTC) Daniel Gimpelevich <daniel-R/[email protected]> wrote: > On Thu, 28 Jul 2016 13:34:59 -0400, Steve Litt wrote: > > My prime number generator hits the processor and RAM hard, and also > > exercises the hard disk. It's pretty easy to compile and run it on a > > live CD: > > > > http://www.troubleshooters.com/codecorn/primenumbers/ > primenumbers.htm#_Implementation:_Scalability_Through_Paging > > > > If you run my prime number generator, watch your processor > > temperature like a hawk. > > It may have hit the processor hard in a desirable way when you wrote > it, but today, SMP is the norm, and the code above is > single-threaded, and due to its other resource usage, you can't just > run multiple instances. What if I run four of them, and three of them are piped to /dev/null? SteveT Steve Litt July 2016 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques