Icecode GL wrote in Tue Jun 11, 2019 3:04 pm:Let's start with multi-threading.
.
.
.
FG exclusively uses a single core (yes, it may use several cores for very specific jobs, but FG is basically single-threaded). Clock speeds aren't getting faster so we can't take advantage of new hardware, we are essentially stuck with 5/10 year old hardware even if you just bought a brand new Intel i9. However, we keep adding features to FlightGear. Aircrafts are getting more complex systems by the day, models have huge triangle counts etc. This wasn't a problem 10 years ago because while the simulator kept getting more complex, newer hardware helped us keep the performance stable. Time helped us, now it doesn't.
V12 wrote in Fri Jul 19, 2019 7:09 am:Icecode GL wrote in Tue Jun 11, 2019 3:04 pm:Let's start with multi-threading.
.
.
.
FG exclusively uses a single core (yes, it may use several cores for very specific jobs, but FG is basically single-threaded). Clock speeds aren't getting faster so we can't take advantage of new hardware, we are essentially stuck with 5/10 year old hardware even if you just bought a brand new Intel i9. However, we keep adding features to FlightGear. Aircrafts are getting more complex systems by the day, models have huge triangle counts etc. This wasn't a problem 10 years ago because while the simulator kept getting more complex, newer hardware helped us keep the performance stable. Time helped us, now it doesn't.
This is my (and not only my) problem - FG can't use advantages of multicore CPUs. But we still adding more and more new things to the scenery - for example OSM buildings, roads, railways etc. Or we are thinking about terrain with better resolution. How fast will be FG on single core with that new stuff in future without multithreading ?
For a few years I've been experimenting with having two threads, one for the rendering and another for the simulation. I've got something that is stable with the occasional glitch.
This is experimental code to see if it is worth pursuing this route
Richard wrote in Sun Jul 21, 2019 11:07 pm:It does sound as though something is strange in your configuration if you are only getting 10FPS at EDDF. With the hardware you've got I'd estimate that a solid 30FPS should be achievable (with drops as things load). Have you thoroughly checked the power management and any CPU limits (thermal, power). I get around 40FPS at EDDF with an i7-4790K and R9-290; also recently tested at PHNL with a 1050 and a Pentium G4560 - around 50FPS.
FGFS needs at least a separate thread which can keep the GPU busy enough, so its driver does not throttle GPU clock and thus worsens the situation further.
Users browsing this forum: No registered users and 5 guests