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

38 comments:

Digital Marketing Agency Pakistan 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 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 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...



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

admin said...

Thank you for giving me useful information.
Please keep posting good information in the future
I will visit you often. Thank you. Christmas Essay in Marathi
My School Essay in Marathi
Dr Babasaheb Ambedkar Quotes In Marathi
Happy Diwali Wishes in Marathi

admin said...

APJ Abdul Kalam Essay in Marathi
List Of All Minister Of Maharashtra
F.Y.B.A Marathi Books PDF Download

Ryan Mills said...

Buy Alpha-PVP Online

Buy Bio Cocaine Online

Buy Blue Crystal Meth Online

blog said...

happy Diwali Marathi Wish for you and your family..

blog said...

Free Books PDF Download

vj lead said...

Glock 19 is probably the best pistol out there in the market. It is surely the most reliable pistol. Buy GLOCK 19 Gen5 9mm Semiautomatic Pistol From Realiable Firearm Store At The Best Discounted Price. Tried and Tested Firearms.

admin said...

And that’s fine if you’re just starting out, but if you’re serious about creating art that’s really interesting and really remarkable, you have to lyric writing on your own terms. And the only way you do that is by doing lots of work on your own. In , the five things I’m about to tell you about won’t be much use until you’ve figured out – on your own – how work in practice. That’s the difference between knowing and understanding. And, well, I can help you stuff. But truly stuff? That’s up to you.


Whatsorpin Is A News Website Like ABP News Or ABP News Hindi Here You Find Latest And Trending News Updates Of 2022. Watch Latest Bollywood Gossips And More


APB NEWS
YRKKH Today Episode

Navnit said...

[url=https://www.collegenotes.xyz]BTech 2nd Year hand written Notes for Cse semester 3[/url]

[url=https://www.loanpawo.in]How bit coine mining done? What is bit coine mining ?[/url]

Navnit said...

top 5 gaming Earphone under 1000

BTech 2nd Year hand written Notes for Cse semester 3

thor love and thunder download

Navnit said...

BTech 2nd Year hand written Notes for Cse semester 3

thor love and thunder download

Mjc said...

THIS WAS REALLY HELPFUL.THANK YOU.
Marathi Motivation

Wisata dunia said...

Thanks for your sharing
bk8
hoki88

blog said...

Download PDF & E-Books

Motivational speech said...

Mortgage Loan information in Marathi

Scarlet said...

Get great discount prices for top grade firearms tin the market today and don’t worry about your firearm problems again.
GLOCK 28 380 AUTO


Call Us:(435)538-3647
Email ID:support@buybestguns.com

Ryan Mills said...

We sell and supply high quality and purity (medical chemicals, research chemicals, plant food, cocaine, crystal meth, carfentanyl, fentanyl, amphetamine etc.) in both large and small quantities. We bring a complete new experience to supply potential customers and establish long term business relationships. Our transactions are smooth, no customers worry. We are completely able to ship to any location due to our wide experience and professionalism and partnering with other top vendors we only recommend serious customers. All our deliveries are 100% guaranteed!

We only sell items above 98%, if you are interested, we will quote with the best.

We offer discreet and Reliable packaging and delivery.

FOR MORE INQUIRY CONTACT US ON

TEXT,CALL OR WHATSAPP +12092131540

EMAIL:shenchulab@gmail.com

WICKR:infusedmeds

website: https://shenchulab.com/

Ryan Mills said...

We sell and supply high quality and purity (medical chemicals, research chemicals, plant food, cocaine, crystal meth, carfentanyl, fentanyl, amphetamine etc.) in both large and small quantities. We bring a complete new experience to supply potential customers and establish long term business relationships. Our transactions are smooth, no customers worry. We are completely able to ship to any location due to our wide experience and professionalism and partnering with other top vendors we only recommend serious customers. All our deliveries are 100% guaranteed!

We only sell items above 98%, if you are interested, we will quote with the best.

We offer discreet and Reliable packaging and delivery.

FOR MORE INQUIRY CONTACT US ON

TEXT,CALL OR WHATSAPP +12092131540

EMAIL:shenchulab@gmail.com

WICKR:infusedmeds

https://shenchulab.com/

Scarlet said...

BUY THE BEST FIREARM FOR THE BEST DEALS FROM US TODAY!
Get great discount prices for top grade firearms tin the market today and don’t worry about your firearm problems again.
glock 43 switch

Call US:(435)227-5162
Email ID:support@buybestguns.com

eddielydon said...

I am glad to be here and read your very interesting article, it was very informative and helpful information for me. keep it up. Nick Nelson Hoodie

Nighv said...

Cocaine For Sale Sydney Australia
Order Pure Crack Cocaine
Buy Crystal Meth (Methamphetamine) online USA UK CA AU EU
Buy DMT
Buy ecstasy pills online USA
Buy Lysergic Acid Diethylamide (LSD)
Buy DMT Vape Pen
Buy Ketamine Online Sydney Australia
Buy LSD Online New York USA
Buy Heroin Online Oklahoma USA

Gunshopstar said...

We bring to you the latest and top-quality firearms at very affordable/considerate prices! All of our guns are fully assembled, including any modifications made upon request. please contact us directly with questions or concerns prior to ordering depending on current weather conditions where applicable. All Federal Firearms Licensees must be contacted before purchase so that their name may not appear when placing orders since we do use names listed only as a reference during production – no warranties expressed here unless stated otherwise.
270CAL PARTITION 150 GRAIN
Beretta 92 FS 9mm Centerfire Pistol Made in Italy
Henry Golden Boy 22 Magnum Lever Action Rimfire Rifle

Scarlet said...

We have your favorite Firearms from the most popular and world known firearms manufacturers – The best Handguns , Shotguns & Rifles for affordable prices today
buy glock handgun switch online

Call Us(801)899-3867
Email Id:support@buybestguns.com

techy akshay said...

marathijosh news
Due to this people search that how to download any newly released movies in Hindi dubbed. marathijosh live If you also want to download Bollywood, Hollywood, and South movies in Hindi dubbed, then you can use Filmy zilla, marathijosh in with the help of which one can download dubbed movies in Hindi. Today everyone is liking to watch Hindi dubbed movies and as you know that in today’s time when movies of any marathijosh movie language are coming in theaters, those movies are also being dubbed in Hindi, you guess. Can guess how much people are liking dubbing Movies in Hindi.