Jump to content
Sign in to follow this  
mikeymike

ADDONS ON WHICH CORES?

Recommended Posts

Hey guys I have an i9 9900k turbo enabled ht off not overclocked yet.

32 ram 3600mhz 

1080ti msi lightning z 

gigabyte aorus master

running all cores for everything  asp4  Asca P3d etc etc 

60hz 4k 55 inch

30.5 FPS locked in Nvidia inspector 

and prefer max performance in ncp

which seems to run quite smooth except from slight stutter here and there.

any benefits from going into affinity mask and moving addons off a particular core?

 

which ones would that be?

0, 1 ??? being the first Core

and have them run only 2 to 8? 
 

I get lost with this algorithm in other topics.

its got to be in simplistic form for a dummy like me lol

 

cheers

mike

Share this post


Link to post

It's usually not needed. Windows Kernel is very good at load balancing, so if a process and it's threads reside on a flooded pipeline, then job scheduler will move it to other one which can complete the task faster. You could try affinity mask where you have one thread per core, could improve, could do nothing. Only way to find out is to try.

For some reason, some people are in a position where they can't utilize more than few cores efficiently, but I can load 12 cores, all to even 80% workload. I guess that at first place you should find out how your processor is utilized by sim. Download and open HWInfo during your simming session and see what the core utilization looks like.

Share this post


Link to post
48 minutes ago, Evros said:

It's usually not needed. Windows Kernel is very good at load balancing, so if a process and it's threads reside on a flooded pipeline, then job scheduler will move it to other one which can complete the task faster. You could try affinity mask where you have one thread per core, could improve, could do nothing. Only way to find out is to try.

For some reason, some people are in a position where they can't utilize more than few cores efficiently, but I can load 12 cores, all to even 80% workload. I guess that at first place you should find out how your processor is utilized by sim. Download and open HWInfo during your simming session and see what the core utilization looks like.

Thank you for your response.

ill have to test

so if I were to just go into task manger if I were to get addons off core 0 and 1 ide just Untick 

 

Share this post


Link to post

The real-time P3D threads that might most benefit from unfettered use of a core generally run on core 0 (main thread), and core 1 (scheduling thread).  The rest of the CPU cores are tasked more intermittently when terrain and texture fusion and loading happens.  So restricting your other programs to cores 2-8 is reasonable, or perhaps even 7-8, leaving more headroom on cores 2-6 for P3D. 

For experimentation you can set the affinity in the task manager as you describe...if you see some improvement and want to make those changes persistent, you can use a utility that will watch for and modify the CPU affinity when it sees the process running (e.g. Process Lasso), or use a utility that writes a CPU affinity mask to the PE header of the program executable.  Or, if the program can be started using FSUIPC's "Runx=" command line, you can specify an affinity mask in the command line.

 

  • Like 1

Bob Scott | President and CEO, AVSIM Inc
ATP Gulfstream II-III-IV-V

System1 (P3Dv5/v4): i9-13900KS @ 6.0GHz, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@30Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU, 1.2Gbps internet
Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box

Sys2 (MSFS/XPlane): i9-10900K @ 5.1GHz, 32GB 3600/15, nVidia RTX4090FE, Alienware AW3821DW 38" 21:9 GSync, EVGA 1000P2
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, 2x TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Portable Sys3 (P3Dv4/FSX/DCS): i9-9900K @ 5.0 Ghz, Noctua NH-D15, 32GB 3200/16, EVGA RTX3090, Dell S2417DG 24" GSync
Corsair RM850x PSU, TM TCA Officer Pack, Saitek combat pedals, TM Warthog HOTAS, Coolermaster HAF XB case

Share this post


Link to post
3 hours ago, w6kd said:

The real-time P3D threads that might most benefit from unfettered use of a core generally run on core 0 (main thread), and core 1 (scheduling thread).  The rest of the CPU cores are tasked more intermittently when terrain and texture fusion and loading happens.  So restricting your other programs to cores 2-8 is reasonable, or perhaps even 7-8, leaving more headroom on cores 2-6 for P3D. 

For experimentation you can set the affinity in the task manager as you describe...if you see some improvement and want to make those changes persistent, you can use a utility that will watch for and modify the CPU affinity when it sees the process running (e.g. Process Lasso), or use a utility that writes a CPU affinity mask to the PE header of the program executable.  Or, if the program can be started using FSUIPC's "Runx=" command line, you can specify an affinity mask in the command line.

 

Thanks 

bit that’s where  I get lost, is with creating batch files.

unless someone posts a step by step video.

im clueless lol

Share this post


Link to post

I have had very good results using Process Lasso to assign cores on my previous i5-2500k and now even better on my i9-9900ks. It’s easy to use and experiment with and you can watch the core loading real time on its graphical display. Once you find something you like you just have the app auto launch and minimize and it works well in the background every time you turn your flight sim PC on. I’ll tried many methods to accomplish these results and tested countless combinations over the years and have settled on Process Lasso and personally believe it makes for a smoother sim with my setup. Currently I’m experimenting with only running P3D on 6 logical cores and no hyper threading based on conversations with “Steve” and believe it may even be better than running it across all 8. This leaves me with 2 other untouched  cores to run addons. One thing I have discovered is that since I use Chase Plane everything runs better if I enable Chase Plane to run on all the same cores I set P3D to run on, it has very little impact but seems to run much better on the same cores. This probably has to do with the primary rendering cores being matched or something related to that but I have definitely learned on my sim to keep them tied to the same cores.

Anyway my 2 cents and as we all know mileage will very sim to sim.

Joe

 

 

 

  • Like 1

Joe (Southern California)

SystemI9-9900KS @5.1Ghz/ Corsair H115i / Gigabyte A-390 Master / EVGA RTX 2080 Ti FTW3 Hybrid w 11Gb / Trident 32Gb DDR4-3200 C14 / Evo 970 2Tb M.2 / Samsung 40inch TV 40ku6300 4K w/ Native 30 hz capability  / Corsair AX850 PS / VKB Gunfighter Pro / Virpil MongoosT-50 Throttle / MFG Crosswind Pedals /   LINDA, VoiceAttack, ChasePlane, AIG AI, MCE, FFTF, Pilot2ATC, HP Reverb G2

Share this post


Link to post
36 minutes ago, joepoway said:

I have had very good results using Process Lasso to assign cores on my previous i5-2500k and now even better on my i9-9900ks. It’s easy to use and experiment with and you can watch the core loading real time on its graphical display. Once you find something you like you just have the app auto launch and minimize and it works well in the background every time you turn your flight sim PC on. I’ll tried many methods to accomplish these results and tested countless combinations over the years and have settled on Process Lasso and personally believe it makes for a smoother sim with my setup. Currently I’m experimenting with only running P3D on 6 logical cores and no hyper threading based on conversations with “Steve” and believe it may even be better than running it across all 8. This leaves me with 2 other untouched  cores to run addons. One thing I have discovered is that since I use Chase Plane everything runs better if I enable Chase Plane to run on all the same cores I set P3D to run on, it has very little impact but seems to run much better on the same cores. This probably has to do with the primary rendering cores being matched or something related to that but I have definitely learned on my sim to keep them tied to the same cores.

Anyway my 2 cents and as we all know mileage will very sim to sim.

Joe

 

 

 

Wlll try lasso 

can you please share your settings 

eg which addons for which cores??

Would asp4  be on 7 and 8 etc etc 

thanks 

mike

Share this post


Link to post

The best is where at execution of an addon already has been determined which cores it is allowed to use.Not after execution as with PL.

In my case I use batchfiles.


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

Have a look at this

 


i7-7700K @ 4.9 GHz, 32GB DDR4, GTX1080, 2 x Samsung 1TB NVMe, 1 x 3TB HDD, Windows 10 Prof

Share this post


Link to post
8 hours ago, GSalden said:

The best is where at execution of an addon already has been determined which cores it is allowed to use.Not after execution as with PL.

In my case I use batchfiles.


Gerard,

I understand this may be a cleaner approach because you aren’t running a separate app to accomplish a core pinning task but I haven’t found anything in my research that says it is best to do it before launch in terms of the desired outcome of performance we are all seeking. Could you please explain why having the app change after execution is not as good or different I’m very interested? I will take a look at the batch file method but for experimenting with the many addons and programs I use, Process Lasso has proved very useful and until now, potentially, I was unaware of any difference in the desired outcome of changing affinities before or after app launching.

Thanks in advance

Joe

Edited by joepoway

Joe (Southern California)

SystemI9-9900KS @5.1Ghz/ Corsair H115i / Gigabyte A-390 Master / EVGA RTX 2080 Ti FTW3 Hybrid w 11Gb / Trident 32Gb DDR4-3200 C14 / Evo 970 2Tb M.2 / Samsung 40inch TV 40ku6300 4K w/ Native 30 hz capability  / Corsair AX850 PS / VKB Gunfighter Pro / Virpil MongoosT-50 Throttle / MFG Crosswind Pedals /   LINDA, VoiceAttack, ChasePlane, AIG AI, MCE, FFTF, Pilot2ATC, HP Reverb G2

Share this post


Link to post

Hi Joe-

What Gerard is trying to say is that it's not necessary to use (add) a system to manage a system.

I use FSUIPC to start and assign AM's on my system as P3D starts. No PL (overhead) or anything else required.

Cheers,

Mark

Share this post


Link to post
25 minutes ago, joepoway said:


Gerard,

I understand this may be a cleaner approach because you aren’t running a separate app to accomplish a core pinning task but I haven’t found anything in my research that says it is best to do it before launch in terms of the desired outcome of performance we are all seeking. Could you please explain why having the app change after execution is not as good or different I’m very interested? I will take a look at the batch file method but for experimenting with the many addons and programs I use, Process Lasso has proved very useful and until now, potentially, I was unaware of any difference in the desired outcome of changing affinities before or after app launching.

Thanks in advance

Joe

Hi Joe,

At startup they use the predefined cores which makes it more stable.

In the past I used PL and I have also tried using the task manager.

Then I tried Steve’s way as he explained why assigning apps at startup was a better approach. Now I am using batchfiles only for addons.

Later I will post an example of one of my batchfiles.

The correct AM icw using batchfiles has made system ( realsize cockpit with 3 pc’s ) rock solid. I never had to reinstall Windows or P3Dv4 till today..

regards,

Gerard

  • Like 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
13 hours ago, joepoway said:

 One thing I have discovered is that since I use Chase Plane everything runs better if I enable Chase Plane to run on all the same cores I set P3D to run on, it has very little impact but seems to run much better on the same cores. This probably has to do with the primary rendering cores being matched or something related to that but I have definitely learned on my sim to keep them tied to the same cores

That is very interesting and I may have to try that.   Not that I need to, my sim is running great, but I am greedy.  If I can get a little more out of it, I'll take that route.


Rhett

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

Share this post


Link to post

Here one of my batchfiles :

Echo off
net sess>NUL 2>&1||(powershell try{saps '%0'-Verb RunAs}catch{}&exit)
pushd "C:\PILOTS_FSGRWP3Dv4_NETWORKBRIDGE"
start /affinity 2080 C:\PILOTS_FSGRWP3Dv4_NETWORKBRIDGE\"FS Global Real Weather Network Bridge.exe"
timeout /T 5 /nobreak
pushd "C:\Prosim\Prosim737"
start /affinity 2080 Prosim737.exe
timeout /T 10 /nobreak
pushd "C:\Prosim\ProsimMCP"
start /affinity 1800 ProsimMCP.exe
timeout /T 5 /nobreak
pushd "C:\Prosim\ProsimPanel"
start /affinity 48 ProsimPanel.exe
timeout /T 5 /nobreak
pushd "C\OpusFSI"
start /affinity 48 C:\OpusFSI\FSISERVER.EXE
timeout /T 10 /nobreak
pushd "C:\IOcards\SIOC"
start /affinity 1800 C:\IOcards\SIOC\sioc.exe
timeout /T 5 /nobreak
pushd "C:\FSPS\"Dolby Cockpit Sounds FSX"
start /affinity 2080 C:\FSPS\"Dolby Cockpit Sounds FSX"\"Dolby Cockpit Sounds FSX.exe"
timeout /T 5 /nobreak 
pushd "C:\FSGRW_P3Dv4"
start /affinity 2080 C:\FSGRW_P3Dv4\"Fs Global Real Weather.exe" 
 

 


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