Jump to content
Sign in to follow this  
glider_uk

Are you getting even usage across all Cores?

Recommended Posts

10 minutes ago, Nytro said:

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.

That makes absolutely no sense and besides it's incorrect. Even in P3d V2 (and FSX for that matter), various threads were assigned by the app to specific cores. 

  • Upvote 4

Share this post


Link to post

As mentioned the trick to even core usage is in Task Manager/Details : Right click on P3D-->Set Affinity-->Check 4 cores are selected--> Click Ok. 

I always do it.


Simulators: Prepar3D v5 Academic | X-Plane 1111.50+ | DCS  World  Open Beta MSFS 2020 Premium Deluxe | 
PC Hardware: Dell U3417W Intel i9 10900K | msi RTX 2080 Ti  Gaming X Trio msi MPG Z490 Gaming Edge Wifi | G.Skill 32GB 3600Mhz CL16 | Samsung 970 EVO Plus+860 EVO+850 EVO x 1TB, Western Digital Black Caviar Black x 6 TB Corsair RM1000i Corsair H115i Platinum Fractal Design Define S2 Gunmetal |
Flight Controls: Fulcrum One Yoke Virpil VPC WarBRD Base Virpil VPC MongoosT-50CM Grip, Thrustmaster Warthog+F/A-18C Grip Thrustmaster TPR Rudder Pedals | Virtual Fly TQ6+Throttle Quadrant | Sismo B737 Max Gear Lever | TrackIR 5Monsterteck Desk Mounts |
My fleet catalog: Link                                                                                                                                                       

Share this post


Link to post
21 minutes ago, Nytro said:

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.

 

Of course it uses multi cores for threaded workers which load scenery. Thats reason why you see more blurries etc when use AM wrong way.

  • Upvote 1

Share this post


Link to post
26 minutes ago, Nytro said:

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.

Absolutely not true.


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
35 minutes ago, Jiri Kocman said:

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

 

p3dv4_usage.png

 

80° !?! :mo_tt_mulut:

Btw, and for the probably 186 time on this forum... :rolleyes: I can't find the damn thing "TEXTURE_SIZE_EXP = 10" in neither Prepar3D.cfg neither in Terrain.cfg. Where the hell is he ? Or he's not created in vanilla versions, but you can add it as new entrance ?

And how does it help me, exactly ? :senang:

Share this post


Link to post

I've been using Process Lasso to set all other programs that use higher CPU percentage to use all other cores, and run P3D4 on high priority, some mem tweaks in there too.

Share this post


Link to post
9 minutes ago, gamer19 said:

80° !?! :mo_tt_mulut:

Btw, and for the probably 186 time on this forum... :rolleyes: I can't find the damn thing "TEXTURE_SIZE_EXP = 10" in neither Prepar3D.cfg neither in Terrain.cfg. Where the hell is he ? Or he's not created in vanilla versions, but you can add it as new entrance ?

And how does it help me, exactly ? :senang:

TEXTURE_SIZE_EXP is not default in v4 you have to add it into prepar3d.cfg into [TERRAIN] section.

Default value is 8, that means that textures 256x256 will be read, with value of 9 textures of 512x512 will be read that, it increase your LOD effectively as better textures are used for distant scenery. Value of 10 uses 1024x1024 textures.

Effect in sim - longer loading time, can reduce performance, but no blurries on distant scenery.... better eye candy. 8GB video memory for value 8 is absolutely minimum, 11-12GB cards are mostly must. That is reason that you cant set it in GUI. Default + detailed textures checkbox do same as TSE=9 and it nedds about 4GB VRAM

 

80° sure even custom liquid cooling, it is OCed 4790k, that is nothing special for that CPU. limit is 99°C

  • Upvote 1

Share this post


Link to post
29 minutes ago, Daedalus said:

As mentioned the trick to even core usage is in Task Manager/Details : Right click on P3D-->Set Affinity-->Check 4 cores are selected--> Click Ok. 

I always do it.

I used to do that too for a long long time I was one of the early disciples of it. Since then, I redid tests and there is no performance gain from doing it my end. I also tested core temps since core 0 is working so hard but I saw no lowering of core 0 temps even after doing this. I think SteveW has said in the past, it is an illusion because the usage graph doesn't actually measure true core usage.

Here is my conclusion then:

The ultimate best way to gauge core usage is to monitor core temperatures. The usage graphs are misleading. That is my understanding.

Share this post


Link to post
4 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?

Hi Mike,

Same as with eight cores - four LPs one per core, this is the most efficient use of the current CPUs, which can be seen within the AMs I specified for the eight core above. With the eight core (and six core) there's spare cores for the jobscheduler to target with the processes of addon exe apps and other work arising. With only four cores and a sim that wants four cores, those exe apps and other work will have to be done on the cores of the sim. Use a bat file to start addon exe apps on 10,10,00,00 and use an AM=85=01,01,01,01. You can hand over more CPU throughput to addons with an AM=116=01,11,01,00 and putting addons on 00,00,00,11 for which the sim still performs well on only three cores.

Adding an AM is actually a necessity for affinity handling apps such as P3D especially when HT is enabled, and even more so as the core counts go up. However a poorly specified AM can reduce the number of LPs the sim starts processes on and so if used incorrectly can make a blurry mess.

With the eight core I showed we could use six cores of '01's, this increases scenario loading speed and so can reduce the chance of blurriness in the land textures. We can't do that with only four cores but we can bring the efficiency of HT to increase the loading speed with for example an AM=11,11,01,01=245 where we have enabled six LPs, the first two on the right have a core to themselves '01,01' since they can't split out over more LPs anyway. However the second pair of cores have two LPs enabled per core, this enables the scenery loading to split out and utilise two pairs of LPs loading data, but saturates the HT core during loading - this may not be so bad even if we have addon exe's restricted to those two last cores as with 10,10,00,00 mentioned. Anyway that's a problem for those with only four cores, with six or more, it's easier to keep addon exe interference at bay. Don't be fooled by a little tiny exe app using only 6% CPU time, it can stagger the sim just as any app can.

Since most exe addons are also SimConnect apps they create a SimConnect client process on the sim cores loading them up further and adding to networking overhead. These processes work best with two or more LPs as they can be forced to wait too often on a single LP, you can see I specified two LPs for addons, and we can put many addons on the same two LPs..

Remember that fps is generated within the first process from the selection of objects and the frequency of the core, this rate continues irrespective of background throughput. We can't see the difference with CPU setups when the GPU is flat-lined on too much Anti-Aliasing for example, VSync and eye candy should be turned off when comparing CPU setups and AMs.

 


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Oki thank you then Jiri. I got GTX 770 with tiny 2G I guess I better not touch anything. I got plenty of eye candy right now. I really don't want to ruin my frames, again. :biggrin: Since I've just manage to turn them back to 50+ on the ground, with quite high settings. Hope I won't jinx it again. :uwe_melk:

My i5-3570K CPU @ 3.40GHz is also overclocked (I believe it's on 4G now) but it goes little over 40°. Some Zalman regular fan.

Say, this must be some kind of typo right ?

Quote

8GB video memory for value 8 is absolutely minimum

?? Since you say:

Quote

Default + detailed textures checkbox do same as TSE=9 and it nedds about 4GB VRAM

It can't be that TSE=8 needs double more. And we all use those TSE=8 values, even guys with weaker cards than mine.

Share this post


Link to post
12 minutes ago, glider1 said:

I used to do that too for a long long time I was one of the early disciples of it. Since then, I redid tests and there is no performance gain from doing it my end. I also tested core temps since core 0 is working so hard but I saw no lowering of core 0 temps even after doing this. I think SteveW has said in the past, it is an illusion because the usage graph doesn't actually measure true core usage.

Here is my conclusion then:

The ultimate best way to gauge core usage is to monitor core temperatures. The usage graphs are misleading. That is my understanding.

That's correct, If we start P3D without an AM, and then in Task Manager uncheck the first CPU box, those threads of the main process, the UI and the scene rendering on that LP are moved off of it and spread across the remaining cores by the jobscheduler to other LPs, this does not produce a result we desire.

Heat = work done, can't say fairer than that.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post
37 minutes ago, denali said:

I've been using Process Lasso to set all other programs that use higher CPU percentage to use all other cores, and run P3D4 on high priority, some mem tweaks in there too.

Be careful when altering the priority of processes. generally the operating system get's things right as often many processes need to finish in the right order to be efficient. If we set P3D to an overly high priority other process that P3D relies on can be forced to wait unnecessarily, and P3D in turn.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post
3 minutes ago, gamer19 said:

Oki thank you then Jiri. I got GTX 770 with tiny 2G I guess I better not touch anything. I got plenty of eye candy right now. I really don't want to ruin my frames, again. :biggrin: Since I've just manage to turn them back to 50+ on the ground, with quite high settings. Hope I won't jinx it again. :uwe_melk:

My i5-3570K CPU @ 3.40GHz is also overclocked (I believe it's on 4G now) but it goes little over 40°. Some Zalman regular fan.

Say, this must be some kind of typo right ?

?? Since you say:

It can't be that TSE=8 needs double more. And we all use those TSE=8 values, even guys with weaker cards than mine.

When I keep my CPU on stock settings it does not go over 70°C at simulator load. But look at TDP it sits about 130W avg but CPU is rated as 88W TDP. If I set that limit, I can sit under 60° but at 4-4.1GHz. Just google for 4790k high tems and you find many who reporst temps close to 80 on default clocks.

 

TEXTURE_SIZE_EXP is set to 8 by default. And sim loads textures 256x256, for me it means that sime eats something between 2 and 3GB VRAM at 4k. With TSE=9 or default and checked checkbox in settings it goes to 8, with TSE=10 I go close to 8GB easily.

Share this post


Link to post
6 hours ago, 777200lrf said:

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?

FSX and P3D are similar in many respects but are quite different whereby P3D can have more intense scenes than FSX and so poor loading bandwidth can cause problems such as blurriness. An AM used with FSX may provide a good balance with background performance on FSX but the same setup might not be good enough for P3D scenes. P3D operates in a slightly different way to FSX with less impact on the main process when adding more than four LPs, more than four add to background performace.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Steve, I just spent about an hour testing out various solutions on my CPU, which is identical to OP's. I saw your AM 5460, which I believe renders the game on the 6 "middle" physical cores, leaving the first and last unused. On one hand, it actually provided an overall FPS boost or rather, an FPS stability. Flying over Copenhagen, alongside FlyTampa's EKCH, there's a lot to render and a lot going on. On the other hand, for the first time, v4 gave me the dreaded blurries. 

- Running completely default, 8 cores, 16 threads, FPS would be choppy in the 30-38 region in a jet around Copenhagen.

- Using Process Lasso to remove the first logical core, leaving the first physical core to deal with the game alone, was a boost in smoothness and around 34-39 around Copenhagen.

- AM 5460 would be very close to my constant locked 40 (with Rivatuner), I reckon an extra stutter when it loaded huge chunks of EKCH but I saw quite a lot of blurries. 

- I then suspected the age old problem of moving rendering off the first core and thread is the reason for the blurries. So I tried AM 65532, which leaves out Core 0 / 1. Again, I saw blurries but also lower FPS due to logical cores being used, again seeing down to 30. 

- I tried AM 21845, which is basically turning HT off via masks but that was neither smooth nor gave me high framerates. Bit choppy and FPS was sailing from 32 up to 38.

- Then I tried completely turning off HT and no AM, which surprisingly seems to be the best solution. No blurries and lowest FPS was 38, almost kept a constant 40. 

So I think I might run with HT off from here on out. 

 

 

 


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

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