November 30, 20223 yr On 6/7/2022 at 1:42 PM, SteveW said: Yes, the AM structure I posted for 8/16 keeps the three main threads (foreground) to a physical core each by only allowing one LP on each of the first three cores 0,1,2. The remaining cores 3,4,5,6,7 can run background threads and are great to be paired two per core. Add-on exe apps can be corralled across those background cores, allow at least two LPs per add-on exe. Main threads running up to 100% - utilisation can be reduced by using a limiting technique - VSYNC or Nvidia Control Panel fps limit - which will prevent the sim making lost frames. Also try the AM I posted just now for 8 core 16 logical processor to increase background thread performance which reduces the time it takes to process scenery and objects and loading the GPU. Amazing difference in v5. Coming from v4 which was just a hot mess of porridge, regardless of what I did, this version seems completely rewritten. I used to have a max of 4 threads ... 50 percent on a 4/8 i7 7700k. Now I have 75 percent usage... effectively using 6 threads. Interestingly, as you said, when using the sim settings to limit vert sync, fps limit etc., I had 100 percentage bangage on Threads 0 and 1... and stutteration personified. Setting to unlimited and vert sync off, in-sim but setting nVidia control panel to Half Refresh Adaptive... with desktop set to 60 at 4K, its now smooth as silk, especially with some interpolation on my Oled TV. Also, the 75 percent max usage is spread evenly across 6 threads at around 75 to 85 percent each. And all the porridge from v4 has gone. Tried my hardest to blur the scenery with a Hawk at 400mph at 1000ft AGL... just can't. Scenery resolution and autogen is rock solid. Very impressed. And it look better than v4. Farewell MSFS. You are an impressive Scenery Simulator for now, but that's not what I want... for now. Welcome back Dash 8, PMDG 747, my A2A stable, 100s of airports and dynamic weather with Active Sky. ...not to mention Chaseplane and Radar Contact. Haven't managed to get my joystick working yet though ... lols. Edited November 30, 20223 yr by Gabe777
December 1, 20223 yr On 1/2/2022 at 10:59 PM, MammyJammy said: This is quite literally why I built the tool that is the primary topic of this thread. It will handle the numbers for you - All you have to do is enter in your cores/logical processors, and click on each one to set the various masks. The xThreadScheduler entries are relative to the P3DCoreAffinityMask value. The tool handles this for you. What is the difference between "P3D AM Process Space" (blue) and "CPU core (not used for P3D)." Because when I click "First Core Free", the grid shows Core 0 and 1 in Blue... not grey which you would expect to be the case according to your legend. 🥴 Edited December 1, 20223 yr by Gabe777
December 2, 20223 yr Author On 11/30/2022 at 4:17 PM, Gabe777 said: What is the difference between "P3D AM Process Space" (blue) and "CPU core (not used for P3D)." Because when I click "First Core Free", the grid shows Core 0 and 1 in Blue... not grey which you would expect to be the case according to your legend. 🥴 P3D 5.3 changes how affinity masks work. Prior versions simply had an affinity mask for all of P3D and any other processes that run with it (SimConnect, DLLs, etc.) With P3D 5.3, you can now specific separate affinity masks for the CORE processes of P3D and any of the other processes that need access to the P3D process space. You can dig through this thread and many others here on Avsim, but in a lot of research by Rob A, myself, and others, there really isn't a benefit in 5.3 to fully turning off a core from the entire P3D process space. The First Core Free preset will simply move the CORE processes of P3D off the first core, but other stuff can still consume it. As an example, FSUIPC, ActiveSky, etc. The CORE P3D processes are the ones you will see consume significant CPU time, especially the MainThreadScheduler, which will run at or near 100% most of the time. At the bottom of the affinity calculator is a broad series of help sections. Under the "Additional Info and and Configuration Suggestions" you'll find more detail. There's also the setting descriptions straight from Lockheed Martin linked in the help too.
December 2, 20223 yr 41 minutes ago, MammyJammy said: P3D 5.3 changes how affinity masks work. Prior versions simply had an affinity mask for all of P3D and any other processes that run with it (SimConnect, DLLs, etc.) With P3D 5.3, you can now specific separate affinity masks for the CORE processes of P3D and any of the other processes that need access to the P3D process space. You can dig through this thread and many others here on Avsim, but in a lot of research by Rob A, myself, and others, there really isn't a benefit in 5.3 to fully turning off a core from the entire P3D process space. The First Core Free preset will simply move the CORE processes of P3D off the first core, but other stuff can still consume it. As an example, FSUIPC, ActiveSky, etc. The CORE P3D processes are the ones you will see consume significant CPU time, especially the MainThreadScheduler, which will run at or near 100% most of the time. At the bottom of the affinity calculator is a broad series of help sections. Under the "Additional Info and and Configuration Suggestions" you'll find more detail. There's also the setting descriptions straight from Lockheed Martin linked in the help too. Thank you so much. I will digest this. So if I just follow the grid plan and copy the text into the cfg file, I should be good ... ? I have one issue though... when I get my 12700k (hopefully in a few weeks) it has 8/8 Performance cores, and 8 Efficiency cores and only the P cores will Turbo boost to 5Gz......🥴 Hmmmm ! ??? I don't need to ask do I ! 🤣 Edited December 2, 20223 yr by Gabe777
December 2, 20223 yr Author 12 minutes ago, Gabe777 said: Thank you so much. I will digest this. So if I just follow the grid plan and copy the text into the cfg file, I should be good ... ? I have one issue though... when I get my 12700k (hopefully in a few weeks) it has 8/8 Performance cores, and 8 Efficiency cores and only the P cores will Turbo boost to 5Gz......🥴 Hmmmm ! ??? I don't need to ask do I ! 🤣 No need to ask - Yes, the calculator accounts for performance and efficiency cores. Here's a link as an example:https://izn-flightsim.s3.amazonaws.com/affinity.html?cores=12&threads=20&affinity=1048575&coreAffinity=939348&mainThread=0&renderThread=1&frameThread=2#presetAnchor BTW, 12700K only is an 8P/4E CPU. The 12900K has the 8P/8E config. My experience with a 12900K and 13900K is to give P3D as many of the cores as you can, regardless of whether they are P or E cores. Keep the MainThreadScheduler, RenderThreadScheduler, and FrameWorkerThreadScheduler on P cores. And yes, copy/paste the [JobScheduler] entry into your prepar3d.cfg. If it doesn't work or work well, just delete that section of your config and P3D will re-create it with defaults for your system on next launch.
December 2, 20223 yr Oh and I stand corrected over the 4 Eff cores. I am using Win 11 when I get it as I believe that maximises the general scheduling of these P and E cores ... I'm so behind the curve, although my 3080Ti is very nice... but it is possible to max out the Vram in v5 at 4K... the Vol clouds are a sod ! 🥴🥴🥴 Edited December 2, 20223 yr by Gabe777
December 4, 20223 yr On 12/2/2022 at 5:44 PM, MammyJammy said: No need to ask - Yes, the calculator accounts for performance and efficiency cores. Here's a link as an example:https://izn-flightsim.s3.amazonaws.com/affinity.html?cores=12&threads=20&affinity=1048575&coreAffinity=939348&mainThread=0&renderThread=1&frameThread=2#presetAnchor BTW, 12700K only is an 8P/4E CPU. The 12900K has the 8P/8E config. My experience with a 12900K and 13900K is to give P3D as many of the cores as you can, regardless of whether they are P or E cores. Keep the MainThreadScheduler, RenderThreadScheduler, and FrameWorkerThreadScheduler on P cores. And yes, copy/paste the [JobScheduler] entry into your prepar3d.cfg. If it doesn't work or work well, just delete that section of your config and P3D will re-create it with defaults for your system on next launch. Having sorted out my cfg fike I realise tgere is a potential problem. As I use SimstarterNG I am thinking that it overrides any AM settings in the cfg file. Ive asked overv on their forums to see if the AM can be ignored. There is no obvious way looking tge settings available... unless anyone knows ?
December 4, 20223 yr Moderator 14 minutes ago, Gabe777 said: Having sorted out my cfg fike I realise tgere is a potential problem. As I use SimstarterNG I am thinking that it overrides any AM settings in the cfg file. Ive asked overv on their forums to see if the AM can be ignored. There is no obvious way looking tge settings available... unless anyone knows ? I’m not at home to check but I had similar thoughts when I was setting up my AM. Edit prepar3d.cfg and then save it. Open SimStarterNG and launch P3D. Then terminate P3D once it’s fully loaded. I think SimStarterNG will then notify you of changes and do you wish to save them. Choose Yes. Before choosing Yes you might want to open Prepar3D.cfg and ensure the AM is correct. It should be. Ray (Cheshire, England). System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant. Cheadle Hulme Weather website.
December 4, 20223 yr Hi. I think I've found a slightly simpler way. You may agree. Set up SimstarterBG ... but uncheck the 'start sim' section... so it just minimises. It makes your changes (of course not necessary if you haven't changed anything) and then change the AM on the cfg file.) Then I already have the 2 "incorrect lines" at the top of the AM section already copied to the clipboard ... so I just 'paste' and save. Then manually start P3D. Takes 10 seconds. Still a pain though. Edited December 4, 20223 yr by Gabe777
December 7, 20223 yr I make the JobScheduler changes directly into prepar3d.cfg. I then open SS and import the edited cfg. This will also change prepar3d.cfg.txt and the SimStarter Backup on first run.
December 14, 20223 yr On 12/4/2022 at 12:14 PM, Ray Proudfoot said: I’m not at home to check but I had similar thoughts when I was setting up my AM. Edit prepar3d.cfg and then save it. Open SimStarterNG and launch P3D. Then terminate P3D once it’s fully loaded. I think SimStarterNG will then notify you of changes and do you wish to save them. Choose Yes. Before choosing Yes you might want to open Prepar3D.cfg and ensure the AM is correct. It should be. Sorry Ray ... you were correct. It writes all the AM settings to the SS config. Much better ! Thnx.
December 14, 20223 yr On 12/7/2022 at 9:00 PM, newtie said: I make the JobScheduler changes directly into prepar3d.cfg. I then open SS and import the edited cfg. This will also change prepar3d.cfg.txt and the SimStarter Backup on first run. How do you import the cfg file ? Also does anyone know what we should with Chaseplane in terms of AM and Priority ? SimStarterNG clearly allows you to set multiple programs to start and set AM and CPU priority. Currently I have P3D set at Normal.
December 14, 20223 yr Moderator 5 minutes ago, Gabe777 said: Also does anyone know what we should with Chaseplane in terms of AM and Priority ? SSNG allows you to set AM for additional programs. I use the last two VPs for it as well as Active Sky. Normal priority. Ray (Cheshire, England). System: P3D v5.3HF2, Intel i9-13900K, MSI 4090 GAMING X TRIO 24G, Crucial T700 4Tb M.2 SSD, Asus ROG Maximus Z790 Hero, 32Gb Corsair Vengeance DDR5 6000Mhz RAM, Win 11 Pro 64-bit, BenQ PD3200U 32” UHD monitor, Fulcrum One yoke, Fulcrum Throttle Quadrant. Cheadle Hulme Weather website.
December 14, 20223 yr 1 hour ago, Ray Proudfoot said: SSNG allows you to set AM for additional programs. I use the last two VPs for it as well as Active Sky. Normal priority. Hi Ray. So I assume you keep P3D on the other cores ? And everything at Normal Priority ? Edited December 14, 20223 yr by Gabe777
Archived
This topic is now archived and is closed to further replies.