Jump to content

OpenCL Nbody Simulation bench (works 10.9+)


  • Please log in to reply
81 replies to this topic

#1
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany

Apple updated OpenCL Nbody Simulation  (= Galaxies) source code a few days  (FEB 2014) ago.

I compiled it and uploaded it (DL link at the end of the posting).

Much code changes compared to old galaxies OpenCL bench,  so the results arent compareable with old Galaxies anymore.

Now it shows an relative PERFORMANCE Rating value  (against an slow single core cpu) - old galaxies showed gigaflops.

Usage, very easy: OpenCL Nbody Simulation starts up in CPU Mode, you can switch by key s to  cpu multicore / GPU Mode and back to cpu.

If you have more than one GPU OpenCL device installed, you can try to switch with key g between them. (UNTESTED!)

ESC switches between window / fullscreen mode (fullscreen takes more opengl power = less OpenCL speed)
You can quit the test by using the Menue.

 

GPU

Attached File  Bildschirmfoto 2014-02-16 um 11.46.57.jpg   139.71KB   3 downloads

 

CPU 

Attached File  Bildschirmfoto 2014-02-16 um 11.46.44.jpg   73.53KB   2 downloads

 

NEW RESULTS (posted PAGE 4+) :

Nvidia GTX Titan : 1424 GPU

Nvidia GTX Titan : 1289 GPU

Nvidia GTX 650Ti : 408 GPU

Nvidia GT 440 : 75 GPU (10.9.2 C59)

AMD HD4670  : 72 GPU

Attached Files



#2
diskeeper

diskeeper

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Gender:Male
C2Q 2.5 Ghz, EVGA GTX460 SC, OS X 10.8
cpu(4) = 37 Gigaflops, gpu = 421 Gigaflops

Attached Files



#3
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Great! LOL - HUD speed needle is over the limit :superman: - at the time, apple developed galaxies 256 GigaFlops seem to be enough for the speedmeter hud.

#4
cmf

cmf

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 145 posts
for nostalgias sake: gtx 480, early lion dp (80k bodies):
more_flops_pls.png

gtx 480, mountain lion dp1 (default settings):
Attached File  default_32k.png   1.58MB   58 downloads

gtx 480, mountain lion dp1 (80k bodies):


#5
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Info: Galaxies uses the number of 65K (65536) as default for the star count.
The more stars the more cpu+gpu load.
Fast gpu may get a bit more Gigaflops if they use more stars - max. is 80K, than default.
HOW TO:
start terminal
Finder show package content on Galaxis
Drag & Drop galaxies (black icon) in terminal
81920 ENTER (be sure to have an space between galaxies and the 80K number
Slow gpus may not get any more Gigaflops by increasing the number - but the simulation itself will be shown very slow - takes much time to see the nice star movings.
You can use in this case better 32768 , which speeds up the simulation compared to the 65K or 80K.

#6
Nanael

Nanael

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 159 posts
  • Gender:Male
i'll post screen later but with an HD 6870 1024Mo i got 616 under Lion and 555 under Mountain Lion

#7
clubber_77

clubber_77

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
10.8
Attached File  Снимок экрана 2012-02-22 в 18.39.26.png   350.62KB   82 downloads

#8
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Great ! GTX 580 now pole position with 726 GigaFlops :superman:
Have you tried to increase the count of stars (read first post) from default 65K to 80K ? Maybe even a bit more gigaflops possible ;)
Also your result for 10.7.x maybe interesting (should be around 10% faster, like for others)

#9
clubber_77

clubber_77

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

Have you tried to increase the count of stars (read first post) from default 65K to 80K ? Maybe even a bit more gigaflops possible ;)



95-26-92-246:~ amoureux$ /Users/amoureux/Downloads/Galaxies.app/Contents/MacOS/Galaxies 153600
2012-02-22 19:01:47.294 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.295 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.296 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0

Found 1 GPU devices...
Using Device[0]: GeForce GTX 580
Using SIM: GeForce GTX 580 simulator w/ 153600 bodies...
2012-02-22 19:01:47.428 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.441 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.441 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.441 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.460 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.461 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
2012-02-22 19:01:47.475 Galaxies[448:707] <GalaxiesView: 0x69113f00>, 0, 0
Attached File  Снимок экрана 2012-02-22 в 19.02.31.png   1.42MB   33 downloads

#10
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Thanks!
Updated Galaxies: (DL first post)
- Gigaflops Meter now skaling for an max. 1024 Gigaflops
- shows number of stars (bodies) computed right of the gpu name

Attached Files



#11
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 754 posts
mitch_de,

Did you go back to the newer hwsensors with the newest version of fakesmc? I know you said it was messing with your speedstep and temps or something? Was it also affecting your graphics performance? Anyhow there were some changes made to it since then have you tried it since?

I left you a post over there you never responded?

Thanks

#12
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Speedstepping works for me.

#13
gorg

gorg

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
My 5870 in Snow Leopard 10.6.8 got 860 Gigaflops.

#14
amf5

amf5

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
EVGA 8800 GT: 227/231 Gigaflops (GL renderer/software renderer, 81920 bodies), 219/226 (65536), 189/212 (32768)
Q9550 @ 3.0GHz: 54 to 53 Gigaflops (number of bodies doesn't seem to matter)

This was on 10.7.3. Interesting that the software renderer with lower body counts is more than a little faster :|

#15
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Addded some iMac 2011 results.
Indeed, stars count doesnt matter for CPU, because only 2/4/6 cores vs 16++ gpu units. Low cores count limits better gigaflops by more parallemism.

#16
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 754 posts

Speedstepping works for me.


With the latest hwsensor newest version of fakesmc?

#17
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
I dont habe any HW plugins in use anymore, ony FAKESMC.

#18
stefano.85

stefano.85

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 228 posts
  • Gender:Male
  • Location:Italy
here i am!
9800gt in 10.7.3b

don't have anymore ML DP1 to test it....

Attached File  Schermata 02-2455982 alle 20.26.42.png   435.93KB   38 downloads

#19
Intel-P55 Core i7 860

Intel-P55 Core i7 860

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
  • Gender:Male
  • Location:Florida, USA
mitch_de, you are the best!!
thanks for this, i been long time waiting,
have a nice day man.

#20
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,874 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Update: I attached the displacement OpenCL benchmark (should work on 10.8 too)







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy