Jump to content
Sign in to follow this  
cleonpack93

CPU Affinity with P3D v4

Recommended Posts

6700k 4 core, AM=85. This puts P3DV4 on the 4 physical cores LP 0, 2, 4, 6. LP 5 and 7 get add-ons.


Eric 

 

 

Share this post


Link to post
On 11/20/2017 at 9:07 AM, swiesma said:

The only AF mask that works for me (6700K, HT on) is:

[JOBSCHEDULER]
AffinityMask=253

Recently installed P3D V4.1 and I had difficulties with very blurry ground textures.
Since we share the same processor, I thought why not try AF 253.

Result: Butter smooth framerates with no stutters at all and my blurries are gone.
I say: Thanks a lot for the hint!

  • Upvote 1

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
On 20/11/2017 at 4:56 PM, Bert Pieke said:

+1 

[JOBSCHEDULER]
AffinityMask=253

CPU: 4770K@4.1, HT on.

The only other tweak I use, and it actually makes a bigger difference, is:

[TERRAIN]
TEXTURE_SIZE_EXP=9

GPU: GTX1070

 

253 here as well, as normal Bert is right on the money.  Thanks for that I really appreciate it. 


 
 
 
 
14ppkc-6.png
  913456

Share this post


Link to post

So far -- I have not had any need to run Process Lasso, or any AM tweak, with P3Dv4  -- it's very smooth with my new rig (8700K).  After having barely run any FS since 2009, I'm amazed at how smooth the old ESP-based sim has become.  The old microstutters FSX had -- gone, seemingly.

I do run Process Lasso with FSX and it does seem to help it.


Rhett

7800X3D ♣ 32 GB G.Skill TridentZ  Gigabyte 4090  Crucial P5 Plus 2TB 

Share this post


Link to post

Since 2 weeks stopped using an AM for my 6 core 5820K and stopped using HT.

I now have my core 0 clocked at 100 MHz  higher than before and the terrain cores are now taxed almost equally. 

That resulted in eliminating all blurries and some higher settings.

I used Steve’s advice to startup all addons  with a batchfile that assigns cores to them. Each addon uses 2 cores and they have been devided over all terrain cores.


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
3 hours ago, GSalden said:

Since 2 weeks stopped using an AM for my 6 core 5820K and stopped using HT.

I now have my core 0 clocked at 100 MHz  higher than before and the terrain cores are now taxed almost equally. 

That resulted in eliminating all blurries and some higher settings.

I used Steve’s advice to startup all addons  with a batchfile that assigns cores to them. Each addon uses 2 cores and they have been devided over all terrain cores.

Could you elaborate on each core, what it carries from P3D and the addons, and post your batch file text here (or PM)? Also which cores do you consider 'all terrain cores'? That would be very helpful for my understanding.

Thanks!

Share this post


Link to post
4 hours ago, GSalden said:

Since 2 weeks stopped using an AM for my 6 core 5820K and stopped using HT.

I now have my core 0 clocked at 100 MHz  higher than before and the terrain cores are now taxed almost equally. 

That resulted in eliminating all blurries and some higher settings.

I used Steve’s advice to startup all addons  with a batchfile that assigns cores to them. Each addon uses 2 cores and they have been devided over all terrain cores.

This don't work well on a 4 core thus the reason I have HT on for my i7 6700k. OC at 4.3ghz and 1.25 volts fixed. 


Eric 

 

 

Share this post


Link to post
On 11/20/2017 at 11:56 AM, Bert Pieke said:

+1 

[JOBSCHEDULER]
AffinityMask=253

CPU: 4770K@4.1, HT on.

The only other tweak I use, and it actually makes a bigger difference, is:

[TERRAIN]
TEXTURE_SIZE_EXP=9

GPU: GTX1070

 

I have been using AM 245 on my 4 core 6700k, 245=11110101. Running other background programs like Activesky, vPilot, etc.. on LP5 and 7. With your AM, 253
// 253=11111101, what are you running yours on? And I presume having LP3 active makes the difference noticeable as that is the only change. 


Eric 

 

 

Share this post


Link to post
3 hours ago, Dirk98 said:

Could you elaborate on each core, what it carries from P3D and the addons, and post your batch file text here (or PM)? Also which cores do you consider 'all terrain cores'? That would be very helpful for my understanding.

Thanks!

No Am , no HT . Core ) is the mainj thread and the other 5 cores are for terrain loading.

Here one of my 2 batch files :

@Echo off
net sess>NUL 2>&1||(powershell try{saps '%0'-Verb RunAs}catch{}&exit)
pushd "C:\Prosim737"
start /affinity 10 Prosim737.exe
timeout /T 10 /nobreak
pushd "C:\ProsimMCP"
start /affinity 20 ProsimMCP.exe
timeout /T 5 /nobreak
pushd "C:\ProsimPanel"
start /affinity 34 ProsimPanel.exe
timeout /T 5 /nobreak
pushd "C\OpusFSI"
start /affinity 20 C:\OpusFSI\FSISERVER.EXE
timeout /T 10 /nobreak
pushd "C:\IOcards\SIOC"
start /affinity 10 C:\IOcards\SIOC\sioc.exe
timeout /T 5 /nobreak
pushd "C:\Program Files (x86)\FSPS\Dolby Cockpit Sounds FSX"
start /affinity 40 C:\"Program Files (x86)"\FSPS\"Dolby Cockpit Sounds FSX"\"Dolby Cockpit Sounds FSX.exe"

 

Affinity :

  • 10 = cores 1 + 3
  • 34 = cores 1 + 5
  • 20 = 2 + 4
  • 40 = 3 + 5

 

I also use P3Dv4 Booster Live 2018 from FSPS. With that I set the FTFF Live without re-loading.

P3Dv4 Booster Live settings

  • Fair weather 80%
  • Cloudy - OC 70%
  •  
  • Fair weather Frankfurt 50%
  • Cloudy - OC Frankfurt 50%
  •  
  • Fair weather Nice - Marseille - Barcelona - Milan 70%
  • Cloudy - OC Nice - Marseille - Barcelona - Milan 70%
  •  
  • Genova 70%
  • London 60%
  • Paris 60%

Framerate locked at 20 with Vsyc On + TB On and my 3 HD ( 40-32-32 ) tv's at 60 Hrtz. Very smooth Sim. I can land smoothly at AS Frankfurt + FTX Germany with an OC + multiple cloud layers , fog and rain ...

Before I always wanted to have at least 23-25 fps, but 20 locked is so smooth. Mike here at the forum has it locked at 20 too and he claimed that his sim was smooth. Now that I have tried it , he was right.       

 


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
2 hours ago, GSalden said:

No Am , no HT . Core ) is the mainj thread and the other 5 cores are for terrain loading.

Here one of my 2 batch files :

@Echo off
net sess>NUL 2>&1||(powershell try{saps '%0'-Verb RunAs}catch{}&exit)
pushd "C:\Prosim737"
start /affinity 10 Prosim737.exe
timeout /T 10 /nobreak
pushd "C:\ProsimMCP"
start /affinity 20 ProsimMCP.exe
timeout /T 5 /nobreak
pushd "C:\ProsimPanel"
start /affinity 34 ProsimPanel.exe
timeout /T 5 /nobreak
pushd "C\OpusFSI"
start /affinity 20 C:\OpusFSI\FSISERVER.EXE
timeout /T 10 /nobreak
pushd "C:\IOcards\SIOC"
start /affinity 10 C:\IOcards\SIOC\sioc.exe
timeout /T 5 /nobreak
pushd "C:\Program Files (x86)\FSPS\Dolby Cockpit Sounds FSX"
start /affinity 40 C:\"Program Files (x86)"\FSPS\"Dolby Cockpit Sounds FSX"\"Dolby Cockpit Sounds FSX.exe"

 

Affinity :

  • 10 = cores 1 + 3
  • 34 = cores 1 + 5
  • 20 = 2 + 4
  • 40 = 3 + 5

 

I also use P3Dv4 Booster Live 2018 from FSPS. With that I set the FTFF Live without re-loading.

P3Dv4 Booster Live settings

  • Fair weather 80%
  • Cloudy - OC 70%
  •  
  • Fair weather Frankfurt 50%
  • Cloudy - OC Frankfurt 50%
  •  
  • Fair weather Nice - Marseille - Barcelona - Milan 70%
  • Cloudy - OC Nice - Marseille - Barcelona - Milan 70%
  •  
  • Genova 70%
  • London 60%
  • Paris 60%

Framerate locked at 20 with Vsyc On + TB On and my 3 HD ( 40-32-32 ) tv's at 60 Hrtz. Very smooth Sim. I can land smoothly at AS Frankfurt + FTX Germany with an OC + multiple cloud layers , fog and rain ...

Before I always wanted to have at least 23-25 fps, but 20 locked is so smooth. Mike here at the forum has it locked at 20 too and he claimed that his sim was smooth. Now that I have tried it , he was right.       

 

Do you lock your frames in P3D or externally?


Alan

Share this post


Link to post
10 minutes ago, exeodus said:

Do you lock your frames in P3D or externally?

Internally.

 


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

I have a 6800K OC @4.3 with a 1080TI, running a 4K monitor.  The AM setting of 1365 and the TEXTURE_SIZE_EXP=9 addition seem to work well on my system, very smooth.  Its important that I run vsync on/ triple buffering with the target frame rate set at 30.

 

Running Prepar3d V4.1

Share this post


Link to post
4 hours ago, GSalden said:

No Am , no HT . Core ) is the mainj thread and the other 5 cores are for terrain loading.

Core ) is Core 0 I guess.

I can see you're telling Prepar3D.exe to use cores as it deems necessary. Does it really need to use Core 0 where main Windows tasks are running? I thought you had enough cores (6!) to run Prepar3D.exe on Core 1 to 5 not occupying Core 0. Sorry if I missed it in the discussions, does Prepar3D.exe need to run on Core 0?

Many thanks,

 

Share this post


Link to post
11 hours ago, GSalden said:

Each addon uses 2 cores and they have been devided over all terrain cores.

Is this a good practice to give addons 2 cores each? 

I'm preparing for my I9 7900X (10 cores) based system therefore I'm trying to learn and understand how to distribute the load efficiently. For sure I'll not use HT to obvious reasons, but I need to understand how to better place Prepar3D.exe and add-ons exe on these 10 cores.

Thanks,

Share this post


Link to post

Windows uses almost nothing on core 0 , therefore no problem running the main P3D thread on core 0 too.

I have used HT on + AM 840 and that worked well for V2 and V3.

With V4 HT off + AM 62 was slightly better. With V4.1 this results in 100% load on 2 terrain cores, which with very detailed scenery was leading to some blurries.

Regarding assigning 2 cores to each addon is something SteveW advised and that is working very well.

 

  • 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

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...