D4n Posted March 20, 2016 Posted March 20, 2016 I'm surprised the game is only running on 3 threads or so instead of balancing the load across all 8 threads. Wouldn't that be more efficient? DCS Wishlist: 2K11 Krug SA-4 Ganef SAM, VR-TrackIR icons next to player names in score-chart PvP: 100+ manual player-kills with Stingers on a well known dynamic campaign server - 100+ VTOL FARP landings & 125+ hours AV-8B, F-14 crew, royal dutch airforce F-16C - PvP campaigns since 2013 DCS server-admins: please adhere to a common sense gaming industry policy as most server admins throughout the industry do. (After all there's enough hostility on the internet already which really doesn't help anyone. Thanks.) Dell Visor VR headset, Ryzen 5 5600 (6C/12T), RTX 4060 - basic DCS-community rule-of-thumb: Don't believe bad things that a PvP pilot claims about another PvP pilot without having analyzed the existing evidence
Fab Posted March 20, 2016 Posted March 20, 2016 Aint many games that do that Intel Core i7-6700K Cpu 4.00 GHz OC 4.8 GHz Water Cooled|32 GB DDR4 ram OC| Nvidia RTX 2080Ti| TrustMaster Warthog|Saitek Battle Pro Pedals | Logitec G13| Oculus Rift S :joystick: I´m in for a ride, a VR ride:pilotfly: https://www.youtube.com/channel/UCBX_-Hml7_7s1dggit_vGpA?view_as=public
Flagrum Posted March 20, 2016 Posted March 20, 2016 (edited) I'm surprised the game is only running on 3 threads or so instead of balancing the load across all 8 threads. Wouldn't that be more efficient? Two, afaik. One for sim logic and one for sound. But perhaps it has been gotten better with EDGE and DX11? Afaik, DX11 allows the program to hand over much more workload to the GPU and I would suspect that DX11 itself uses multithreading to some extend in order to archieve this. But in general, yes, one could probably develop a sim utilizing multi-core CPUs which could perform better than DCS now. But the keyword is "can develop". I.e. doing it from scratch - programming multithreading applications is not simple and even immensely complex if you really want to make best use of the multi-threading concept. "Updating" DCS to multi-threading would be most likely much more costly (time and thus money wise) than re-doing it from scratch. And now consider how many man-years of development time has gone into DCS already ... Edited March 20, 2016 by Flagrum
cichlidfan Posted March 20, 2016 Posted March 20, 2016 I'm surprised the game is only running on 3 threads or so instead of balancing the load across all 8 threads. Wouldn't that be more efficient? Not according to ED. ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:
D4n Posted March 21, 2016 Author Posted March 21, 2016 Not according to ED. What do u mean, where did they state that they don't think so? DCS Wishlist: 2K11 Krug SA-4 Ganef SAM, VR-TrackIR icons next to player names in score-chart PvP: 100+ manual player-kills with Stingers on a well known dynamic campaign server - 100+ VTOL FARP landings & 125+ hours AV-8B, F-14 crew, royal dutch airforce F-16C - PvP campaigns since 2013 DCS server-admins: please adhere to a common sense gaming industry policy as most server admins throughout the industry do. (After all there's enough hostility on the internet already which really doesn't help anyone. Thanks.) Dell Visor VR headset, Ryzen 5 5600 (6C/12T), RTX 4060 - basic DCS-community rule-of-thumb: Don't believe bad things that a PvP pilot claims about another PvP pilot without having analyzed the existing evidence
paulca Posted March 21, 2016 Posted March 21, 2016 As someone who worked in electronic financial trading applications I have studied threading models quite a bit, trying to achieve single or double digit micro-second processing time. Layman: Wouldn't doing 8 things at once be faster? Reality: Not if they are competing for resources. Consider being in work, doesn't matter what it is you are doing really. Now lets say 8 different people bring you things to do. If they all just added a job slip into a pile and you went through them in order... how would that compare to you trying to do them all at once? In reality you would need to stop, switch jobs, work on it for a wee while, then stop, switch, work, stop, switch and so on. Which would be faster? In this example YOU are the resource the jobs are competing for. When there are competing resources the threads have to be managed and communicate via signals and locks. Threads have to suspend and wait while another uses the memory or resource they want to use. The more threads you have the more time this locking and signalling takes. Signals and locks often form competing queues. They cause the hardware to suspend and context switch executing processes to service another. All these suspending threads and context switches cost time, quite a lot of it in fact. The complexity of development also increases massively. The probability of a bug causing memory corruption or a CTD also increase massively. An example is making toast with a toaster. If the toaster does 2 slices and takes 2 minutes to toast them. If you have 10 slices to toast would it be faster to toast 2 at a time and wait, doing them in sequence or to keep stopping the toaster and swapping the slices every few seconds? If it takes you 10 seconds to swap slices you should be able to work it out that it will take far longer to keep switching the slices than to do them sequentially. Besides, DX provides only a single event thread. So anything and everything that requires a DX operation has to be pushed onto a event queue and wait until DX gets to it. Having more threads putting stuff onto that queue will just bottle neck the whole thing and actually decrease performance and increase lag. In short, multi-threading is only faster is a limited set of cases. 1
cichlidfan Posted March 21, 2016 Posted March 21, 2016 What do u mean, where did they state that they don't think so? Right here. From Wags. Better use of multiple GPUs (CPU multi-threading is not being pursued as it will provide little if any gain) http://forums.eagle.ru/showpost.php?p=2256929&postcount=1 Your welcome. ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup:
BiBa Posted March 21, 2016 Posted March 21, 2016 (edited) ...doing it from scratch - programming multithreading applications is not simple and even immensely complex if you really want to make best use of the multi-threading concept. "Updating" DCS to multi-threading would be most likely much more costly (time and thus money wise) than re-doing it from scratch. And now consider how many man-years of development time has gone into DCS already ...FSX is older than DCS and yet there are Add-Ons who can ladle out all cores like FSPS “Xtreme FSX PC”. It has been designed keeping in mind the thousands of possible hardware configurations. This special software analyzes your computer hardware in depth (CPU, GPU, memory, hard disc speed and etc.) and while reading all of your current hardware, it will do special calculations about the tweaks that need to be applied. It sets a number of documented and undocumented tweaks to the correct values that is optimal for your PC. Just execute it and enjoy it with the maximum frames and smoothness you can get from your PC without changing any of your FSX sliders. Monitering my ressources during the FSX simulation, it spoons out up to 95% of all my 6x 3.2Ghz cores! If that’s possible with FSX, then that should also goes for DCS too. With every DCS new update the FPS performance is worsening. On the long term it will be unavoidable to braze this weak chain together, so better start with it right now. Edited March 21, 2016 by Biba BiBa...............BigBang WIN 10-64 Pro. MoBo: ASUS ROG STRIX Z390-F GAMING. 1TB Samsung SSD 960 PRO M.2 + 4TB SSD LEXAR 790. CPU: Intel Core i9-9900K. GPU: MANLI RTX 2080 Ti. RAM: HyperX 3200 MHz 64 GB. Monitor: ASUS 4K 28"/VR: Pimax 4K/TrackIR-5/SAITEK X55 Rhino HOTAS-Yoke-Rudder-Trim Wheel-THRUSTMASTER TCA Quadrant.
SkateZilla Posted March 21, 2016 Posted March 21, 2016 I'm surprised the game is only running on 3 threads or so instead of balancing the load across all 8 threads. Wouldn't that be more efficient? 2 Threads -1 For Simulation Engine -1 For XAudio Sound Engine Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
D4n Posted March 23, 2016 Author Posted March 23, 2016 I guess then I'll have to balance my other background processes to less loaded other threads/cores manually in task manager... (or is there a smart free program to do this?) DCS Wishlist: 2K11 Krug SA-4 Ganef SAM, VR-TrackIR icons next to player names in score-chart PvP: 100+ manual player-kills with Stingers on a well known dynamic campaign server - 100+ VTOL FARP landings & 125+ hours AV-8B, F-14 crew, royal dutch airforce F-16C - PvP campaigns since 2013 DCS server-admins: please adhere to a common sense gaming industry policy as most server admins throughout the industry do. (After all there's enough hostility on the internet already which really doesn't help anyone. Thanks.) Dell Visor VR headset, Ryzen 5 5600 (6C/12T), RTX 4060 - basic DCS-community rule-of-thumb: Don't believe bad things that a PvP pilot claims about another PvP pilot without having analyzed the existing evidence
sobek Posted March 23, 2016 Posted March 23, 2016 (edited) I guess then I'll have to balance my other background processes to less loaded other threads/cores manually in task manager... (or is there a smart free program to do this?) Not particularly free unless you use FOSS, but it is called operating system. ;) Edited March 23, 2016 by sobek Good, fast, cheap. Choose any two. Come let's eat grandpa! Use punctuation, save lives!
Recommended Posts