Jump to content
Sign in to follow this  
Sesquashtoo

NOTAM...any Affinity Mask setting in your .cfg could be actually counter-productive!

Recommended Posts

I wish there was a way to edit thread titles when you typed a typo!  There should be....jeez...lol.

------------------------------------------------------------------------------

 

I have been running with an AM mask of either 233 or as SteveW suggested, a better setting for my H.T. mode of 116.

 

Well this morning I decided to remove the AM .cfg entry in its entirety.  I then set my self up at LatinVFR's  Key West v2.

 

What I saw in the FPS 'test' department, and operation smoothness, was nothing less than amazing.

 

Well...here are screen captures of my taxi, rotation, and fly around...with the displayed FPS readings, that can go no higher than 33 FPS locked within the sim.

 

I was getting higher FPS readings than with an AM entry in place.  

 

I then went to a very congested LatinVFR Miami v3...and the same deal...actually better FPS performance.  I only now talk FPS for the typing-point of being able to say, something is 'greater' than it was with this or that placed in the .cfg file.

 

Bottom line....try removing (if you have an AM entry in any of your MS. based flight sims...) the Affinity Mask entry, and then go fly at a familiar haunt.  See if you FPS and smoothness performance is equal, or in fact actually better with no AM entry at all.....

 

I was using an AM entry to support my 4 LP 'cores'...but apparently, one is not needed even if you run in Hyperthreading Mode.  Interesting....at least for use within P3D v3.2.3!

 

Ses

-----------------------------------------------------------------------------------------------------

 

2016_4_29_5_29_42_269.png
 
2016_4_29_5_30_56_29.png
 
2016_4_29_5_32_54_734.png
 
2016_4_29_11_0_12_999.png
 
2016_4_29_11_0_57_526.png
 
2016_4_29_11_1_51_989.png
 
2016_4_29_11_2_0_738.png
 
2016_4_29_11_2_7_590.png
 
2016_4_29_11_3_2_199.png
 
2016_4_29_11_3_44_879.png
 
2016_4_29_11_5_40_698.png
 
2016_4_29_11_6_51_587.png
 
2016_4_29_11_22_53_839.png
 
2016_4_29_11_25_22_548.png
 
2016_4_29_11_25_49_520.png
 
2016_4_29_11_26_11_201.png
 
2016_4_29_11_29_32_976.png
 
2016_4_29_11_30_21_787.png
 
Notice that reading of outside temp...82F!!!!!   Man, I wish today this was more than 'virtual'....drab around the Great Lakes today...cold and drab.... :sad:
 
2016_4_29_11_31_2_427.png
 
Here's two shots within ORBX Southern California, which is deadly to FPS, even if the sim is dumbed down...but it isn't here..and take a look at those FPS readings flying near Cold Water Canyon, on my way to the coast...no Affinity Mask in the .cfg file...and most impressive!
 
2016_4_29_12_9_20_469.png
 
2016_4_29_12_9_21_243.png
 
 
Non AM coastal shot near Point Magu:
 
2016_4_29_12_26_3_886.png
 
 
 
 
 

Share this post


Link to post

It could be that with GA the threads are better optimized with no AM. Try that with a tubeliner I'm pretty certain it will be the opposite. But either way, to each his own.

Share this post


Link to post

It could be that with GA the threads are better optimized with no AM. Try that with a tubeliner I'm pretty certain it will be the opposite. But either way, to each his own.

Boom, I don't believe it is dependent on what type of aircraft you have...it is sim-base dependent.

 

P3D v3.2.3 is most likely already optimized for what job, should be on what thread, right out of the box....

Adding a user-AM probably throws a wrench into the gears...lol.

  • Upvote 2

Share this post


Link to post

Interesting, but I don't buy it either. After my extensive testing on my system, using no AM with HT on results in a lower frame rate and greater VAS usage. Each to their own I guess! Your tests really don't seem to be that accurate. For a start your not using the exact same scenario for each trial. The change in weather/clouds alone can change your FPS.

  • Upvote 2

Share this post


Link to post

Surely it is dependent upon whether you run any other processes on the same PC. Obviously (?) it is not really a good idea to restrict P3D's use of processors when there's no need.

 

The use of AM settings really only comes into its own when there are other processes running which could conflict. You then need to split them onto different processors.

 

Pete


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

Share this post


Link to post

Agreed, Pete! My i7 4770 with HT on and a 980ti runs much better in V3.2 with no AM setting. The only tweak I use us FFTF at 0.10 I use tubeliners all the time and have all the usual addons and I even use NVI with 4Xssga for a great look. I keep my sliders in the half to 3/4 range. All good.


Lee H

i9 13900KF 32GB Ram 24GB RTX 4090

 

Share this post


Link to post

Interesting, but I don't buy it either. After my extensive testing on my system, using no AM with HT on results in a lower frame rate and greater VAS usage. Each to their own I guess! Your tests really don't seem to be that accurate. For a start your not using the exact same scenario for each trial. The change in weather/clouds alone can change your FPS.

I did two heavies...and both were consistent high FPS.  :)

Surely it is dependent upon whether you run any other processes on the same PC. Obviously (?) it is not really a good idea to restrict P3D's use of processors when there's no need.

 

The use of AM settings really only comes into its own when there are other processes running which could conflict. You then need to split them onto different processors.

 

Pete

Well..it sure seems so on my rig.  I had been using AM all along..thinking it better.   Well....it seems to be 'better' with a clean .cfg file...lol.   I'm getting great results with no AM setting in HT mode.

 

Mitch

Share this post


Link to post

Surely it is dependent upon whether you run any other processes on the same PC. Obviously (?) it is not really a good idea to restrict P3D's use of processors when there's no need.

 

The use of AM settings really only comes into its own when there are other processes running which could conflict. You then need to split them onto different processors.

 

Pete

 

Could not have said it better. AM is not needed without addons. It is needed when addons are using CPU, interfering with the main sim job which causes random stutters. The problem is that at the moment it appears that AM in P3D causes issues with blurries because the rendering threads seem to get stuck sometimes, unable to finish back-filling the textures.

Share this post


Link to post

Could not have said it better. AM is not needed without addons. It is needed when addons are using CPU, interfering with the main sim job which causes random stutters. The problem is that at the moment it appears that AM in P3D causes issues with blurries because the rendering threads seem to get stuck sometimes, unable to finish back-filling the textures.

So have you tested it wIth no AM? I thought that issue occurs regardless of whether you set an AM or not.

 

Edit: To answer my own question. Just tested it, no AM HT OFF, blurries still present.

Share this post


Link to post

Remember that if we run Prepar3D (P3D) on a Hyper Threading (HT) Central Processing Unit (CPU) with the default Affinity Mask (AM) of zero, and be that CPU a dual core, or a many core, or even a very many core, the first four P3D threads will occupy the first four Logical Processors (LP) and thus the entire simulation rendering system will be running on a dual core CPU. When the sim is loading scenery at the loading progress window, the third and fourth threads will be fully utilised. The other LPs of how ever many remaining cores are available on the CPU are utilised to improve that scenery loading time.

 

 

The good news is that P3D runs very well on a dual core CPU, the bad news is that four cores, HT or not, doesn't provide scope for many configurations. With four core CPU's HT On and no addons AM=85 or AM=170 provides the best performance. Going down to three cores, to give one up for addons, AM=116 works best because the second thread is idle while the third and fourth threads collect scenery. With six cores, the scenery loads faster, but the stability of the sim suffers as the main job and thread pool have more work to do with the extra threads.

 

 

But jolly good show! From reading the posts above it seems that what's finally sinking in is that Hyperthreading provides better performance unless we're running a very well prepped overclock.

 

 

Regarding changing priority; remember that if we give P3D a higher priority, the sub-processes it relies on have to wait. So elevated sim priority will be blocking the very stuff it's waiting for. Also not good, lower priority events get queued up and fire off all at once later on. There's no threading bug in P3D.

  • Upvote 1

Steve Waite: Engineer at codelegend.com

Share this post


Link to post

I'm still dazzled by the (correct) AM setting.
Have experimented briefly and some settings work OK, others do not (like 85)

Currently I'm running 238 on a 6700K with HT on. Why 238? I don't have a clue  :smile:

 

My confusion starts with the use of add-ons...
What defines an add-on? Is it an external application or also the ones that run internally in P3D, like FS2Crew, FSUIPC ?

I use 2 networked systems:

  • Main system running P3D (+ vPilot proxy and EFB dataprovider)
  • My 2nd system runs add-ons like WideFS, ASN, vPilot client etc.

 

So what would be the best AM for this specific system?
Are vPilot proxy + EFB DP considered as add-ons or doesn't is really matter?

 


Location: Vleuten, The Netherlands, 15.7dme EHAM
System: AMD 7800X3D - X670 Mobo - RTX 4090 - 32GB 6000MHz DDR5 - Corsair RM1000x PSU - 2 x 2TB SSD - 32" 1440p Display - Windows 11

Share this post


Link to post

What defines an add-on?

 

Hi Egbert

The definition of an addon means any executable file that is capable of running on separate cores (called LP with HT on) to the simulators own internal cores (LP). There are internal addons that cannot be forced off the simulators default cores and nothing can be done about them. These are the addons that launch from the dll.xml file. External addons are launched from the exe.xml file or from the operating system itself or run on the network. External addons can be isolated from the simulators own internal cores.

 

Are you having problems? If not, don't bother with an AM. It is used in attempts to reduce stuttering. Stuttering can be caused by a number of things. If you are sure that there is no other explanation for stuttering other than your external addons causing it, then start thinking about what AM to go with. There are plenty of threads on that.

 

EDIT: I should mention that other programs running in the background can also interfere with the simulator, which is another reason why AM is used.

Share this post


Link to post

Could not have said it better. AM is not needed without addons.

 

And how many of those of us, do you suppose, are flying without add-ons?

 

Cheers to an imaginary world,

 

Chas


My first sim flight simulator pD25zEJ.jpg

 

Take a ride to Stinking Creek! http://youtu.be/YP3fxFqkBXg Win10 Pro, GeForce GTX 1080TI/Rizen5 5600x  OCd,32 GB RAM,3x1920 x 1080, 60Hz , 27" Dell TouchScreen,TM HOTAS Warthog,TrackIR5,Saitek Combat Rudder Pedals HP reverbG2,Quest2

Share this post


Link to post

On my 5820K ( 6 cores ) I tried without AM and with AM.

With AM, with help from Steve, I tried 1360, 340 and 1396,because I am running several cockpit addons.

Sometimes 1396 seemed better in heavy scenery but then after a while the framerate started to drop below 10..

Finale AM 350 icw Proces Lasso for assigning the addons to remaining cores is the best combo for my system


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

Are you having problems? If not, don't bother with an AM. It is used in attempts to reduce stuttering.

 

Hi Glider,

 

Thanks for your explanation.

The reason why I started to experiment is that I have (at airports) tiny mini-stutters.

The stutters are not really a nuisance, but if possible I would like to get rid of them.

So far setting an AM didn't really solve the issue compared to no AM.

But what I understand from other replies, it that it is just a matter of trying which AM setting fits the best

 


Location: Vleuten, The Netherlands, 15.7dme EHAM
System: AMD 7800X3D - X670 Mobo - RTX 4090 - 32GB 6000MHz DDR5 - Corsair RM1000x PSU - 2 x 2TB SSD - 32" 1440p Display - Windows 11

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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...