Comments on: Dual Core? Definitely https:/2007/08/dual-core-definitely/ Developer resources for the X-Plane flight simulator Tue, 01 Feb 2011 02:21:44 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Benjamin Supnik https:/2007/08/dual-core-definitely/#comment-1279 Fri, 31 Aug 2007 12:07:00 +0000 http://www.x-plane.com/dev_blog/?p=462#comment-1279 Christer, I’m not sure what you mean by “the new tracable OpenGL”. Generally speaking, the new cores cannot be used to subdivide the main task of rendering the scene because it has sequential dependencies…that is, the ground _has_ to be drawn before the buildings (for example) to get correct rendering.

(More specifically, any time we use translucency or polygon offset, we introduce a dependency in the order that things are rendered. Since both of these techniques are used heavily, the order in which x-plane scenes are drawn is quite important.)

I think the second core could be more useful for moving computational and loading tasks from the main thread than from subdividing rendering.

(Remember also that if there is a single access point to the GPU, e.g. a single PCIe bus, rendering from two threads may reveal bottlenecks.)

]]>
By: Christer Hellholm https:/2007/08/dual-core-definitely/#comment-1280 Fri, 31 Aug 2007 04:42:00 +0000 http://www.x-plane.com/dev_blog/?p=462#comment-1280 Couldn’t the extra cores (quad or opt core) be used to share the OpenGL render (the new tracable OpenGL) work with the GPU, so we can fly in a more dynamic (true light and shadows effects – and skip night textures) and realistic world (waves in water and inverse kinematics [e.g. flexible wings])?

]]>
By: Sam H https:/2007/08/dual-core-definitely/#comment-1281 Mon, 27 Aug 2007 15:02:00 +0000 http://www.x-plane.com/dev_blog/?p=462#comment-1281 I remember, back in the olde dayes of version 6, running two concurrent instances of X-Plane on my dual CPU PII-350 at full speed. They both used the same mouse, etc, which made controlling anything almost impossible. But it was FUN!

]]>
By: Benjamin Supnik https:/2007/08/dual-core-definitely/#comment-1282 Mon, 27 Aug 2007 14:55:00 +0000 http://www.x-plane.com/dev_blog/?p=462#comment-1282 More than 2 cores…depends on the part of the sim. So far a lot of our efforts to go to dual-core have not scaled to more than 2 (although some do). There are a few reasons limiting us:

– Sometimes we are taking one task and splitting it in half via recording. Further splits mean more code, if the task has no natural parallelization.

– Sometimes a given task needs to be run by itself and is simply not done on the main CPU.

On the other hand, if enough things “run in the background” we could find ourselves needing more than 2 cores.

At this point I don’t think quad-core is worth the money based on the sim’s utilization, but I don’t think I’m qualified to predict industry trends. We’re going to focus on configurations that are common, so if quad core remains “exotic”, I think we’ll put our efforts into other kinds of acceleration.

(Remember, this is a zero sum game – time spent working on quad-core optimization is time taken away from performance tuning for all systems and performance tuning around the GPU, which is also developing new features that we can be using.)

]]>
By: Jilles https:/2007/08/dual-core-definitely/#comment-1283 Mon, 27 Aug 2007 14:46:00 +0000 http://www.x-plane.com/dev_blog/?p=462#comment-1283 what about quad core? Or eight cores? Are you going to be able to make use of more horsepower as it comes available over the next few years, or will this a more dramatic rearchitecting (I imagine so).

]]>
By: Anonymous https:/2007/08/dual-core-definitely/#comment-1284 Mon, 27 Aug 2007 13:30:00 +0000 http://www.x-plane.com/dev_blog/?p=462#comment-1284 Nice to read that the version 9 is on the pipe 😉

]]>