Jump to content
Sign in to follow this  
Jimm

Affinity Mask: An Observation

Recommended Posts

I recently bit the bullet, again, reinstalling everything.  I won't get into specifics but recent OOMs I experienced made me start an investigation.  After reinstalling a basic setup, my tubeliners, ORBX FTX Global, ASN, REX, with a few 3rd party airports, I looked into possibly making some changes to my cfg file and even my nvidia settings.  One of the changes I made was incorporating an Affinity Mask setting.  I went through a tut here at AVSIM to determine the appropriate number and plugged it in.  I left the rest of the cfg file alone, cloning other settings with a previously saved version I had before the reinstall.  I made a couple of changes to my nvidia display, via the control panel and went ahead and flew a route.

 

My route was rather short, EGKK to EGPF, with an Airbus A318 from Aerosoft.  About half way through my flight I noticed that the ground scenery over England suddenly started to look blurred.  Not just a slight blur, but as if I was going to be flying over desert.  I also noticed that my clouds were not refreshing properly, leaving large gaps between refresh, and even then, the clouds were looking off.  I took at the ground below, and I noticed that the once beautiful ground shadows looked like tetris blocks.  Before approach, at about 4000 feet, the ground started to look better and so did the clouds, but from that point to touchdown, all of the surrounding ground textures were very blurry.  With the exception of the airport scenery, which looked fine, everything else look bad.  I completed the flight without any issue.

 

Afterwards, I thought about what would have caused this issue, and realized that the AM setting I placed in cfg could be the cause.  I went ahead and commented out the AM line in my cfg and later on, performed a new flight.  This time, my flight took me from EGKK to LOWW, a much longer flight with a slightly different aircraft.  I had OpenLC Europe installed and active within FTX Central as well.  After a 2hr and 15 min flight, the entire flight was beyond perfect.  I had no issue with my weather, clouds (saw some great thunderstorms with tops above FL400.  As for the scenery, it was clean and clear, no blurries at all.

 

With this change, I am convinced that AM doesn't always work or rather, is needed.  I never used it before for v3, up until recently, which had the bad effects from the flight mentioned initially.  Changing things back to no AM has made a difference and I don't really think I need it anymore.  All of this was just an observation for those who may consider using it.  I guess you need to determine of any issues you have with P3D warrant it's use.

 

-Jim


Engage, research, inform and make your posts count! -Jim Morvay

Origin EON-17SLX - Under the hood: Intel Core i7 7700K at 4.2GHz (Base) 4.6GHz (overclock), nVidia GeForce GTX-1080 Pascal w/8gb vram, 32gb (2x16) Crucial 2400mhz RAM, 3840 x 2160 17.3" IPS w/G-SYNC, Samsung 950 EVO 256GB PCIe m.2 SSD (Primary), Samsung 850 EVO 500gb M.2 (Sim Drive), MS Windows 10 Professional 64-Bit

Share this post


Link to post

Here come the two critical questrions, Jim: Which processor do you use (i.e. # of physical/logical cores)? Do you have Hyperthreading in the BIOS on or off?

 

Kind regards, Michael


MSFS, Beta tester of Simdocks, SPAD.neXt, and FS-FlightControl

Intel i7-13700K / AsRock Z790 / Crucial 32 GB DDR 5 / ASUS RTX 4080OC 16GB / BeQuiet ATX 1000W / WD m.2 NVMe 2TB (System) / WD m.2 NVMe 4 TB (MSFS) / WD HDD 10 TB / XTOP+Saitek hardware panel /  LG 34UM95 3440 x 1440  / HP Reverb 1 (2160x2160 per eye) / Win 11

Share this post


Link to post

I have an intel i7-4790K, oc'd to 4.5ghz.  I never ever ever touched hyperthreading so it would be a yes, I use it. :)

 

I have a feeling your answer will be, "well sure, with your processor, you never needed to use AM", and if that's the case, I'll be happy with that response and continue on with great, stable scenery and wonderfully beautiful puffy clouds. :D

 

-Jim


Engage, research, inform and make your posts count! -Jim Morvay

Origin EON-17SLX - Under the hood: Intel Core i7 7700K at 4.2GHz (Base) 4.6GHz (overclock), nVidia GeForce GTX-1080 Pascal w/8gb vram, 32gb (2x16) Crucial 2400mhz RAM, 3840 x 2160 17.3" IPS w/G-SYNC, Samsung 950 EVO 256GB PCIe m.2 SSD (Primary), Samsung 850 EVO 500gb M.2 (Sim Drive), MS Windows 10 Professional 64-Bit

Share this post


Link to post

No, The 4790 has 4 cores and 8 threads, that's the same as mine (although mine is weaker). If you have HT off, most would agree you should not use any AM with a 4 core processor. This is what I use at present.

 

If you have HT on (check in the BIOS, or the Task Manager/Resouce Monitor should show you the # of threads) things get more complicated, but usually it's suggested to use an AM in this case. I expect Steve Waite will jump in soon and tell you what to do in this case  :smile: Until then, you can read his page http://www.codelegend.com/forums/viewtopic.php?f=2&t=532

 

 

Kind regards, Michael

  • Upvote 1

MSFS, Beta tester of Simdocks, SPAD.neXt, and FS-FlightControl

Intel i7-13700K / AsRock Z790 / Crucial 32 GB DDR 5 / ASUS RTX 4080OC 16GB / BeQuiet ATX 1000W / WD m.2 NVMe 2TB (System) / WD m.2 NVMe 4 TB (MSFS) / WD HDD 10 TB / XTOP+Saitek hardware panel /  LG 34UM95 3440 x 1440  / HP Reverb 1 (2160x2160 per eye) / Win 11

Share this post


Link to post

No, The 4790 has 4 cores and 8 threads, that's the same as mine (although mine is weaker). If you have HT off, most would agree you should not use any AM with a 4 core processor. This is what I use at present.

 

If you have HT on (check in the BIOS, or the Task Manager/Resouce Monitor should show you the # of threads) things get more complicated, but usually it's suggested to use an AM in this case. I expect Steve Waite will jump in soon and tell you what to do in this case  :smile: Until then, you can read his page http://www.codelegend.com/forums/viewtopic.php?f=2&t=532

 

 

Kind regards, Michael

Well then this begs the question as to why I would need it if everything is running fine?

 

-Jim


Engage, research, inform and make your posts count! -Jim Morvay

Origin EON-17SLX - Under the hood: Intel Core i7 7700K at 4.2GHz (Base) 4.6GHz (overclock), nVidia GeForce GTX-1080 Pascal w/8gb vram, 32gb (2x16) Crucial 2400mhz RAM, 3840 x 2160 17.3" IPS w/G-SYNC, Samsung 950 EVO 256GB PCIe m.2 SSD (Primary), Samsung 850 EVO 500gb M.2 (Sim Drive), MS Windows 10 Professional 64-Bit

Share this post


Link to post

It's not just the number of cores... it's the processor architecture. The 4770K and above processors seem to function best without AM as they manage processing better.  I believe there are a few threads on this.

 

My very best to all.


Dave Hodges

 

System Specs:  I9-13900KF, NVIDIA 4070TI, Quest 3, Multiple Displays, Lots of TERRIFIC friends, 3 cats, and a wonderfully stubborn wife.

Share this post


Link to post

"About half way through my flight I noticed that the ground scenery over England suddenly started to look blurred.  Not just a slight blur, but as if I was going to be flying over desert."

 

Same here, with AF=14 (i5 3470)

 

In the middle of the flight, i changed the AF via task manager, and all the blurries gone.


Cheers :)

N.-

Share this post


Link to post

 

 


In the middle of the flight, i changed the AF via task manager, and all the blurries gone.

 

With blurries, we think in terms of ongoing maintainable processor throughput as it infills and backfills the terrain. With P3D, we no longer think in terms of frame rates, more about blurries which are the way of knowing that the system is overloaded. P3D has tried to make it so that we can complete a flight with less compromise on framerates and more compromise on terrain rendition (but not at the critical airport destination where the terrain needs to appear so that we can land). If there aren't enough processing resources, this is a better approach than compromising frames. It is all about throughput of processing. If you change the AF mid flight, I think you can temporary cause processing to complete throughput of rendition, but later it will fall behind again because the underlying cause is not addressed. Affinity mask is able to influence (but not control) the job-scheduling load outside of the simulator and that is why it is helpful when addons are running as well as the simulator.

Share this post


Link to post

It's not just the number of cores... it's the processor architecture. The 4770K and above processors seem to function best without AM as they manage processing better. I believe there are a few threads on this.

 

My very best to all.

This statement is totally incorrect.

 

There are enough threads with enough info on HT and AM that prove that using HT with a correct AM gives the best performance and with the smoothest experience...

 

( my cpu : 5820K@ 4.3 Ghz , HT on and AM=340 , addons outside P3D on cores 0,1,10 and 11 )

  • Upvote 1

13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post

Jim- I have the same exact processor but not overclocked above 4.0.    I've tried a number of AM settings as well as the FTFF tweak and both have provided no advantage.  And in fact when I have the AM tweak in the cfg it has produced blurred terrain.  FTFF produced slower loading textures when in the cfg. 

 

While I have read many of SteveW's posts and his fantastic work with this setting, I have yet to gain advantage from AM. 

 

But then again maybe I'm not adjusting it quite right. 

 

Pretty happy with the performance now.  Only have trouble in real heavy cloud coverage.  And that's cause my GPU is a tad on the old side.  GTX 760. 


Jason Weaver - WestWind Airlines; FlyUK Airlines; VirtualUnited.org

5.jpg

Banner_MJC12.png

Share this post


Link to post

Jim- I have the same exact processor but not overclocked above 4.0.    I've tried a number of AM settings as well as the FTFF tweak and both have provided no advantage.  And in fact when I have the AM tweak in the cfg it has produced blurred terrain.  FTFF produced slower loading textures when in the cfg. 

 

While I have read many of SteveW's posts and his fantastic work with this setting, I have yet to gain advantage from AM. 

 

But then again maybe I'm not adjusting it quite right. 

 

Pretty happy with the performance now.  Only have trouble in real heavy cloud coverage.  And that's cause my GPU is a tad on the old side.  GTX 760. 

Jason, thanks for your input.  I was beginning to think I was the only one who didn't benefit from using AM.  Since i started to use P3D v3.2, I recognized the huge improvement to fps and overall performance.  I only recently read some posts concerning AM and it's potential benefits, thinking perhaps I might gain some more performance, but like you, it got worse.  As you say, we may not be setting it correctly, but to be honest, if our sim works fine and to our liking, I guess we can do without.  Only one potential benefit I could glean from Michael's link above was heat.  Spanning the cores properly, there may be a benefit of reduced heat, but again, I run my sim on a laptop and it seems to expel the heat as efficiently as it can.   Since my typical length of flights span a little over 2 hours at a time (which is about the norm for what i have time for), I cannot complain one bit about how everything comes together.  I got my cloud issue straight with REX and ASN and my settings in P3D are just right.  I only run FTX Global nowadays, since I fly tubeliners and I don't receive any added benefit of having ORBX regions (or even Vector for that matter) installed.  As long as my sim doesn't look like a blurry mess, I'm happy.

 

-Jim


Engage, research, inform and make your posts count! -Jim Morvay

Origin EON-17SLX - Under the hood: Intel Core i7 7700K at 4.2GHz (Base) 4.6GHz (overclock), nVidia GeForce GTX-1080 Pascal w/8gb vram, 32gb (2x16) Crucial 2400mhz RAM, 3840 x 2160 17.3" IPS w/G-SYNC, Samsung 950 EVO 256GB PCIe m.2 SSD (Primary), Samsung 850 EVO 500gb M.2 (Sim Drive), MS Windows 10 Professional 64-Bit

Share this post


Link to post

I think that true benefit of using AM becomes distinctive when you're utilizing the external applications such as ASN, FSC, RC4, PATC...too many to mention. "Naked" P3D does not need AM. 

Share this post


Link to post

I think the whole AM thing needs to be revisited but only about version 3.2

 

In earlier versions of P3D I always had an AM setting in my CFG per the suggestions made on this forum, and it did help, but somehow with V3.2 it doesn't help anymore. Something has changed. I removed the AM settings and the sim works much better for me. Doesn't no entry in the CFG still default to AM=14? I only use one tweak FFTF 0.10. My rig is basically an i7 4770 oc 4.3 with a 980ti. I have not touched HT. It runs very smoothly with very few blurries. I still use NVI at 4xSSGA to help the visuals. Again, it is fine, no slow down. That being said, I don't run my sliders all the way to the right. I have found decent balances between visuals and performance.


Lee H

i9 13900KF 32GB Ram 24GB RTX 4090

 

Share this post


Link to post

There are enough threads with enough info on HT and AM that prove that using HT with a correct AM gives the best performance and with the smoothest experience...

 

Well ... I guess the prize question then is: What is the correct AM?

 

Tweaking FSX and P3D seems to require really specialist knowledge these days. I'll jump in when I have a really high-end new system.

Share this post


Link to post

This statement is totally incorrect.

 

There are enough threads with enough info on HT and AM that prove that using HT with a correct AM gives the best performance and with the smoothest experience...

 

( my cpu : 5820K@ 4.3 Ghz , HT on and AM=340 , addons outside P3D on cores 0,1,10 and 11 )

 

Correct I'm here with Gerard ;-)


 

André
 

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...