April 2, 201511 yr Commercial Member I just started using an affinity mask of 150401 in my I7-5960X (8 core/16 thread) I'm now getting 60 FPS locked with high settings, smooth as butter. I'm not surprised that's the proper way of doing things. However, 150401=(10,01,00,10,11,10,00,00,01) accounts for 9 cores with 18LPs, we should use an 8 core 16LP AM for the 5960x, but it makes no real difference, although with your AM the leftmost "10," is ignored. Instead you can rearrange your AM for 8 cores 16 LPs for clarity. 54272=(11,01,01,00,00,00,00,00) = 4LPs 62720=(11,11,01,01,00,00,00,00) = 6LPs 64832=(11,11,11,01,01,00,00,00) = 8LPs Each of these gives the first two main processes a core of their own with the others ganged on a core. You should get the same performance from these. Steve Waite: Engineer at codelegend.com
April 2, 201511 yr Commercial Member This discussion was long since answered - to recap: We should use HT enabled since it improves task switching. Some say unless we are pushing for a very high overclock and HT=Off reduces heat, but that's open to another debate, the trade off between a few more MHz or HT enabled. With HT enabled we can help the OS to give the sim uninterrupted throughput by the use of an Affinity Mask. We can keep the main P3D process on a core of it's own, helps the OS to decide to place the next sim thread along to the next core, before the sim is fully started and maximising it's primary core. Once the sim is running the jobsheduler should keep new processes off that core since it will be maxed my then. If we allow the sim to spread it's threads across many cores, we can have too many secondary threads stopping the main thread to communicate, and that starts to eat into the smoothness of the sim. With HT=Off the AM becomes more important when we have many cores, we can partition the CPU and provide adequate cores for the sim, leaving the jobsheduler to find lesser used cores for new processes. Steve Waite: Engineer at codelegend.com
April 2, 201511 yr I'm not surprised that's the proper way of doing things. However, 150401=(10,01,00,10,11,10,00,00,01) accounts for 9 cores with 18LPs, we should use an 8 core 16LP AM for the 5960x, but it makes no real difference, although with your AM the leftmost "10," is ignored. Instead you can rearrange your AM for 8 cores 16 LPs for clarity. 54272=(11,01,01,00,00,00,00,00) = 4LPs 62720=(11,11,01,01,00,00,00,00) = 6LPs 64832=(11,11,11,01,01,00,00,00) = 8LPs Each of these gives the first two main processes a core of their own with the others ganged on a core. You should get the same performance from these. 15 04 01 - was my somewhat poor attempt at an april fool but noone detected it Steve McNitt
June 2, 201511 yr Steve, thanks so much for sharing your knowledge. As always, it's a pleasure to hear you explain everything clearly and intelligently. I wrote a ''how to'' post a while back for Prepar3d v2 and thought that it would become out of date based on how LM was planning to open all cores to P3D. What I hadn't considered was the knock-on effect that opening all cores to P3D might have.. Thanks to your posts here, I have revised my thinking and am now using a mask in v2.5 as well, freeing up 4 threads for the system and other apps, while P3D is restricted to 4 of its own threads. Thanks again for your time and help. Ryzen 5800X3D, 64GB RAM, RTX 4090, Windows 11Link to my: Dynamic Flight Dispatch Tool
June 6, 201510 yr I have a 3770k overclocked to 4.2 with HT=on. I was running it off but was interested in switching over. With HT=on and an affinity mask of 244 I am seeing much better results. Not a placebo for sure. Tested over Orbx San Carlos facing San Francisco. Never dipped below mid 30's while locked at 40. I was always dipping into the mid-20's prior. Also tested over other orbx areas an can confirm for my setup this is the way to go. I am liquid cooled so not worried about any additional heat. Is there another affinity mask setting I should be using? I like what I have and might just stick with it, but wanted to make sure I had it set up right. HT=on in bios cores unparked via registry, confirmed via unparking tool in p3d config...... [JOBSCHEDULER]AffinityMask=244 Thanks for this thread, it has made things much easier on the eyes. Still waiting on true fullscreen mode though so I can run the 1/2 refresh rate vsync option like i did in FSX....that will be magical.
June 7, 201510 yr I have a 3770k overclocked to 4.2 with HT=on. I was running it off but was interested in switching over. With HT=on and an affinity mask of 244 I am seeing much better results. Not a placebo for sure. Tested over Orbx San Carlos facing San Francisco. Never dipped below mid 30's while locked at 40. I was always dipping into the mid-20's prior. Also tested over other orbx areas an can confirm for my setup this is the way to go. I am liquid cooled so not worried about any additional heat. Is there another affinity mask setting I should be using? I like what I have and might just stick with it, but wanted to make sure I had it set up right. HT=on in bios cores unparked via registry, confirmed via unparking tool in p3d config...... [JOBSCHEDULER] AffinityMask=244 Thanks for this thread, it has made things much easier on the eyes. Still waiting on true fullscreen mode though so I can run the 1/2 refresh rate vsync option like i did in FSX....that will be magical. Hmm i always have run FSX and P3D with HT=off. Guess its just an old/forgot thing with me. What should i try with a 4770K ? (AM setting ) And what is unparking ? and how ? :-) Is there a tool i should use when having HT=on ? Thanks Michael Moe Michael Moe
June 7, 201510 yr I started out running P3d with no HT but converted as you read. I feel that it is significantly smoother (for me). Just google "unpark cores" and that should take you on your way. You can use a tool that is free to download or you can do it yourself following directions and editing your registry (that's what I did). Read through this thread and all questions you asked are answered including how to figure out the affinity mask for your setup.
June 8, 201510 yr This discussion was long since answered - to recap: We should use HT enabled since it improves task switching. Some say unless we are pushing for a very high overclock and HT=Off reduces heat, but that's open to another debate, the trade off between a few more MHz or HT enabled. With HT enabled we can help the OS to give the sim uninterrupted throughput by the use of an Affinity Mask. We can keep the main P3D process on a core of it's own, helps the OS to decide to place the next sim thread along to the next core, before the sim is fully started and maximising it's primary core. Once the sim is running the jobsheduler should keep new processes off that core since it will be maxed my then. If we allow the sim to spread it's threads across many cores, we can have too many secondary threads stopping the main thread to communicate, and that starts to eat into the smoothness of the sim. With HT=Off the AM becomes more important when we have many cores, we can partition the CPU and provide adequate cores for the sim, leaving the jobsheduler to find lesser used cores for new processes. Hello, For my SB-E chip w/ HT on I've always used AM 4094, or 111111111110. Does this fit w/ what you are saying for optimal task switching on the main thread for P3DV2? I seem to have always had excellent results in terms of texture update rate and frame rate is as good as it can be give my 4.4Ghz overclock. Thanks! Noel System: 9900X3D Noctua NH-D15 G2, MSI Pro 650-P WiFi, G.SKILL 64GB (2 x 32GB) 288-Pin PC RAM DDR5 6000, WD NVMe 2Tb x 1, Sabrent NVMe 2Tb x 1, RTX 4090 FE, Corsair RM1000W PSU, Win11 Home, LG Ultra Curved Gsync Ultimate 3440x1440, Phanteks Enthoo Pro Case, TCA Boeing Edition Yoke & TQ, Cessna Trim Wheel, RTSS Framerate Limiter w/ Front Edge Sync. Aircraft used in MSFS 2024: Fenix A320, Aerosoft CRJ, FBW, WT 787X, I-Fly 737 MAX 8, Citation Longitude.
June 8, 201510 yr Hmm i always have run FSX and P3D with HT=off. Guess its just an old/forgot thing with me. What should i try with a 4770K ? (AM setting ) And what is unparking ? and how ? :-) Is there a tool i should use when having HT=on ? Thanks Michael Moe Just an update. I tried it out with AM=254 which seems to leave core0 not busy. Sometimes all other cores are doing something. No other addons in background. Seems smooth and sharp. A little lower clockspeed but only 1-2 fps lost so far. Any other recommendation apreciated all though i think this might stick Michael Moe Michael Moe
October 8, 201510 yr Bringing this discussion to bear on P3D V3 now. I just did a little experimenting (i7-4790K, HT ON).With no affinitymask, there was some (slight) choppiness at times, where AM=244 (11110100) put the P3D core on LP 3 (and physical core 1) by itself, with other processes free to use core 0. Noticeably smoother in the spots where I saw some minor microstutters before, though not dramatically so. Still, I think the out-of-the-box P3Dv3 might still be able to use some help with an appropriate AM setting.Regards Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
October 8, 201510 yr P3D auto settings is equivalent to setting AM=0, or 255=(11,11,11,11) on your HT enabled 4 core Can also try: 212=(11,01,01,00) or 245=(11,11,01,01), or 253=(11,11,11,01). ...things pan out differently depending on monitor number and size, autogen, photo-real, weather intensity, etc. That's why a range of setups should be tried. Is that for 4 cores with HT on? my 4 core (3770K OC to 4,5Ghz) without HT I prefered 15 over 14. This way all the cores were used by P3D and the blurries were considerably improved. I just turned back on the HT. So now I have 4 cores with HT and I just did my AM to 168.. and trying it out. Would like more options... OK.. 245 is better than 168 and HT is so much better... Need to try 253 after this. I feel like I just upgraded my CPU Manny Beta tester for SIMStarter
October 9, 201510 yr Manny, 254 may be a better choice for your AM. The best advice I found for my setup came from this thread;( referenced by Toby23 above) http://www.avsim.com/topic/444793-one-tweak-to-rule-them-all-how-to-set-affinity-mask-correctly/ It's very informative, and explains very well (using the built in Windows calculator) how to determine the correct AM value for whichever cores you choose to use. Regards, Craig. Edited October 9, 201510 yr by Jazzfan
October 12, 201510 yr Tried HT ON/OFF with and without AM (254) in P3D V3. With HT ON less FPS and much higher temperatures (84 deg C.) with 4790K @ 4.5 GHz. I leave HT OFF. Regards, Chris -- PC: Intel 13900K, Gigabyte Geforce RTX 4090, 64GB Fury Beast DDR5 RAM; Display: Varjo Aero VR
Create an account or sign in to comment