OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

CPU load and performance drop when running 2 instances of OSG app on 2 GPUs


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
particleSim
Newbie


Joined: 05 Oct 2018
Posts: 2

PostPosted: Fri Oct 05, 2018 9:39 am    Post subject:
CPU load and performance drop when running 2 instances of OSG app on 2 GPUs
Reply with quote

Hi,

I wrote a simulation app using OpenGL compute shaders based on OSG (so one frame equals one simulation step). To run several simulations at one time on one pc, I use several X-Screens to address the different cards. For maximum performance Vsync is disabled.

This works fine so far, but if I run a simulation (osg app) on both of the cards, i.e. each on one of the x-Screens (doesn't matter if rendering to a frame buffer or to the screen), the fps drop by 50% and the CPU as well as GPU load of the applications drop from ~100% to 50% too.

Nvidia optimizations for multithreading do not make any difference.

I use mainly Nvidia gpus (Pascal) and Linux with Xserver.

How can I achieve 100% load on both gpus and cpus running the two apps?

cheers,
Roy
Back to top
View user's profile Send private message
particleSim
Newbie


Joined: 05 Oct 2018
Posts: 2

PostPosted: Mon Oct 08, 2018 6:16 am    Post subject:
Reply with quote

interesting fact: If I run two simulations via one executable (i.e. two viewer instances each in one thread), I do not see the performance restrictions - both GPUs Level at ~100% of load.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Dynamic VBO Performance Drop ravidavi General 2 Thu Dec 06, 2018 8:36 pm View latest post
No new posts How make my app to load plugins marco.beninca General 1 Thu Dec 06, 2018 2:34 pm View latest post
No new posts osgUtil::LineSegmentIntersector perfo... Andrea74 General 6 Tue Dec 04, 2018 4:09 pm View latest post
No new posts Could not find plugin to load objects sdef General [3rdparty] 1 Sat Oct 27, 2018 6:10 am View latest post
No new posts Re-purposing the performance graph bcolbert General 0 Wed Aug 22, 2018 4:52 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP