Discussion:
[Opensg-users] Patch to use 64-bit integers in statistics elements
Marcus Lindblom Sonestedt
2016-11-18 12:02:38 UTC
Permalink
Hi all!

Attached is a patch that changes StatElemInt(Once) to use 64-bit integers
instead of 32-bits to accumulate the value.

Since we are now successfully rendering more than 2.1 GB of geometry (!),
the number of geometry bytes processed previously wrapped around to
negative in the statistics foreground.

We're pushing between 1-2 billion triangles per second on a single Nvidia
1080 GTX card.
(I think we may be getting double the amount due to how statistics work in
2.0 w.r.t the rendering setup they have here. Still, it's quite a lot.)

These kind of problems are the fun kind of problems. :)

Cheers
/Marcus
--
Med vÀnliga hÀlsningar,
Marcus Lindblom Sonestedt
*Systemarkitekt*
*BIT ADDICT *- Passion för utveckling
+46 (0)706 43 63 28
***@bitaddict.se
www.bitaddict.se
Dirk Reiners
2016-11-18 16:26:53 UTC
Permalink
Hi Marcus,

On Fri, Nov 18, 2016 at 6:02 AM, Marcus Lindblom Sonestedt <
Post by Marcus Lindblom Sonestedt
Hi all!
Attached is a patch that changes StatElemInt(Once) to use 64-bit integers
instead of 32-bits to accumulate the value.
Since we are now successfully rendering more than 2.1 GB of geometry (!),
the number of geometry bytes processed previously wrapped around to
negative in the statistics foreground.
We're pushing between 1-2 billion triangles per second on a single Nvidia
1080 GTX card.
(I think we may be getting double the amount due to how statistics work in
2.0 w.r.t the rendering setup they have here. Still, it's quite a lot.)
These kind of problems are the fun kind of problems. :)
Fun problems indeed! Can you share what it is you are working on? Pictures?
;)

Yours

Dirk
Marcus Lindblom Sonestedt
2016-11-22 09:59:39 UTC
Permalink
Hi Dirk!

Nice to hear from you again!

I can't share those exact pictures, as the data shown is rather secret and
used in training of how to assemble (currently unreleased) products in a
highly competitive global market.

Maybe you can figure out what company I'm working for from that, given that
I'm still in Gothenburg.
(Those guys are still using OpenSG, and were a bit more active 10-15 years
ago.)

I'll ask when the CEO gets back and see if we can give you something.
(At least the screenshots look better now that I added anti-aliasing last
week.)

The only non-classified data I have to work at the moment with is a rather
smaller data set, which is not that exciting, I'm afraid.

Cheers,
/Marcus
Post by Dirk Reiners
Hi Marcus,
On Fri, Nov 18, 2016 at 6:02 AM, Marcus Lindblom Sonestedt <
Post by Marcus Lindblom Sonestedt
Hi all!
Attached is a patch that changes StatElemInt(Once) to use 64-bit integers
instead of 32-bits to accumulate the value.
Since we are now successfully rendering more than 2.1 GB of geometry (!),
the number of geometry bytes processed previously wrapped around to
negative in the statistics foreground.
We're pushing between 1-2 billion triangles per second on a single Nvidia
1080 GTX card.
(I think we may be getting double the amount due to how statistics work
in 2.0 w.r.t the rendering setup they have here. Still, it's quite a lot.)
These kind of problems are the fun kind of problems. :)
Fun problems indeed! Can you share what it is you are working on?
Pictures? ;)
Yours
Dirk
------------------------------------------------------------
------------------
_______________________________________________
Opensg-users mailing list
https://lists.sourceforge.net/lists/listinfo/opensg-users
--
Med vÀnliga hÀlsningar,
Marcus Lindblom Sonestedt
*Systemarkitekt*
*BIT ADDICT *- Passion för utveckling
+46 (0)706 43 63 28
***@bitaddict.se
www.bitaddict.se
Carsten Neumann
2016-12-04 17:53:09 UTC
Permalink
Hello Marcus,

thanks for the patch, I've committed it.

Cheers,
Carsten

On Fri, Nov 18, 2016 at 6:02 AM, Marcus Lindblom Sonestedt
Attached is a patch that changes StatElemInt(Once) to use 64-bit integers instead of 32-bits to accumulate the value.
Since we are now successfully rendering more than 2.1 GB of geometry (!), the number of geometry bytes processed previously wrapped around to negative in the statistics foreground.
We're pushing between 1-2 billion triangles per second on a single Nvidia 1080 GTX card.
(I think we may be getting double the amount due to how statistics work in 2.0 w.r.t the rendering setup they have here. Still, it's quite a lot.)
These kind of problems are the fun kind of problems. :)
Cheers
/Marcus
--
Med vänliga hälsningar,
Marcus Lindblom Sonestedt
Systemarkitekt
BIT ADDICT - Passion för utveckling
+46 (0)706 43 63 28
www.bitaddict.se
------------------------------------------------------------------------------
_______________________________________________
Opensg-users mailing list
https://lists.sourceforge.net/lists/listinfo/opensg-users
Loading...