LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-30-2004, 06:23 AM   #1
drisay
Member
 
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.

Thanks,
drisay.
 
Old 09-30-2004, 07:00 AM   #2
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

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.
http://www-106.ibm.com/developerworks/library/l-hw1/

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, 10:33 AM   #3
Shade
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!

--Shade
 
Old 10-01-2004, 04:02 AM   #4
jimdaworm
Member
 
Registered: Aug 2003
Location: Spain
Distribution: Ubuntu
Posts: 888

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


Quote:
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
#!/bin/bash
make dep
while [ "foo" = "foo" ]
do
make clean
make -j2 bzImage
if [ $? -ne 0 ]
then
echo OUCH OUCH OUCH OUCH
exit 1
fi
done

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, 04:45 AM   #5
xushi
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? =)))
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 09:54 AM.

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