Jump to content
Sign in to follow this  
glider_uk

Are you getting even usage across all Cores?

Recommended Posts

Title asks the question as I am not.

X5960 OC'd to 4Ghz. HT on so 16 cores.
CPU 0 100% CPU 1 25% all the rest negligible usage.

Just curious what anybody else is getting?

Share this post


Link to post

My 5820k @4.5 has all cores nearly at 100% only core 1 is about 75 %

I need more cores ;-)


sfo_a320.png

 

C. W. ,Ryzen 9 5950X @H2O , 32 GB RAM DDR4 3600 Mhz CL15 , Corsair MP600 Pro Watercooled 2 TB for P3D, Samsung SSD980 1 TB for Addons and Crucial MMX500,  Red Devil Ultimate 6900 XT

Share this post


Link to post

Nope. There is some trick with task manager to uncheck the affinity for CPU 0, then re-enable it and it's supposedly evens the core usage. Whatever that means ultimately for the sim, I don't know.

  • Upvote 1

Share this post


Link to post

Also on a 5960x @ 4.375GHz. Seeing pretty heavy usage on 15 threads. Core 0 sees almost constant 95%+ usage due to it being the main thread for the sim. The rest of the cores work pretty heavily to render the terrain. Core 1 doesn't see much usage, as it's the logical of 0 and the main thread doesn't multi-thread. Also discovered my game becomes smoother when I remove Core 1 completely for the P3D.exe.


Asus TUF X670E-PLUS | 7800X3D | G.Skill 32GB DDR @ CL30 6000MHz | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 2TB + 4TB + 4TB

Share this post


Link to post

I loved to know how to clock that high, no good at that, My GPU is only running at Max 30%.
 

Share this post


Link to post
12 minutes ago, glider_uk said:

I loved to know how to clock that high, no good at that, My GPU is only running at Max 30%.
 

It's actually on the low side for the 5960x, as I'm staying around 1.3 volt. It's not recommended to go over 1.3 with these for daily usage.

But it takes a bit of messing around. Using my ram's 3000 Mhz XMP, which enables a BCLK of 125. Ratio at 35 and then play with offset voltage, as manual voltage kills power saving features and auto voltage just applies way too much. Run a few stress tests and you're golden. 

Yes, I know, easier said than done.

EDIT: Here's a quick snap of my CPU usage in the air

B4XvvHD.jpg


Asus TUF X670E-PLUS | 7800X3D | G.Skill 32GB DDR @ CL30 6000MHz | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 2TB + 4TB + 4TB

Share this post


Link to post

It's somewhat difficult for me to understand how to answer the question as phrased. First, I think to test CPU "evenness", one should put all the IQ settings to the max, such that both the CPU and GPU are stressed heavily. When I do so with my i7-6700 (OCed to 4.4)/GTX 1080 setup, I get :

1. HT on: CPU 0 95-100%, CPU 1 25-30% and the remaining 6 logical cores 80-100%. My GPU is generally at 90-100%.

2. HT off: all 4 physical cores 50-100% (which appears to be related to scenery loading as the aircraft moves across the landscape), GPU 90-100%.

This includes all presently available ORBX add-ons, ASP4/ASCA, My T 6 (40%/15%) and TrackIR.

Share this post


Link to post
27 minutes ago, AviatorMoser said:

Nope. There is some trick with task manager to uncheck the affinity for CPU 0, then re-enable it and it's supposedly evens the core usage. Whatever that means ultimately for the sim, I don't know.

That did the trick, it hasn't increased my FPS much but the load seems more spread

9 minutes ago, Sethos1988 said:

It's actually on the low side for the 5960x, as I'm staying around 1.3 volt. It's not recommended to go over 1.3 with these for daily usage.

But it takes a bit of messing around. Using my ram's 3000 Mhz XMP, which enables a BCLK of 125. Ratio at 35 and then play with offset voltage, as manual voltage kills power saving features and auto voltage just applies way too much. Run a few stress tests and you're golden. 

Yes, I know, easier said than done.

Erm Yeah ok. I should really look into this, I paid for a watercooled processor on a Asus Rampage extreme and never really took the time to investigate it.

Share this post


Link to post

We don't expect to see even use of all "cores" since that's not how it works. Also the nomenclature is confusing, when HT is enabled we should think in terms of logical processors (LPs). That's because each core has two LPs - with HT enabled they share throughput of that core. So for example when we see both HT LPs of the same core at 100% each, they are in fact only at 50% of core throughput.

But then with P3D we have one monolithic process for the UI and Scene rendering, and several others also monolithic, but these others don't max out unless scene loading, they may well only be at 30%.

It's best to give the main process a whole core by enabling only one LP of the first core we want to allocate with the Affinity Mask in the Prepar3D.cfg jobsheduler section.

We understand this first sim process requires maximum throughput, the same bandwidth can be given to the other processes of the sim by allocating one LP from each of the other cores. We would like to give the first two processes maximum throughput of our available cores, but we can allocate two LPs of each core after the second process which can optimise use of those cores and utilise the efficiency of HT at the same time. With eight cores we need not bother, worth testing though.

The sim processes split out over four LPs to produce the leanest first process. We can add LPs, when we do the sim splits out the scenery loading processes to improve the scenery loading speed (up to a point)

So with the eight core +HT CPU we can use an Affinity Mask (AM) = 00,00,01,01,01,01,00,00=1360 this allows the sim to slit over 4 processes one LP of each of four cores. We can add a couple of LPs to split the loading over 6 cores with 00,01,01,01,01,01,01,00=5460. Leaving cores free allows the jobscheduler to target those cores with new work rather than interrupt the flow of the sim cores. When no AM is used then inevitably, since each core has a process of the sim running, the sim will be interrupted by new work and does not leverage the fact we have many cores to split the work over more intelligently. Use a batch file to restrict affinity of exe apps to those cores unused by the sim.

  • Upvote 3

Steve Waite: Engineer at codelegend.com

Share this post


Link to post

...finally - even though we use an AM, this only controls the LPs used by the sim. Even so at some stage the jobsheduler may possibly target new work at the spare LPs of the cores used by the sim. This happens irrespective of HT enabled or not, but when HT is enabled, at least the time taken switching processes on those cores is considerably reduced. Apps that control their own affinity setting usually work in this monolithic way - FSX and P3D are very similar.

  • Upvote 3

Steve Waite: Engineer at codelegend.com

Share this post


Link to post
2 minutes ago, SteveW said:

...finally - even though we use an AM, this only controls the LPs used by the sim. Even so at some stage the jobsheduler may possibly target new work at the spare LPs of the cores used by the sim. This happens irrespective of HT enabled or not, but when HT is enabled, at least the time taken switching processes on those cores is considerably reduced. Apps that control their own affinity setting usually work in this monolithic way - FSX and P3D are very similar.

In fsx I could set affinity mask. In p3dv4 if I set affinity mask my scenery all around is very blurry. Am I doing something incorrect?

Share this post


Link to post
15 minutes ago, SteveW said:

So with the eight core +HT CPU we can use an Affinity Mask (AM) = 00,00,01,01,01,01,00,00=1360

Hi Steve,

I have an i7 4790K with HT (hyper threading) ENABLED. In order to give the main process a whole core by enabling only one LP of the first core, as you mention above, what do you recommend?


spacer.png

REX AccuSeason Developer

REX Simulations

Share this post


Link to post

WIth TEXTURE_SIZE_EXP = 10, with lower, it goes little bit down

 

p3dv4_usage.png

 

Share this post


Link to post
3 hours ago, MikeT707 said:

Hi Steve,

I have an i7 4790K with HT (hyper threading) ENABLED. In order to give the main process a whole core by enabling only one LP of the first core, as you mention above, what do you recommend?

I'm using 253, but, each system is different, so play with it little and will see what works for you.

Share this post


Link to post

No, v4 has still no multicore support, neither HT support. The load balance you see come from the OS itsself who handles the CPU load. v4 supports only single Core.

And dont use AffinityMask, it will blurr all textures as soon they needs reloaded and autogen gets not generated anymore.

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