Re: System Panic Makes My Life Easier
Daniel Gimpelevich <daniel-R/[email protected]>
| Newsgroups | gmane.org.user-groups.linux.svlug |
|---|---|
| Message-ID | <1469769978.7681.26.camel@chimera> |
On Thu, 2016-07-28 at 17:14 -0400, Steve Litt wrote: > On Thu, 28 Jul 2016 20:58:25 +0000 (UTC) > Daniel Gimpelevich <daniel-R/FLGEdV95bo9U > +Z1CfBt0SU0eOFXohjCypLqA8HKkk-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org> 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? You can't pipe the RAM usage to /dev/null.