Saturday, February 6, 2016

OpenGL rendering performance test #2 - blocks


Previous test - Procedural grass - focused on procedurally generated geometry that didn’t use any vertex data and generated meshes procedurally using only gl_VertexID value and a few lookups into shape textures, therefore with only a neglectable amount of non-procedural data fetched per instance.

This test uses geometry generated from some per-instance data (i.e each produced vertex uses some unique data from buffers), but still partially procedurally generated. Source stream originally consisted of data extracted from OpenStreetMap maps - building footprints broken into quads, meaning there’s a constant size block of data pertaining to one rendered building block (exactly 128 bytes of data per block). Later the data were replaced with a generated content to achieve higher density for the purpose of the testing, but there’s still the same amount of data per block..

Another significant difference is that backface culling is enabled here. With grass the blades are essentially 2D and visible from both sides, and that means that the number of triangles sent to the GPU equals the number of potentially visible triangles, minus the blades that are off the frustum.

In case of the building block test there’s approximately half of the triangles culled away, being back-facing triangles of the boxes. The test measures number of triangles sent in draw calls, but for direct comparison with the grass test we’ll also use the visible triangle metrics.

Here are the results with backface culling enabled:

bblocks.png

(Note this graph is missing AMD Fury cards, we’d be grateful if anyone having one of these could run the test (link at the end of the blog) and submit the results to us.)

What immediately catches attention is the large boost happening on newer AMD architectures upon reaching 5k triangles per instanced draw call. A boost in that region was visible also in the grass test, though it was more gradual.
No idea what’s happening there, or rather why the performance is so low on smaller sizes. Hopefully AMD folks will be able to provide some hints.

As it was visible on the grass test as well, AMD 380/390 chips perform rather poorly on the smallest meshes (less than 40 triangles), which also corresponds to the relatively poor performance of geometry shaders.

To be able to compare peak performance with the grass test we need to turn off backface culling, getting the following results:

bblockscoff.png

With culling off, the GPU has to render all triangles, twice as much as in previous test. It shows on Nvidia cards, taking roughly a 30% hit.
On AMD the dip is much smaller though, indicating that maybe there’s another bottleneck.

Grass test results for comparison (note slightly different instance mesh sizes). Grass test uses much less per-instance data, but has a more complex vertex shader. Apparently, it suits Nvidia cards better:

grass.png


Conclusion: both vendors show the best performance when the geometry in instanced calls is grouped into 5 - 20k triangles. On AMD GCN 1.1+ chips the 5k threshold seems to be critical, with performance almost doubling.

Test sources and binaries


All tests can be found at https://github.com/hrabcak/draw_call_perf

If anyone wants to contribute their benchmark results, the binaries can be downloaded from here: Download Outerra perf test

There are 3 tests: grass, buildings and cubes. The tests can be launched by running their respective bat files. Each test run lasts only 4-5 seconds, but there are many tested combinations so the total time can be up to 15 minutes.

Once each test completes, you will be asked to submit the test results to us. The test results are stored in a CSV file, and include the GPU type, driver version and performance measurements.
We will be updating the graphs to fill the missing pieces.


Additional test results


More cards added based on test result submissions:




@cameni

22 comments:

atif said...

https://wpbrowse.com/
https://rightwebguide.com/
fitthemes.com

Pappy App said...

Sir,
Your site is very beautiful, I am a new image blogger, I want to backlink a do-follow for my blogger.
         please Help Me.
All The Best Image (Do Follow Backlink )

Pappy App said...

Sir,
Your site is very beautiful, I am a new image blogger, I want to backlink a do-follow for my blogger.
         please Help Me.
All Image Shayari  

Robin Adam said...

Wow!! Great blog.
Thanks for sharing this article with us!!
Custom Vape Cartridge Packaging

admin said...

Lovely Post ! Amazing Information thank you for sharing this valuable post with us keep up the good work and share with us.
What is SEO in Marathi
vinaymarathi
Affiliate Marketing Meaning in Marathi
How to Start a Blog in Marathi
PVC Aadhar Card Online Order In Marathi

admin said...

Influencer Mhanje Kay
Facebook Accounnt Kase Delete Karave
vinaymarathi

admin said...

Small Business ideas in Marathi

naijalandsnews said...

We publish the best and the most authentic news. We are simply the best in Nigeria and Africa at large. In case you are searching for the best news website in Nigeria you can visit Latest Naija news
https://gistbang.com

Rafaela said...

glock 34 gen 5 review
glock 27 gen 5
glock 26 gen 5 review
glock 34 reviews
glockstore
glock 34 gen 5 mos review
g23 gen 5
glock 26 review
buy glock 22
glock g26 review
subcompact glock 40
g34 gen5
glock 22 mos
glock 26 generations
g23 gen5
glock 34 gen 5 recensione
g20 barrel
g19 mos
glock 43x
Best glock
10mm glock barrel
g20 barrel
glock 27 gen 5
glock 20 10mm barrel
glock 34 mos review
g34 competition
glock 27 subcompact .40
glock 26 gen5
glock 34 review
glock 34 gen 5 review
glock 43x for sale
glock 17l for sale
glock 17l
glock 19 gen 5 mos for sale
glock 23 gen 4 for sale
glock 20 for sale
glock 17l for sale
glock 30 gen 4
glock g20 barrel
 glock 27
glock 23 gen 5
glock 22 gen 5
glock 17 gen 5 mos
glock 33
glock 20sf
glock 26
glock 17 vs 19
glock 34 gen 5 review

Unknown said...

Great Valuable information.Thanks for sharing this article. Marathi Journal & Hindi Web Quotes

Habeel Khan said...

Thanks for sharing your blog with me! I stumbled upon your blog by chance. Your post was extremely informative and inspired me to dig out a blog I run that may be helpful check this click here

carts shop said...

Thanks for sharing an amazing content if you will love to visit
this blog too buy glock19 online someone also recommended me to this blog buy-glock43- uk-online and what i read was very interesting like this blog too buy-glock45-pistols-online thanks for checking on the blogs


https://www.glockonlineshop.com/product/g19-compact-9x19mm/https://www.glockonlineshop.com/product/g17l-long-slide-9x19mm/https://www.glockonlineshop.com/product/g17-standard-9x19mm/https://www.glockonlineshop.com/product/g17l-long-slide-9x19mm/https://www.glockonlineshop.com/product/g17-gen5-mos-standard-9x19mm/https://www.glockonlineshop.com/product/beretta-px4-storm-spring-airsoft-black/https://www.glockonlineshop.com/product/buy-glock26-onlinehttps://www.glockonlineshop.com/product/buy-glock34-gen5-online/

carts shop said...

Thanks for sharing an amazing content if you will love to visit
this blog too buy pills online someone also recommended me to this blog buy-quagen-online and what i read was very interesting like this blog too buy-nicotine-lozenges-online thanks for checking on the blogs



https://www.springrisepharma.com/shop/buy-quagen-online/https://www.springrisepharma.com/shop/buy-hydroxychloroquine-200mg-online/https://www.springrisepharma.com/shop/buy-anavar-for-sale-online/https://www.springrisepharma.com/shop/buy-xanax-ir-online/https://www.springrisepharma.com/shop/abilify-10-mg-aripiprazole/https://www.springrisepharma.com/shop/androlic-50mg-100-tablets-by-british-dispensary/https://www.springrisepharma.com/shop/buy-sweeter-high-online/https://www.springrisepharma.com/shop/buy-gold-luxury-online/https://www.springrisepharma.com/shop/50-blisters-subutex-8-mg-buprenorphine/https://www.springrisepharma.com/shop/buy-nicotine-lozenges-online/

carts shop said...

Thanks for sharing an amazing content if you will love to visit
this blog too buy cocaine online someone also recommended me to this blog buy-cocaine-powder-online and what i read was very interesting like this blog too buy-liquid-lsd-online/ thanks for checking on the blogs



https://globalpharmcyonline.com/https://globalpharmcyonline.com/shop/buy-cocaine-powder-online-1gram/https://globalpharmcyonline.com/shop/buy-colombian-cocaine-online/https://globalpharmcyonline.com/shop/buy-amazing-columbian-cocaine/https://globalpharmcyonline.com/shop/buy-volkswagen-cocaine-online-90-pure/https://globalpharmcyonline.com/shop/buy-cbd-oil-online/https://globalpharmcyonline.com/shop/lsd-blotters-for-sale/https://globalpharmcyonline.com/shop/buy-mescaline-powder-online/

carts shop said...

Thanks for sharing an amazing content if you will love to visit
this blog too buy cocaine online someone also recommended me to this blog buy-cocaine-powder-online and what i read was very interesting like this blog too buy-liquid-lsd-online/ thanks for checking on the blogs



https://globalpharmcyonline.com/https://globalpharmcyonline.com/shop/buy-cocaine-powder-online-1gram/https://globalpharmcyonline.com/shop/buy-colombian-cocaine-online/https://globalpharmcyonline.com/shop/buy-amazing-columbian-cocaine/https://globalpharmcyonline.com/shop/buy-volkswagen-cocaine-online-90-pure/https://globalpharmcyonline.com/shop/buy-cbd-oil-online/https://globalpharmcyonline.com/shop/lsd-blotters-for-sale/https://globalpharmcyonline.com/shop/buy-mescaline-powder-online/

carts shop said...

Thanks for sharing an amazing content if you will love to visit
this blog too buy cocaine online someone also recommended me to this blog buy-cocaine-powder-online and what i read was very interesting like this blog too buy-liquid-lsd-online/ thanks for checking on the blogs



https://globalpharmcyonline.com/https://globalpharmcyonline.com/shop/buy-cocaine-powder-online-1gram/https://globalpharmcyonline.com/shop/buy-colombian-cocaine-online/https://globalpharmcyonline.com/shop/buy-amazing-columbian-cocaine/https://globalpharmcyonline.com/shop/buy-volkswagen-cocaine-online-90-pure/https://globalpharmcyonline.com/shop/buy-cbd-oil-online/https://globalpharmcyonline.com/shop/lsd-blotters-for-sale/https://globalpharmcyonline.com/shop/buy-mescaline-powder-online/

carts shop said...

Thanks for sharing an amazing content if you will love to visit
this blog too buy pills online someone also recommended me to this blog buy-quagen-online and what i read was very interesting like this blog too buy-nicotine-lozenges-online thanks for checking on the blogs



https://www.springrisepharma.com/shop/buy-quagen-online/https://www.springrisepharma.com/shop/buy-hydroxychloroquine-200mg-online/https://www.springrisepharma.com/shop/buy-anavar-for-sale-online/https://www.springrisepharma.com/shop/buy-xanax-ir-online/https://www.springrisepharma.com/shop/abilify-10-mg-aripiprazole/https://www.springrisepharma.com/shop/androlic-50mg-100-tablets-by-british-dispensary/https://www.springrisepharma.com/shop/buy-sweeter-high-online/https://www.springrisepharma.com/shop/buy-gold-luxury-online/https://www.springrisepharma.com/shop/50-blisters-subutex-8-mg-buprenorphine/https://www.springrisepharma.com/shop/buy-nicotine-lozenges-online/

carts shop said...


Thanks for sharing an amazing content if you will love to visit
this blog too buy glock19 online someone also recommended me to this blog buy-glock43- uk-online and what i read was very interesting like this blog too buy-glock45-pistols-online thanks for checking on the blogs


https://www.glockonlineshop.com/product/g19-compact-9x19mm/https://www.glockonlineshop.com/product/g17l-long-slide-9x19mm/https://www.glockonlineshop.com/product/g17-standard-9x19mm/https://www.glockonlineshop.com/product/g17l-long-slide-9x19mm/https://www.glockonlineshop.com/product/g17-gen5-mos-standard-9x19mm/https://www.glockonlineshop.com/product/beretta-px4-storm-spring-airsoft-black/https://www.glockonlineshop.com/product/buy-glock26-onlinehttps://www.glockonlineshop.com/product/buy-glock34-gen5-online/

carts shop said...


Thanks for sharing an amazing content if you will love to visit
this blog too buy glock17L online someone also recommended me to this blog buy-glock43- uk-online and what i read was very interesting like this blog too buy-glock45-pistols-online thanks for checking on the blogs


https://www.glockonlineshop.com/product/g19-compact-9x19mm/https://www.glockonlineshop.com/product/g17l-long-slide-9x19mm/https://www.glockonlineshop.com/product/g17-standard-9x19mm/https://www.glockonlineshop.com/product/g17l-long-slide-9x19mm/https://www.glockonlineshop.com/product/g17-gen5-mos-standard-9x19mm/https://www.glockonlineshop.com/product/beretta-px4-storm-spring-airsoft-black/https://www.glockonlineshop.com/product/buy-glock26-onlinehttps://www.glockonlineshop.com/product/buy-glock34-gen5-online/

carts shop said...

Thanks for sharing an amazing content if you will love to visit
this blog too buy pills online someone also recommended me to this blog buy-quagen-online and what i read was very interesting like this blog too buy-nicotine-lozenges-online thanks for checking on the blogs



https://www.springrisepharma.com/shop/buy-quagen-online/https://www.springrisepharma.com/shop/buy-hydroxychloroquine-200mg-online/https://www.springrisepharma.com/shop/buy-anavar-for-sale-online/https://www.springrisepharma.com/shop/buy-xanax-ir-online/https://www.springrisepharma.com/shop/abilify-10-mg-aripiprazole/https://www.springrisepharma.com/shop/androlic-50mg-100-tablets-by-british-dispensary/https://www.springrisepharma.com/shop/buy-sweeter-high-online/https://www.springrisepharma.com/shop/buy-gold-luxury-online/https://www.springrisepharma.com/shop/50-blisters-subutex-8-mg-buprenorphine/https://www.springrisepharma.com/shop/buy-nicotine-lozenges-online/

carts shop said...

liquid lsd online

cocaine powder

mescaline powder

volkswagen cocaine

colombian cocaine

amazing columbian cocaine

cbd oil

lsd blotters for sale

mescaline powder

cocaine online

anabol 5mg

nembutal powder

pill online

quagen online

nicotine-lozenges

anavar-for-sale

xanax-ir

abilify 10 mg

british dispensary

sweeter high

gold luxury

subutex 8mg

nicotine lozenges

pills online

one up micro dose

British shorthair cat

one up micro dose

glock43 gen 5

https://www.springrisepharma.com/
https://globalpharmcyonline.com/
https://www.glockonlineshop.com/
https://www.glockonlineshop.com/

carts shop said...



Glock store

Glocks for sale

glock43 gen4 mos

glock 17 gen4

glock 17 gen5

glock 21 For Sale

glock 26

glock 17x

glock 42

glock 19 gen 5

glock 19 Mos Gen 5

glock 45 gen 4

glock 19 gen-3

magazine usa gen4

glock 43 For Sale

glock 34 gen 5

glock 26 gen 5