[App] Cpu Performance Tester

Search This thread

rootfan

Senior Member
Jul 20, 2011
218
391
This application simply does large amounts of mathematical operations on one, two, three, four, or eight threads (which corresponds to the number of cores used) and measures the amount of time it takes to complete. It makes it easy to see the cpu power of one computer compared to another. Enjoy;)

Some devices for comparison
Intel i7-3770 @ 3.4 ghz (quad core ht) -
1 Thread - 23 seconds
2 Threads - 23 seconds
4 Threads - 24 seconds
8 Threads - 27 seconds

Intel i5-3317U @ 1.7 ghz (dual core ht) -
1 Thread - 35 seconds
2 Threads - 36 seconds
4 threads - 40 seconds
8 threads - 1 minute 16 seconds

Intel Atom-Z3740D @ 1.33 ghz (bay-trail, quad core no ht)
1 Thread - 1 minute 24 seconds
2 Threads - 1 minute 24 seconds
4 Threads - 1 minute 25 seconds
8 Threads - 2 minutes 35 seconds


Source code can be found in the text file bellow.

Performance Tester:
https://dl.dropboxusercontent.com/u/46535328/Performance.exe - For X86

https://dl.dropboxusercontent.com/u/46535328/Performance-RT.exe - Windows RT edition
 

Attachments

  • perfpic.jpg
    perfpic.jpg
    28.8 KB · Views: 2,452
  • performance.txt
    13.3 KB · Views: 179
Last edited:

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,933
Seattle
Cool. Looks easy to port to jailbroken RT; and chance of an ARM build? (I'd do it myself but I'm away from my dev machine at present).
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,933
Seattle
That would be great, thanks.

I'm somewhat amused by somebody with a C# logo in their profile image posting a C++ app but that does make sense for performance testing programs.
 

chazam

Senior Member
Nov 26, 2005
105
17
Thurrock
gplus.to
Scores for my AMD FX-8350 (stock @ 4.0GHz):
1 Thread: 26 seconds
2 Thread: 27 Seconds
3 Thread: 27 seconds
4 Thread: 27 Seconds
8 thread: 29 seconds.

Will give it a whirl on my Q6600 machine in a sec! :)

Q6600 (stock 2.4GHz):
1 thread: 47 seconds
2 threads: 47 seconds
3 threads: 47 seconds
4 threads: 48 seconds
8 threads: 1 minute 26
 
Last edited:

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,933
Seattle
@chazram: Cool (though not surprising) to see that the clock cycles per (arithmetic) instruction are basically the same between Intel and AMD (which allows the AMD's greater clock rate to smoke the Intel). Also interesting to see the difference between actually having eight integer cores (AMD) and having eight hardware pipelines but only four ALUs (Intel). It *is* actually a bit surprising to see how close the AMD is on 4 threads and 8, given the 8350 only has 4 floating-point ALUs and a good bit of the computation is FP. On the other hand, repeating the same operation over and over again can easily be optimized, possibly even my microcode.

Of course, real-world usage is a lot more than just crunching numbers over and over, but it's a pretty good set of ALU benchmarks.
 

ldFxl

Member
Feb 28, 2011
46
14
Bordeaux
Is the test loop doing floating point or integer calculation ?
shouldn't thread priority be high ?
Like memory consumption exceed the simple CPU Cache, how to be sure that results aren't influenced by ram quality ?
 

SixSixSevenSeven

Senior Member
Dec 26, 2012
1,617
318
given the 8350 only has 4 floating-point ALUs and a good bit of the computation is FP. On the other hand, repeating the same operation over and over again can easily be optimized, possibly even my microcode.

Should also be mentioned that the AMD floating point units consist of 2 128 bit FPU's which can be addressed by each half of a module independently or the 2 128 bit units can be ganged together to form a single 256 bit FPU. I think intel utilise a near identical unit. But I should think the effective 8 128 bit FPU's of the 8350 should suffice?
 

Connor Baker

Senior Member
May 9, 2012
1,325
779
Scores from my Win8.1 device:

One Thread - 27
Two Threads - 27
Three Threads - 27
Four Threads - 28
Eight Threads - 30

Lenovo Y410P, with an Intel i7-4000MQ @ 2.40GHz

Connor Baker
 

NicoC72

Senior Member
Jan 4, 2012
285
70
Win 8.1

1 thread: 34 seconds
2 thread: 38 seconds

AMD Phenom II X2 560 @ 3.3GHz
 

dark_ente

Senior Member
Oct 10, 2005
531
144
core i7 3630 QM @ 2,3 ghz

1 threads 27 seconds
2 threads 27 seconds
3 threads 27 seconds
4 threads 28 seconds
8 threads 32 seconds
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,933
Seattle
Surface RT running RT 8.0, NVidia Tegra 3 (32-bit ARM) @ 4x1.3GHz
1 threads 2:46 (166 seconds)
2 threads 2:47 (167 seconds)
3 threads 2:47 (167 seconds)
4 threads 2:44 (164 seconds)
8 threads 5:00 (300 seconds)
 
Last edited:

Manya3084

Senior Member
Oct 4, 2010
241
59
Melbourne
Makes me feel better that my old 2007 mac pro running Windows 8.1 64-bit was able to get the following
One Thread - 37
Two Threads - 37
Three Threads - 37
Four Threads - 37
Eight Threads - 37
 

mysticmetal

Senior Member
Jul 7, 2013
71
26
Scores from Windows 8.1 x64 update 1:

One Thread - 28
Two Threads - 28
Three Threads - 28
Four Threads - 29
Eight Threads - 39

Lenovo Ideapad y510P, 4th Generation Intel Core i7-4700MQ Processor (2.40GHz 1600MHz 6MB)
 

Crysis2

Senior Member
Dec 24, 2012
276
51
tehran
Any linux edition?
Want to test it on my hp.

Отправлено с моего HTC One S через Tapatalk
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,933
Seattle
I could write up a version for Linux using pthreads easily enough, but I forget whether Linux schedules pthreads on different processors or not. Different processes using fork/clone is more common, but not very efficient and not entirely in the original spirit of the test.

In other words, I *could* write it, but performance testing code for an OS should probably be written by somebody who has actually developed code for that OS in the last 5 years or so.
 

Crysis2

Senior Member
Dec 24, 2012
276
51
tehran
I could write up a version for Linux using pthreads easily enough, but I forget whether Linux schedules pthreads on different processors or not. Different processes using fork/clone is more common, but not very efficient and not entirely in the original spirit of the test.

In other words, I *could* write it, but performance testing code for an OS should probably be written by somebody who has actually developed code for that OS in the last 5 years or so.

Any new news?

Отправлено с моего HTC One S через Tapatalk
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    This application simply does large amounts of mathematical operations on one, two, three, four, or eight threads (which corresponds to the number of cores used) and measures the amount of time it takes to complete. It makes it easy to see the cpu power of one computer compared to another. Enjoy;)

    Some devices for comparison
    Intel i7-3770 @ 3.4 ghz (quad core ht) -
    1 Thread - 23 seconds
    2 Threads - 23 seconds
    4 Threads - 24 seconds
    8 Threads - 27 seconds

    Intel i5-3317U @ 1.7 ghz (dual core ht) -
    1 Thread - 35 seconds
    2 Threads - 36 seconds
    4 threads - 40 seconds
    8 threads - 1 minute 16 seconds

    Intel Atom-Z3740D @ 1.33 ghz (bay-trail, quad core no ht)
    1 Thread - 1 minute 24 seconds
    2 Threads - 1 minute 24 seconds
    4 Threads - 1 minute 25 seconds
    8 Threads - 2 minutes 35 seconds


    Source code can be found in the text file bellow.

    Performance Tester:
    https://dl.dropboxusercontent.com/u/46535328/Performance.exe - For X86

    https://dl.dropboxusercontent.com/u/46535328/Performance-RT.exe - Windows RT edition
    2
    I could write up a version for Linux using pthreads easily enough, but I forget whether Linux schedules pthreads on different processors or not. Different processes using fork/clone is more common, but not very efficient and not entirely in the original spirit of the test.

    In other words, I *could* write it, but performance testing code for an OS should probably be written by somebody who has actually developed code for that OS in the last 5 years or so.
    1
    Any new news?

    Отправлено с моего HTC One S через Tapatalk

    I will take a look into it soon:good: