Jump to content
Sign in to follow this  
Cruachan

8 Core CPU Performance Data (FPS Delta) - Prepar3D v3.1

Recommended Posts

Mike,

 

Another thing I noticed is you mention the weather, but not how it's generated. I think you should use the IF10 weather engine because it introduces no randoms, and utilises the full gamut of P3D weather, more than other weather engines. Weather in P3D uses a lot of resources, unless the weather is taken properly into consideration the sim has not been tested correctly.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

HT On, AM=340 or AM=1360. 340 lends a little more bandwidth to other tasks like networking, so try 1360 first.

 

If you are keeping HT Off, AM=30, or AM=60 respectively for the above reasons. HT On does more work so whatever you do you will see more heat. But with the appropriate AMs shown, that heat is minimalized.

 

 

 

 

Ok done that.Task manager still shows all cores being used tho ?  (task manager->processes->fsx.exe  -> set affinity ? 

 

thanks 

Share this post


Link to post

not responding to the AM?

 

You have in the .cfg:

[JOBSCHEDULER]

AffinityMask=1360

 

only other thing I can think

Did you say FSX-SE? They had a beta version out that took over the AM a way back, then dropped it. They may have reintroduced something like it I've not tested se for a few weeks recently.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Sorry mis-read you. It will show all cores active in the task manager Set Affinity menu item, whatever the AM setting. But that's OK. So you set AM=60, why not have HT enabled and set 1360?

 

And don't go into the task manager Set Affinity menu item and press OK as it can reorganise the layout.

 

Once it started you should be able to see your AM core activity with the core graphs.

 

FSX and FSX-SE show all LPs set (AM=0) when you view with the Task Manger Set Affinity menu item. P3D shows the current active LPs and is different to FSX.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Sorry mis-read you. It will show all cores active in the task manager Set Affinity menu item, whatever the AM setting. But that's OK. So you set AM=60, why not have HT enabled and set 1360?

 

 

 

 

am 60 did the trick just fine. i used to get stutters,not anymore.I actually i do get some but only during replay.Thanks so much.I will give ht and am=1360 a go

Share this post


Link to post

Depends how it's used. When the sim starts with no AM setting, it makes one job per Logical Processor. On Mikes 8 core that's 16 jobs. Next lasso that onto 4 LPs, and those 16 jobs get crammed onto those four LPs

 

Hi Steve,

 

Thanks for your encouragement. However, I feel I should clarify part of the procedure I followed prior to each test before acting on your further helpful suggestions.

 

Prepar3D is run first before setting each Affinity Mask. Once the .exe appears in Process Lasso, CPU core selection changes can then be made and these changes are remembered. No need to allow P3D to load beyond the Scenario Startup screen. P3D is then closed down and restarted from within IF10 Pro, with the modified AM, back to the Scenario Startup screen where the test flight can be loaded.

 

Also, my understanding is that Process Lasso, is loaded at boot as a background process and continues to run and work its magic without any further user intervention. It is capable of many things but, for most, a policy of user non-interference is likely to be preferred.

 

So, each time the sim is loaded to run the test flight it can be started with an Affinity Mask setting just as it would, presumably, by having an AM value added/changed pre-test in Prepar3D.cfg.

 

'Clear Skies' (effectively no weather with moving clouds) was forced by disabling any weather injection in IF10 Pro. This was done deliberately in order to prevent what might prove to be a significant variable from affecting the results making valid comparisons more difficult. The saved Test Flight included the 'Clear Skies' setting.

 

Is it possible that these points might affect your assessment of my results and their significance?

 

Regards,

Mike

Share this post


Link to post

Prepar3D is run first before setting each Affinity Mask. Once the .exe appears in Process Lasso, CPU core selection changes can then be made

No, Mike. Unfortunately changes cannot be made to P3D affinity after it has started, for the reasons I stated earlier. I'm certain you will get the same answer from the LM team.

 

I suggest you cut to the chase and get your setup in order. In your graphs, your best graph is far worse than my worst results. You have clearly demonstrated that a drastically poor setup can be beat with a less than drastically poor setup. But you cannot beat a good setup with those.

 

 

'Clear Skies' (effectively no weather with moving clouds) was forced by disabling any weather injection in IF10 Pro. This was done deliberately in order to prevent what might prove to be a significant variable from affecting the results making valid comparisons more difficult. The saved Test Flight included the 'Clear Skies' setting.

IF10 weather is random free. It's specifically designed to avoid that. Testing with a weather theme is a waste of time.

 

...And don't change any views or touch any controls when you test, just un-pause and let it fly.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Hi Steve,

 

Sorry to labour the point, but you may not have noted I have made a few edits which seems to have coincided with your last posting. Could I ask you to read para 2 again as I think we are speaking at cross purposes. The point I am trying to make is that for testing and data creation, each time P3D is started from within IF10 Pro it does so with a modified AM. This user-modified AM was recorded previously by Process Lasso and is applied subsequently to P3D each time the sim is run - just as if P3D was being started using a modified AM entry in Prepar3D.cfg.

 

Regards,

Mike

Share this post


Link to post

No Mike. Don't lasso it, at all.

 

Set an AM in P3D cfg and don't lasso it - at all. Lasso anything else, that's fine. Run the tests as described, obviously include full fat weather, but not from a randomiser Wx. Use IF10 Weather as it has no randoms, it's procedurally generated, will repeat the same cloud or ripple of thermal, same place same time. Collect the csv and show me a better result than I posted with my 6 core.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

P3D is speed dependent.  The thread manager is the bottleneck.   The only thing that will improve things now is moar hurtz.  No pain no gain.  IMHO.  I am really happy with P3D3.  I only wish C3P0 didn't live with us.

Share this post


Link to post

That's right the fps is GHz dependent, but also screen size dependent, sliders right dependent, and so on. But fps is detached from the background threads because the background threads can take seconds to complete, but the foreground thread has to maintain a consistent flow. The thread manager (not the jobscheduler) is not a bottleneck, not sure if we are talking of the same thing there. The thread manager disconnects the foreground thread from the background threads, and most of the time it just sits and waits, no way it's a bottleneck. This waiting cannot be done in the foreground thread or the background threads.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Maybe I also mean the job scheduler.   But really all that in the main thread.   It's phat, all that management.  Yes FPS and resolution are intimate.  I run at 5760 and it's buttery smooth, until I get to SFO, then all that loading and bandwidth, wait for this data, that data, figure out where it goes while it's in memory, send it to the screen, the way windoze does it isn't light.  They tried to ignore threading because they didn't invent it, and now it's caught up with them because they thought the hurtz would catch up.  I know I'm usually very positive, and this is my IMHO.   But as my linux friends constantly remind me, Windoze is a bottleneck.  But I thought Windows 10 was going to get in there and fix it.  They didn't do as much as they were chattering about on the inside.  Now it seems they hung it all on DX12, VR, and some point, some thing in the future   It's how they're going to make their money, with VR.  So Windows 10 what it promised is not really all free.  I have friends in very high places.  They're spoiled brats now and like to brag about things all the time.  But I use that to get information.  I hope I'm wrong.  Lot's of negativity has been festering around me the past year maybe too much longer than that.

 

I couldn't find a compilation of C3P0 on the tubez.  If you put one together, the mannerism, the anxiety, high opinion of self and self-importance, rudeness (then x3), most of the expressions.  That's my demented MIL who has moved in with us.  fyi.  P3D3 is sometimes my only hope.  I think of this often :).  

But be careful of labels and handles, they'll blind you.  Think outside those boxes.

Share this post


Link to post

Hello:

 

Some links & references which might prove pertinent to a (friendly) discussion of this topic: :Cuppa:

 

http://blogs.msdn.com/b/santhoshonline/archive/2011/11/24/how-to-launch-a-process-with-cpu-affinity-set.aspx

 

http://www.prepar3d.com/SDKv2/LearningCenter/getting_started/performance/tuning_guide.html

 

"[JOBSCHEDULER]

AffinityMask=14

Non-Default entry. This entry will not exist in your Prepar3D.cfg file by default and must be added to the file.

 

Performance Tuning Tip:

 

By default, Prepar3D will use all available processor cores. On machines with four or more cores, it will dedicate a core to rendering tasks. The easiest method for modifying the affinity mask is to open the windows calculator in programmer view, select the binary display mode, and flip the bits in the binary number displayed to select which cores the application should run on. Note that the cores are represented right to left."

 

 

https://www.google.com/#q=site:http:%2F%2Fwww.prepar3d.com+Affinity+Mask

 

 

http://www.robainscough.com/Prepar3D_Settings_2.html

 

 

http://www.avsim.com/topic/477057-a-frame-time-analysis-of-p3d-v3-effects-of-cpu-affinity-frame-lock-and-ht/page-23

 

http://bitsum.com/pl_when_cpu_affinity_matters.php

 

https://bitsum.com/processlasso/

 

http://www.codelegend.com/forums/viewtopic.php?f=2&t=532

 

http://www.avsim.com/topic/472718-p3d-affinity-mask/page-3

 

https://msdn.microsoft.com/en-us/library/ms686247%28VS.85%29.aspx

 

https://github.com/camerb/AHKs/blob/master/thirdParty/Affinity.ahk

 

 

Hope this helps with better understanding this sometimes challenging-to-comprehend subject. :smile:

 

GaryGB

  • Upvote 1

Share this post


Link to post

 

 


Some links & references which might prove pertinent to a (friendly) discussion of this topic

Awesome.  Added to nerdy reading list.

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