Panzertard Posted June 29, 2009 Posted June 29, 2009 (edited) S@oDepp: From my basic understanding of the DirectX framework, I dont remember the whole strategy but: Affinity depends on which cpu geths which job. They wont all (4) work on rendering - only one of the cores can have that task (or rather, thats the recomended strategy). Other threads may work with AI behaviour, other kinds of logics. EDIT: Ah, found the reference: http://msdn.microsoft.com/en-us/library/bb204834(VS.85).aspx This is what ED have coded. The guys who makes the "affinity trick" have no control over which thread/workload goes to which cpu/core. So you will never see equal workload for all the cores. Or rather, if you see it - then it's just a coincidence. :) Edited June 29, 2009 by Panzertard The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
SuDepp Posted June 29, 2009 Posted June 29, 2009 Yep - thats for sure, but there seem to be no gain when ONE core is mostly at 100% - looks like the speed canґt be translated in frames (maybe cos some work is/had to be transfered to the other cores). The better solution is to create workload, and after that(!) try to divide it completely (incl. TrackIR and all the other stuff within win) - so not one core will be overflooded. Looks like it has definitely an effect on the fps! So best solution with my machine is when (any) affinity trick results in one core nearly at 100% - but NEVER maxed out. Beneath, thx for the link - although Iґm to dump to program by myself it looks interesting ;) Greets S@uDepp // Hasi @4,5 GHz @ H100i // Asrock Z87M Extreme 4 // Avirex 4x4GB // PALIT 1070 GTX SuperJetStream // Corsair 350D // Plextor extern // DELL 2407WFP // Razer Lancehead // 2xThrustmaster T.16000M + Saitek Pedals Pro // Oculus Rift // 3x amBX // Win10 Pro x64
galatei Posted June 29, 2009 Author Posted June 29, 2009 Guys, next version will have support for core per task splitting and delayed set, all configurable from the same config file. So one will be able to run additional apps when dcs.exe is starting up, assigning with some delay same/different core to it at the same time. All that in the same library though not launched under dcs.exe process. Cheers Btw. it's perfectly possible to use this library for other apps than dcs, by just making them to load it. CPU: Intel i7 2770k 3.4GHzTB@ 4.3GHz MB: P8Z77-V LE Z77 Socket 1155 Memory: Corsair 16GB (4x4GB) DDR3 2000MHz XMS3 GFX: GeForce GTX 760 2GB HD: Samsung 850 Pro SSD 256GBx2/830 Pro 128GB/WD1TB-BEx2 PSU: Antec TruePower Trio 800W OS: Windows 10 Pro x64 Monitor: 2x ASUS VE247 2ms 1920x1680 native Input: Saitek X52 + Pro Flight Cessna Rudder/Wacom intuos tablet/3D Mouse/TrackIR 5 Sound: Logitech G35 Surround Headphones
SuDepp Posted June 29, 2009 Posted June 29, 2009 That sounds great!! :thumbup: Canґt await your next update! Greets & keep up the good work S@uDepp // Hasi @4,5 GHz @ H100i // Asrock Z87M Extreme 4 // Avirex 4x4GB // PALIT 1070 GTX SuperJetStream // Corsair 350D // Plextor extern // DELL 2407WFP // Razer Lancehead // 2xThrustmaster T.16000M + Saitek Pedals Pro // Oculus Rift // 3x amBX // Win10 Pro x64
Herbs107 Posted July 10, 2009 Posted July 10, 2009 Hi all, just a quick question regarding this add-on. I dont usually do this sort of thing, so sort of a noobie at it. On the readme file, it states: 1. Unzip to path DCS\Ka50\bin\stable directory - thats fine no prob with that. 2. Edit MulticoreExtension.ini file to set your preferred affinity mask?????? - How do i do that, or when doing it, what are the settings???? 3. Add Plugin 6 = "MultiCoreExtension.dll" - thats fine also no prob doing that. Thanks & Regards
BlackSharkAce Posted July 10, 2009 Posted July 10, 2009 Very great and "clean" littel tweak. Working like a charm in Win7 64-bit on 2 cores. Thx a lot :)
REL Posted July 11, 2009 Posted July 11, 2009 I don't know.... I can't get this one to work on my Vista 32 Bit , Q6600 (4 CPU's) although I did everything by the book. It seems to me that when I start the simulation there are two DCS.EXE processes that participate in the action. The first one actually getting affinity of all 4 CPU's but as soon as the first one switches with the second the affinity changing back to only one core. Any suggestions guys?
Panzertard Posted July 12, 2009 Posted July 12, 2009 @REL I think I've seen two DCS.exe in action too - especially when editing missions and testing them. Galatei probably needs to address this in a new build (from what I understand he's working on a new version?) :) But if you enable to the logging (read here how I enabled log: http://forums.eagle.ru/showpost.php?p=706763&postcount=13) so you can tell Galatei a bit what the logs contain - maybe he get's an idea how to fix it. The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning
REL Posted July 13, 2009 Posted July 13, 2009 Good thinking Panzertard I will try to get the log files if there is any ...
Charles Darwin Posted December 20, 2017 Posted December 20, 2017 OK So i apparently am stupid and can't figure this out? I have a 4 core intel..what do i put after affinity mask to use cores 3 and 4
SkateZilla Posted December 20, 2017 Posted December 20, 2017 (edited) OK So i apparently am stupid and can't figure this out? I have a 4 core intel..what do i put after affinity mask to use cores 3 and 4 Look at the Post Dates, This Mod/Thread is 8 years old, and hasnt been active for 8 years. This Plugin was made for A-10C 1.1.1/Ka-5.0 1.1.1. CPU Affinity mask setting for DCS World: https://forums.eagle.ru/showthread.php?t=118535&highlight=CPU+Affinity //Closed Edited December 22, 2017 by SkateZilla 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
Recommended Posts