Re: CPU Stress

From: Cedric Lauradoux (lauradou_at_pazuzu.inria.fr)
Date: 04/09/04


Date: Fri, 9 Apr 2004 18:20:19 +0000 (UTC)

On Fri, 9 Apr 2004, Scott Moore wrote:

> "Dada" <tictbh@india.com> wrote in message news:d3dd5d76.0404062119.76099fe3@posting.google.com...
> > Hello All,
> > I want to write a small program , which will put a maximum stress on
> > CPU.
> > Which instructions should I prefer for this , I mean Floating Point
> > Operations(fmul, fadd) or Arithmetic Operations ( INC , DEC).
> > Are there any particular instructions which guarantees to put maximum
> > stress on CPU.
> >
> > Thanks,
> > Dada
> >
> >
>
> Turn caching off and access $00000000 and $ffffffff in rapid sucession,
> with data values of $00000000 and $ffffffff.

Okay how are caching off on an X86 processor ?? If you know how to
disable or turn off some other stuff of a processor I would be please
to know that ...
 
> This causes the path to memory to stay in toggling state. Otherwise,
> it would simply be cached and the memory interface would go to sleep.
> The alternating all 0's and all 1's patterns cause all the address
> and data drivers to flip on and off at once.
>
>
>



Relevant Pages

  • Re: CPU Stress
    ... > I want to write a small program, which will put a maximum stress on ... > Which instructions should I prefer for this, ... > stress on CPU. ... it would simply be cached and the memory interface would go to sleep. ...
    (comp.lang.asm.x86)
  • Re: Thinking assembly?
    ... I simply needs to understand the CPU and how it works, ... > understand the instructions, be a good and experienced programmer, ... assembly language is the machine's language (or, at least, ...
    (alt.lang.asm)
  • Re: Loading Memory Addresses
    ... You're kidding about kidding!!! ... The CPU instructions seem to lack AMD instruction sets. ... CPU 186 Assemble instructions up to the 80186 instruction set ...
    (alt.lang.asm)
  • Re: [RFC] remove bus_memio.h and bus_pio.h
    ... > benefit was swamped by the actual I/O. ... Pentium can do up to 532 instructions in a microsecond even if it is ... CPU cycles @ 4nsec each, plus a huge number of CPU cycles for the i/o ... i/o instructions are slightly faster than memory accesses ...
    (freebsd-arch)
  • Re: testbench for a microprocessor
    ... for your CPU, and writing a really classy instruction- ... Next, you'll need a memory model, with the right bus ... instructions for the CPU to chew, ... Then I'd build a testbench with the CPU-under-test ...
    (comp.lang.vhdl)