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.


Shanan

ASUS Z170 PRO, I7 6700K @ 4.85ghz (HT ON), ZOTAC AMP EXTREME 1080TI GTX (OC), 16 GB DDR4 G.SKILL TRIDENTZ RGB @ 3230MHZ CL 16-17-17-33 (OC)

4X SSDS : WIN 10 (NVME 960 EVO) + P3D + OTHER GAMES, 2X WD BLACKS RAID 0 + 1 SEAGATE BARRACUDA, CORSAIR AX860i PSU, CORSAIR 760T CASE (BLACK),

27 INCH IPS PREDATOR GSYNC 165HZ 1440p + 24 INCH IPS DELL 1080p, THRUSTMASTER HOTAS FCS THROTTLE + FCS16000M

CORSAIR K95 RGB + CORSAIR M65 RGB + CORSAIR MM800 POLARIS RGB, CORSAIR H115i v2, CREATIVE GIGAWORKS 7.1 + ASUS D2X XONAR

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

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 Holdridge

i7 8700K 4.8 OC 32GB Ram 11GB GTX 1080ti

 

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.


Shanan

ASUS Z170 PRO, I7 6700K @ 4.85ghz (HT ON), ZOTAC AMP EXTREME 1080TI GTX (OC), 16 GB DDR4 G.SKILL TRIDENTZ RGB @ 3230MHZ CL 16-17-17-33 (OC)

4X SSDS : WIN 10 (NVME 960 EVO) + P3D + OTHER GAMES, 2X WD BLACKS RAID 0 + 1 SEAGATE BARRACUDA, CORSAIR AX860i PSU, CORSAIR 760T CASE (BLACK),

27 INCH IPS PREDATOR GSYNC 165HZ 1440p + 24 INCH IPS DELL 1080p, THRUSTMASTER HOTAS FCS THROTTLE + FCS16000M

CORSAIR K95 RGB + CORSAIR M65 RGB + CORSAIR MM800 POLARIS RGB, CORSAIR H115i v2, CREATIVE GIGAWORKS 7.1 + ASUS D2X XONAR

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: P3D V4 - 80386 DX2 - 4MB RAM - 3dfx Voodoo5 - Windows 3.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 1080/i7-6700K CPU OCd,16 GB RAM,3x1920 x 1080, 60Hz , 27" Dell TouchScreen,TM HOTAS Warthog,TrackIR5,Saitek Combat Rudder Pedals.

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


Gerard

7940x ( 14 cores ) : 8 cores @ 4.8 - 6 cores @ 4.0 Ghz - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Gigabyte GTX 2080 TI Windforce OC @1920 Mhz - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Gigabyte GTX 2080 Windforce OC @ 1900 Mhz - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

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: P3D V4 - 80386 DX2 - 4MB RAM - 3dfx Voodoo5 - Windows 3.11

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  
×
×
  • Create New...