[osg-users] Performance drop in 3.6.4 vs 3.5.1

Robert Osfield robert.osfield at gmail.com
Wed Jan 8 08:03:47 PST 2020


Hi Anders,

Try exporting the .obj file to .osgb or .osgt from 3.5.1 and then compare
the performance between 3.5.1 and 3.6.4.  This would check whether the .obj
loader is a variable.

As a general comment, frame rates many times higher than vsync should be
treated careful, the frame time can be so small that small overheads
elsewhere can lead to large % changes that appear significant but once you
start using normal workloads these small differences no longer have an
outsized % difference.

I would check other OS's to see see if the differences apply there too.

Robert.



On Wed, 8 Jan 2020 at 15:56, Anders Backman <andersb at cs.umu.se> wrote:

> Hi all.
>
> Windows 10.
> NVida GeForce RTX 2080.
>
>
> I recently switched to 3.6.4 from 3.5.1 and noticed a huge drop in
> performance, especially when running with two separate windows (two
> applications).
>
> 1. I use *SingleThreaded mode*
> 2. I use  *m_viewer->setReleaseContextAtEndOfFrameHint(false);*
> 3.  I use *window->setSyncToVBlank(false);*
>
> The above attributes are quite tightly connected to my issues.
>
> But first, running osgViewer with those settings I get using a simple obj
> file. Details not important, see below.
> When loading a simple .obj file (couple of hundred triangles) into
> osgViewer:
>
> *> osgViewer --window 0 0 1280 720*
>
> 3.5.1: 1900 fps. Draw 0.08ms
> 3.6.4: 2500 fps Draw 0.05ms
>
> Now this already show something different between the two versions,
> although perhaps not so relevant.
>
> [image: image.png]
>
> But if I start two instances of the viewer at the same time, I get a HUGE
> difference.
>
> 3.5.1: Two windows, both run in ~2000fps, smoothly.
> 3.6.4: Two windows, fps varies between 80-1200fps. Animations are not
> smooth at all (when spinning the model).
>
> I also have a few more issues, but I have not been able to pin them down
> yet:
>
> I get small objects culled at a certain distance although they where not
> culled in previous version.
> Might be some change in how bounding volume update is handled in 3.6.4,
> will know more later.
>
> Anyone else noticed the performance drop/change in 3.6.4?
>
> /Anders
>
>
>
> --
> __________________________________________
> Anders Backman, HPC2N
> 90187 Umeå University, Sweden
> anders at cs.umu.se http://www.hpc2n.umu.se
> Cell: +46-70-392 64 67
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200108/eb10ddae/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 225353 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200108/eb10ddae/attachment-0001.png>


More information about the osg-users mailing list