Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am writing some tests to test the processor on an embedded device (running on Linux). The device shell supports Ash, python and I can even run C code after compilation in scratchbox.

Can you give me some ideas as to what tests I could write to test the processor?

share|improve this question

closed as off topic by LawrenceC, Nifle, Mokubai, ChrisF, Sathya Jan 14 '12 at 10:04

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

infinite loops are always fun – kobaltz Jan 4 '12 at 23:08
What do you want to test exactly? – haimg Jan 4 '12 at 23:08
@haimg I want to stress test the CPU. I want to take the CPU utilization to close to 100% for say 10 mins and then stop my test. – abc Jan 4 '12 at 23:17
What other kinds of testing I could do? Any ideas would be appreciated as well. – abc Jan 4 '12 at 23:20
up vote 1 down vote accepted

Stress-testing CPU is a bit complicated. If you're just interested in thermal testing, compile something like this simple C program, which will load a CPU with infinite loop doing simple math calculation. If you need further help with writing/compiling such a program, you'd better take this to StackOverflow.

However, if you're interested in testing a specific CPU component (ALU, FPU, cache, etc.), then this is much more complicated and requires an intimate knowledge of the architecture/CPU and serious programming skills. You can ask the embedded board vendor, maybe they already have such software. If not, you're pretty much out of luck.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.