AOGenMark 1.3.0: Simple Multi-Core CPU Benchmark



AOGenMark


1 – AOGenMark: Overview

AOGenMark is a CPU benchmark with multi-core support. Multi-core support simply means the benchmark is multi-threaded. AOGenMark is not a new CPU benchmark: the first version has been released in 2006. AOGenMark is derived from a tool I used several years ago to compute per vertex ambient occlusion factor. I recently updated this benchmark utility for the HP Mini 210 review.

That said, AOGenMark is a command line tool with few parameters. In short, you can specify the number of threads (-t), the number of samples (-s) which are related to the heaviness of computations (the more the samples, the heavier the computations) and the thread affinity (-a). Thread affinity allows to stick a thread with a CPU (logical) core. For example, if you have two cores and you launch AOGenMark with 4 threads, thread 1 with run on core 1, thread 2 on core 2, thread 3 on core 1 and thread 4 on core 2.

Examples:

AOGenMark.exe -t 4 -s 8

Starts AOGenMark with 4 threads, 8 samples and no thread affinity.

AOGenMark.exe -t 8 -s 16 -a

Starts AOGenMark with 8 threads, 16 samples and thread affinity enabled.

How to bench a CPU with AOGenMark? It’s simple: the smaller the elapsed time to finish the bench, the faster the CPU. For recent multicore CPUs, the number of samples should be at least 16, the number of threads depending on the CPU: 8 threads for a Core i7 with HT enabled is a good idea.

AOGenMark and a 8-core CPU
Core i7 960 with hyperthreading running AOGenMark (params: 8 threads and 16 samples, no affinity)

That’s all for the parameters. I added in the zip file six .bat files for launching AOGenMark with 1, 2, 4, 8, 16 and 24 threads, 16 samples and no thread affinity. From my tests, it’s better to let the thread management to Windows.

2 – AOGenMark: Download

You can download AOGenMark 1.3.0 here:
Webmasters: hotlinking is not allowed (that will cause an error message), please use the post url as download link
Download AOGenMark Version 1.3.0 (2011.05.12)

3 – AOGenMark: Scores

Here are some scores. And recall that the smaller the elapsed time to finish the bench, the faster the CPU.

Parameters: 8 threads, 16 samples, thread affinity OFF

97.104 ms – Core X9650 @ 3.0GHz
51.184 ms – Core i7 960 @ 3.2GHz

Parameters: 4 threads, 16 samples, thread affinity OFF

96.261 ms – Core X9650 @ 3.0GHz
74.366 ms – Core i7 960 @ 3.2GHz

Parameters: 4 threads, 8 samples, thread affinity OFF

270.676 ms – N550 @ 1.5GHz
47.961 ms – Core X9650 @ 3.0GHz

4 – AOGenMark: Under the hood

And for the curious, here is the algorithm behing AOGenMark:

// Part 1: Slowest part of the algorithm.
for each face in a mesh do
  for each non-normalized vector in the pool
    Do a dot product between the vector and the normal face
      if dot >= 0.0 then
        Normalize vector and form the ray to cast
	for each face in a mesh do
	  Do a triangle-ray intersection test
	  if intersection then
	    store intersection data in a buffer
	    break;

// Part 2: Fastest part of the algorithm. 
// It's like computing mesh normals.
compute occlusion data for each vertex of the mesh


27 comments

  • msweed4life

    Q6600 3.0 (4 threads ,16 samples) 4 cores , win7 x64 sp1
    result : 143708 ms

    thank´s

  • MfA

    Q9650 4.0 (4 threads ,16 samples) 4 cores , win7 x64 sp0
    result : 70527 ms

    http://www.abload.de/img/desktop_2011_05_13_23_s7si.png

  • Casey

    8 threads 16 samples = 42.440
    4 threads 16 samples = 59.771

    Intel i2600.

    So this does use the HT parts of the cores, saving about 17 seconds.

  • fellix

    Elapsed time: 42242 ms (or 42.242 sec)
    AOGenMark parameters:
    – 8 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
    – CPU Speed: 3995MHz
    – CPU Cores: 8
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1, v.721]

  • 4 threads, 158699 ms
    Intel Core I3 M330 @ 2.13 GHz

    System info reads 8 CPU cores

    http://img6.imagebanana.com/img/dqh2uo7y/stefan.aogen130.corei3.png

  • WacKEDmaN

    Elapsed time: 102415 ms (or 102.415 sec)
    AOGenMark parameters:
    – 4 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
    – CPU Speed: 3149MHz
    – CPU Cores: 4
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]

  • @Stefan: very curious! I’ll check how the number of cores are read, it’s an old piece of code…

  • ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 92320 ms (or 92.320 sec)
    AOGenMark parameters:
    – 4 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
    – CPU Speed: 3600MHz
    – CPU Cores: 8
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]
    ——————————————————-

  • CPU cores and CPU Speed is wrong, Core I5 CPU has 2 cores + HT

  • spiked_mistborn

    Elapsed time: 469372 ms (or 469.372 sec)
    AOGenMark parameters:
    – 2 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz
    – CPU Speed: 1662MHz
    – CPU Cores: 2
    – OS: Windows Vista ver.6.0 build 6002 [Service Pack 2]

    I tried running this on my 3 core Phenom II system and it keeps stopping at the same point after doing 2.5 lines of dots. It says it’s having a problem in the .dll file.

  • ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 41415 ms (or 41.415 sec)
    AOGenMark parameters:
    – 8 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz
    – CPU Speed: 4004MHz
    – CPU Cores: 8
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]
    ——————————————————-

  • i7 2600 Elapsed time: 16898 ms (or 16.898 sec)

  • Arctucas

    i7 950 @ 4273

    -8 threads

    -16 samples

    -thread affinity ON

    43.404 seconds

    http://i291.photobucket.com/albums/ll305/Arctucas/AOGenMark5-17-11.jpg

    -8 threads

    -16 samples

    -Thread affinity OFF

    42.737 seconds

    http://i291.photobucket.com/albums/ll305/Arctucas/AOGenMark25-17-11.jpg

  • komar

    AOGenMark Multi-Core CPU Benchmark v1.3.0.
    =========================================
    (C)2005-2011 JeGX – jegx@ozone3d.net
    http://www.Geeks3D.com

    AOGenMark parameters:
    – 16 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    Initializing data…
    Starting benchmark.

    Starting all threads…
    – Starting thread [2528]
    – Starting thread [5624]
    – Starting thread [5956]
    – Starting thread [3516]
    – Starting thread [3468]
    – Starting thread [6080]
    – Starting thread [996]
    – Starting thread [2884]
    – Starting thread [2220]
    – Starting thread [3112]
    – Starting thread [1992]
    – Starting thread [3776]
    – Starting thread [1564]
    – Starting thread [1072]
    – Starting thread [4384]
    – Starting thread [6076]
    ……………………………………………………………………..
    …………………………………………………………………
    Thread [5624] terminated……….
    Thread [1072] terminated….
    Thread [6080] terminated…..
    Thread [3112] terminated……
    Thread [1992] terminated.
    Thread [996] terminated..
    Thread [5956] terminated.
    Thread [4384] terminated………..
    Thread [2528] terminated.
    Thread [2220] terminated.
    Thread [3468] terminated……
    Thread [1564] terminated.
    Thread [2884] terminated.
    Thread [3776] terminated.
    Thread [3516] terminated.
    Thread [6076] terminated.
    Benchmark terminated.

    ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 75316 ms (or 75.316 sec)
    AOGenMark parameters:
    – 16 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
    – CPU Speed: 3808MHz
    – CPU Cores: 4
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]
    ——————————————————-

    http://www.geeks3d.com
    http://twitter.com/Geeks3D
    http://www.ozone3d.net/benchmarks/aogenmark/

    Bye!
    Appuyez sur une touche pour continuer…

    so my Q9550 clocked to 3.8 performs the same as a I7 3.2ghz

  • komar

    sry mistake i tough it was the 8 threads test …

  • Frank

    One problem with the benchmark it doesn’t run on triple or 6-cores. Program crashes.

  • anten

    ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 74312 ms (or 74.312 sec)
    AOGenMark parameters:
    – 4 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
    – CPU Speed: 2942MHz
    – CPU Cores: 8
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]

  • KristianM

    Elapsed time: 45246 ms (or 45.246 sec)
    AOGenMark parameters:
    – 8 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
    – CPU Speed: 3411MHz
    – CPU Cores: 8
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]

  • ffmaniac

    AOGenMark v1.3.0

    Elapsed Time: 50024ms
    – 4 threads
    – 8 samples
    – thread affinity off

    – CPU: AMD Phenom II x4 955 BE @ 3.2Ghz
    – OS: Windows 7 Ultimate x64 w/ SP1

  • Geeks3D AOGenMark v1.3.0 score
    Elapsed time: 27384 ms (or 27.384 sec)
    AOGenMark parameters:
    – 16 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz
    – CPU Speed: 4500MHz
    – CPU Cores: 16
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]

  • Han

    Sempron LE-1200, 2109 mhz
    one core
    1 thread, 16 samp, aff. off
    575 seconds

  • Han

    AMD II X2 215
    dual core, Windows XP SP2

    1 thread, 16 samp, aff. off
    result 540 seconds

    2 threads, 16 samp, aff. off
    result 287 seconds

  • Han

    AMD II X2 260 running at 2109 Mhz
    dual core, Windows XP SP2

    2 threads, 16 samp, aff. off
    result 198 seconds

  • SaYo

    ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 10828 ms (or 10.828 sec)
    AOGenMark parameters:
    – 16 thread(s)
    – 8 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: Intel(R) Xeon(R) CPU X7542 @ 2.67GHz
    – CPU Speed: 2660MHz
    – CPU Cores: 16
    – OS: Windows Server 2003 build 3790 [Service Pack 2]
    ——————————————————-

    http://www.geeks3d.com
    http://twitter.com/Geeks3D
    http://www.ozone3d.net/benchmarks/aogenmark/

    Bye!

  • Sup3rvisoR

    ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 95473 ms (or 95.473 sec)
    AOGenMark parameters:
    – 4 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: AMD Phenom(tm) II X4 965 Processor
    – CPU Speed: 3400MHz
    – CPU Cores: 4
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]

  • Sup3rvisoR

    ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 88658 ms (or 88.658 sec)
    AOGenMark parameters:
    – 4 thread(s)
    – 16 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: AMD Phenom(tm) II X4 965 Processor
    – CPU Speed: 3400MHz O.C (3.7 Ghz)
    – CPU Cores: 4
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service
    ——————————————————-

  • AOGenMark Multi-Core CPU Benchmark v1.3.0.
    =========================================
    (C)2005-2011 JeGX – jegx@ozone3d.net
    http://www.Geeks3D.com

    AOGenMark parameters:
    – 8 thread(s)
    – 8 sample(s)
    – thread affinity OFF

    Initializing data…
    Starting benchmark.

    Benchmark terminated.

    ———— Geeks3D AOGenMark v1.3.0 score ————
    Elapsed time: 20031 ms (or 20.031 sec)
    AOGenMark parameters:
    – 8 thread(s)
    – 8 sample(s)
    – thread affinity OFF

    System info:
    – CPU Name: AMD FX(tm)-8350 Eight-Core Processor
    – CPU Speed: 4340MHz
    – CPU Cores: 8
    – OS: Windows Server 2007 ver.6.1 build 7601 [Service Pack 1]