Jump to content

Jetblue291

Suggested affinity mask

Recommended Posts

Hi guys, just curious if an affinity mask would be recommended for an 8700k with hyper threading on p3dv4.4, thanks!

Share this post


Link to post

Some people use it some not.

In my case, I had issues with P3Dv4.4 and no AM worked for me. It turned out that I had a bad overclock in my setting that will give me problems related to stutters.

After I did overclock at 5.0 correctly now is smooth, no issues and no AM. Very difficult to find the correct combination for each version they come up with.

I would start with a clean config file and no overclock to see if you have any issues first. No computer is the same so is very difficult to get it correct.

  • Like 1

Kind regards,

Alex Nic

Intel Core I9-9900K@5.0 GHz, Nvidia RTX 2080 Ti, Samsung 2 x  850 Evo 500GB, G.SKILL Trident Z DDR4 3200 64GB,WIN10 PRO 64

Share this post


Link to post

I think you'll find that AF will improve performance when hyperthreading is enabled on the 8700k. The 8700k is 6 physical + 6 logical cores when HT is enabled...cores 0-11. At minimum I would mask off core 1 and core 3 so physical cores 0 and 2 are not encumbered by anything running on their logical cores. AF for that config would be 4085 which would yield 11 11 11 11 01 01 (1st core is represented by the rightmost pair). If you're running other apps along with P3D on the sim computer, you might consider masking off the last core pair, and confine those apps to that last core pair. In that case, you would use 1013 which yields 00 11 11 11 01 01. It may be that you don't have to mask the last core pair even if you run other apps, but I would certainly not allow those apps to run on the first two core pairs.

Best way I've found to test which affinity mask works best is to run FRAPS to log frametimes. The best setting for your computer will result in consistent frametimes with very few long frames (stutters)

Kind Regards,

  • Upvote 1

Steven_Miller.png?dl=1

i7-6700k Gigabyte GA-Z170X-UD5 CORSAIR Dominator Platinum 16GB DDR4 2400 ASUS ROG-STRIX GTX1070

Share this post


Link to post

Thanks for the replies guys. My oc is stable at 5.0 with ht enabled, has been for quite some time now. I go back to the days of endless tweaks on FSX and I’m just getting back into flying with v4.4 with a 1080ti so I was curious if the (old) rules still applied.

Share this post


Link to post

Same CPU with 5.0GHz here and since early FSX days, I always got the best results with an AM that disables the hyper-threaded cores, basically mimicking a HT off situation. Means: 010101010101 and so on. For my 3770K it was AM=85, now for my 8700K it is AM=1365.

In addition, I now use bat files that move all addons (where this method works) off from core0 to the last two cores (core4 and core5). Means: ActiveSky, REX, ProATC/X all run on those two cores only, leaving core0 entirely to P3D (and UT2).


Greetings, Chris

Intel i7-8700K@5.0GHz, 2x16GB 3200MHz CL14 RAM, Gigabyte AORUS 1080Ti, Windows 10 Home 64bit, Prepar3D 4.5

Share this post


Link to post

Is there a tutorial to know how to put the add-on as active sky, REX etc with a BAT file?

I would like to try to see what it gives.

Share this post


Link to post

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
8 hours ago, killthespam said:

Some people use it some not.

In my case, I had issues with P3Dv4.4 and no AM worked for me. It turned out that I had a bad overclock in my setting that will give me problems related to stutters.

After I did overclock at 5.0 correctly now is smooth, no issues and no AM. Very difficult to find the correct combination for each version they come up with.

I would start with a clean config file and no overclock to see if you have any issues first. No computer is the same so is very difficult to get it correct.

The perfect sum up Alex.


David Murden.  P3D v4.5 

FSL A320 A319 : PMDG NG / 747-8F / 777 : QW 787 :  Maddog MD-80 :Q400 :

DCS: AV-8B Harrier: :  F-14B Tomcat  : F-16C Viper F/A-18C Hornet  : Now we're talking!

My FSL Walkthrough PDF From GPU to Parked.     My PMDG NG SpotLight Profile/Mod.

PC 4790k@4.6 : 1070 : 16GB DDR3 RAM : Thrustmaster Warthog HOTAS: Thrustmaster TPR.

Share this post


Link to post
Posted (edited)
8 hours ago, somiller said:

I think you'll find that AF will improve performance when hyperthreading is enabled on the 8700k. The 8700k is 6 physical + 6 logical cores when HT is enabled...cores 0-11. At minimum I would mask off core 1 and core 3 so physical cores 0 and 2 are not encumbered by anything running on their logical cores. AF for that config would be 4085 which would yield 11 11 11 11 01 01 (1st core is represented by the rightmost pair). If you're running other apps along with P3D on the sim computer, you might consider masking off the last core pair, and confine those apps to that last core pair. In that case, you would use 1013 which yields 00 11 11 11 01 01. It may be that you don't have to mask the last core pair even if you run other apps, but I would certainly not allow those apps to run on the first two core pairs.

Best way I've found to test which affinity mask works best is to run FRAPS to log frametimes. The best setting for your computer will result in consistent frametimes with very few long frames (stutters)

Kind Regards,

Nice.

I use AM and let all other apps run only on 1 core pair. But just to add it's not just about FPS look for texture loading. The problem is every PC is different. It's a mind field. I suggest you look at if you start using an AM, watch what core pair P3D are using the least there the ones I now have for all other apps running on.

Edited by Nyxx

David Murden.  P3D v4.5 

FSL A320 A319 : PMDG NG / 747-8F / 777 : QW 787 :  Maddog MD-80 :Q400 :

DCS: AV-8B Harrier: :  F-14B Tomcat  : F-16C Viper F/A-18C Hornet  : Now we're talking!

My FSL Walkthrough PDF From GPU to Parked.     My PMDG NG SpotLight Profile/Mod.

PC 4790k@4.6 : 1070 : 16GB DDR3 RAM : Thrustmaster Warthog HOTAS: Thrustmaster TPR.

Share this post


Link to post
Posted (edited)

AM and HT were mandatory with my old i7 3770K.

As my new i7 9700K has 8 physical cores, no need and performances are just insane 😊

Edited by ng0057a5

Share this post


Link to post

Not really surprising as the 9700K does not even offer HT... Without HT, no AM is needed, that is nothing really new...

  • Like 1

Greetings, Chris

Intel i7-8700K@5.0GHz, 2x16GB 3200MHz CL14 RAM, Gigabyte AORUS 1080Ti, Windows 10 Home 64bit, Prepar3D 4.5

Share this post


Link to post

Well just to report I’ve had a noticeable improvement with AM=1365, basically running on the physical cores, moving other apps to 9 and 11. I’m must admit I’m very surprised how good the result was considering my previous 4 core 8 thread systems never really seemed to benefit from an AM, so thanks for the tips I will continue to test to make sure it’s not my snake oiled mind playing tricks on me!!

Share this post


Link to post
3 hours ago, Jetblue291 said:

Well just to report I’ve had a noticeable improvement with AM=1365, basically running on the physical cores, moving other apps to 9 and 11. I’m must admit I’m very surprised how good the result was considering my previous 4 core 8 thread systems never really seemed to benefit from an AM, so thanks for the tips I will continue to test to make sure it’s not my snake oiled mind playing tricks on me!!

Good for you...again, if you're running additional apps on your sim computer and you move those off of physical cores 1 and 2 it will get even better.

Kind Regards,


Steven_Miller.png?dl=1

i7-6700k Gigabyte GA-Z170X-UD5 CORSAIR Dominator Platinum 16GB DDR4 2400 ASUS ROG-STRIX GTX1070

Share this post


Link to post

I've always had the best performance lately with just a stock p3d settings file (no AM).  I avg 20-22fps in high density areas like NYC, and 30+ everywhere else.  Most sliders to the right except special effects - found that one to be a big FPS killer so i dropped it.


Chris DeGroat   P3D v4.4 | 737NGX | FSL A320 |FS2Crew NGX Reboot | ProATCx | Pilot2ATC | AS16+ASCA | FlyInside

XP11 | JAR A320+BSS | XEnviro | FlyInside

i9 9900k OC'd 5.0Ghz All Cores | 64GB RAM | 2TB Samsung EVO SSD (1TB x 2 in RAID 0) | Asus ROG Strix RTX 2080Ti | Rift CV1 | Vive Pro

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.

×
×
  • Create New...