Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-30-2004, 07:23 AM   #1
Registered: Sep 2004
Distribution: Slackware 10
Posts: 167

Rep: Reputation: 30
Stress Testing my CPU

Hi all,

I'm currently having an issue with my CPU (I believe anyways) that it locks up after approx. an hour of use. No matter the OS that I'm running. I was wondering if anyone knew any good stress testing utilities I could use to test it to make sure that I am on the right track. I found a memory testing software which I'll give a try, but I've switched around memory sticks already so unless I had more than one faulty mem stick, it should be the CPU.

Old 09-30-2004, 08:00 AM   #2
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Hey drisay first of all, have you looked in your bios to see if your cpu is overheating?? Maby there is a problem with the fan/headsink/paste inbetween)

I found this page with google, looks good.

Also if you want to try a windows app apparently sandra is pretty good.

Also memtest86 is a free app that tests ram its pretty good and I used it once to find my ram was fried.

Good luck
Old 09-30-2004, 11:33 AM   #3
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
They say a kernel compile is one of the best stress tests you can do. It affects about every core piece of hardware there is.

...What you're describing does sound like CPU overheating, though. Double check all the fans, the heatsink, and make sure the power cables are seated correctly.

If it was a bit more random, I'd be inclined to say that it might have something to do with a failing hard drive. I've seen some odd behavior prior to losing all my data, as well.

Good luck!

Old 10-01-2004, 05:02 AM   #4
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 895

Rep: Reputation: 30
Hey Shade just to quote from my link I guess its good we at least we both think the same... that means either we are both wrong or both right

You may be surprised to hear that one of the best tests of CPU stability is built in to Linux -- the kernel compile. The gcc compiler is a great tool for testing general CPU stability, and a kernel build uses gcc a whole lot. By creating and running the following script from your /usr/src/linux directory, you can give your machine an industrial-strength kernel compile stress test:

The cpubuild script
make dep
while [ "foo" = "foo" ]
make clean
make -j2 bzImage
if [ $? -ne 0 ]
exit 1

You'll notice that this script repeatedly compiles the kernel. The reason for this is simple -- some CPUs have intermittent glitches, allowing them to compile the kernel perfectly 95% of the time, but causing the kernel compile to bomb out every now and then. Normally, this is because it may take five or more kernel compiles before the processor heats up to the point where it becomes unstable
Old 10-01-2004, 05:45 AM   #5
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Heh, nice code there... Does anyone know how to add a line where everytime it successfully goes through the compile, it adds +1 to a counting file, so if and when the compile fails, i can know how many times it successfully compiled? =)))


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stress testing tools Risc91 AIX 7 10-10-2012 02:36 PM
CPU stress test CTRLBREAK Linux - Hardware 2 02-24-2005 08:21 PM
shell script for stress testing blackzone Programming 3 09-14-2004 01:00 AM
Stress Testing E-mail Server Dewar Linux - Software 0 04-21-2004 07:17 PM
case airflow, and fan control, HD cable question, and stress testing help a NEWBIE zetsui Linux - Hardware 3 03-17-2004 04:36 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration