Page 1 of 1

Vrep performance

Posted: 12 Jul 2017, 18:19
by atoz
Hi,

Using 5 vision sensors and rendering them in my scene has really slowed down the vrep simulation. However, V-rep is not fully utilising my CPU(26%) or GPU(40%). I'm using an Intel Core i7 with GTX 680M in SLI. Does Vrep use multi-core,threading or SLI for any of its processing?

I've tried doing explicit handling of the sensors but I need 'live' camera streams so I can't reduce the frame rate much. Are there any alternatives?
Thanks in advance.

Re: Vrep performance

Posted: 13 Jul 2017, 13:01
by coppelia
Hello,

currently all scripts (even threaded scripts) run sequentially (co-routine behaviour for threaded scripts). This is mainly to be able to perfectly synchronize all control elements of a simulation (i.e. scripts, plugins, etc.). Rendering happens on a different core, but is currently not implemented efficiently. We are planning to replace the rendering functionality for better graphics and faster execution (e.g. also vision sensors).

If the bottleneck are vision sensors, then you can try to explicitely handle them only when needed (you seem to have done that already). Another option would be to ignore RGB or depth information if not required.

Cheers