- Joined
- Feb 8, 2008
- Messages
- 1,649
- Reaction score
- 4
- Points
- 38
- Location
- Hampshire, UK
- Website
- orbiter.quorg.org
I just read this thread: http://www.orbiter-forum.com/showthread.php?t=9908
With many current CPUs having more than one core, is it time to start thinking about multithreading in the orbiter core? At present, everything is done on one core and the graphics suffer if the MFDs do a lot of processing (I'm thinking of high MFD update rates and specifically AerobrakeMFD, IMFD and LTMFD but I'm sure there will be more) and the second/third/fourth cores just sit idle.
It shouldn't be too much effort to stick the MFD update calls on a different thread and make them draw to an off-screen buffer. That way, you can free-up the main thread and get better FPS by using the other cores.
Just a thought.
With many current CPUs having more than one core, is it time to start thinking about multithreading in the orbiter core? At present, everything is done on one core and the graphics suffer if the MFDs do a lot of processing (I'm thinking of high MFD update rates and specifically AerobrakeMFD, IMFD and LTMFD but I'm sure there will be more) and the second/third/fourth cores just sit idle.
It shouldn't be too much effort to stick the MFD update calls on a different thread and make them draw to an off-screen buffer. That way, you can free-up the main thread and get better FPS by using the other cores.
Just a thought.