<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/9627" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2013-12-17T13:18:05+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/9627</id>

		<entry>
		<author><name><![CDATA[cippyboy]]></name></author>
		<updated>2013-12-17T13:18:05+00:00</updated>

		<published>2013-12-17T13:18:05+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32419#p32419</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32419#p32419"/>
		<title type="html"><![CDATA[How to configure Bullet for best multithreaded performance]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=32419#p32419"><![CDATA[
I've got back into Bullet after a number of years and I have to say I'm impressed with quite a few things that were solved or added. I'm especially impressed that dynamic triangle meshes work, unlike PhysX where they're "banned" <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile">.<br><br>But on to my issue. I have a GPU benchmark app on 6 platforms and I was planning to add CPU benchmarking through physics processing as it's more interesting &amp; fun that way.<br><br>And I tried to enable multithreading support in bullet, from 2 sources, one is the parallel dispatcher ( I'm using 2.78 btw ) the other being the m_enableSPU from DispatcherInfo. The Parallel dispatcher is actually slower while the m_enableSPU gives very small improvements, maybe 1-10% max. Is there anything I'm missing ? Are there some special classes I should create my code with ? I'm only using spheres colliding with triangle meshes and using only RigidBodies. I read on the forum that the OpenCL solution is faster, but my main platforms of interest ( iOS/Android ) do not support OpenCL yet.<br><br>Also as a side note, are the object transforms double buffered ? As in, can I safely call stepsimulation() on a thread while on a different thread I would call RigidBody-&gt;getWorldTransform(); so that I can at least render the last frame while simulating the current frame ?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=757">cippyboy</a> — Tue Dec 17, 2013 1:18 pm</p><hr />
]]></content>
	</entry>
	</feed>
