Jump to content
Sign in to follow this  
Bobsk8

Hyperthreading

Recommended Posts

So... OC is very stable... unless you have HT on and run FSX (which isn't HT aware). Willing to bet if you removed your OC... FSX would be stable with HT on.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

Patient: "Doc, it hurts when I do this."

Doc: "Don't do that. That will be $100."

 

:smile:

 

Vic
 


 

RIG#1 - 7700K 5.0g ROG X270F 3600 15-15-15 - EVGA RTX 3090 1000W PSU 1- 850G EVO SSD, 2-256G OCZ SSD, 1TB,HAF942-H100 Water W1064Pro
40" 4K Monitor 3840x2160 - AS16, ASCA, GEP3D, UTX, Toposim, ORBX Regions, TrackIR
RIG#2 - 3770K 4.7g Asus Z77 1600 7-8-7 GTX1080ti DH14 850W 2-1TB WD HDD,1tb VRap, Armor+ W10 Pro 2 - HannsG 28" Monitors
 

Share this post


Link to post

So... OC is very stable... unless you have HT on and run FSX (which isn't HT aware). Willing to bet if you removed your OC... FSX would be stable with HT on.

Actually FSX will run with HT enable as long a set the AM to 8 cores, if I set to 16 will eventually freeze.  disabling OC on my system will defeat the purpose of having a system like mine, considering tha @ full load the temps never reaches beyond  50 c . Both of my PCs used to run FSX are OCed.

I also use my main PC for my work (AutoDesk Revit) and when is time to render the final I always enable HT as it takes several days to complete.


Asus Rampage VI Extreme Encore(water Cooled) EVGA RTX 3090 FTW3 Hybrid, 64 DD4 @ 2800 2 x 2x M.2 in raid 0.

 

Share this post


Link to post

Ah... yet another OC addict... it's so sad when we see them go before their time. :wink:


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

Here I show how P3D v2.5 loses 8% throughput with no AM specified on a 6 core HT enabled system. In the lower half no AM (signified with AM=0) and a maxed LP 0 sharing core 0 with another P3D main thread on LP 1. In the upper half, LP 6 is hosting the main P3D thread with no other activity on LP 7 which shares throughput of core 3 with LP 6. In fact another process starts around 2/3 into the trace, whereby the jobscheduler efficiently distributes the work away from core 3.

AM3392AM0.jpg


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Also notable in the top half of the image we have the CPU partitioned off to three cores for all the threads spawned by the P3D process, and performs a few more fps better than the no AM setup. The AM 3392 was used as an example for test purposes, and a point of demonstration. In both examples above the maxed main thread can't go faster anyway, so allowing more secondary threads to interrupt it decreases performance still further. Therefore we prevent the ganging up of main threads on the primary core by masking one LP on the first core to be used, and when we have many LPs, we partition the CPU to disallow too many secondary threads forming which would stop the main thread too often to sync information.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

Steve you have shown time and again that HT works with P3D if people want to quote a guy talking about old code in FSX then sadly we need to inform people so they to don't get misinformation drummed into them.


David Murden  MSFS   Fenix A320  PMDG 737 • MG Honda Jet • 414 / TDS 750Xi •  FS-ATC Chatter • FlyingIron Spitfire & ME109G • MG Honda Jet 

 Fenix A320 Walkthrough PDF   Flightsim.to •

DCS  A10c II  F-16c  F/A-18c • F-14 • (Others in hanger) • Supercarrier  Terrains = • Nevada NTTR  Persian Gulf  Syria • Marianas • 

• 10900K@4.9 All Cores HT ON   32GB DDR4  3200MHz RTX 3080  • TM Warthog HOTAS • TM TPR • Corsair Virtuoso XT with Dolby Atmos®  Samsung G7 32" 1440p 240Hz • TrackIR 5 & ProClip

Share this post


Link to post

Thanks David. We can always mould an app to a machine, that is to use that machine efficiently, to it's best advantage. In the case of FSX-SE, that can clearly be seen placing its primary threads carefully and always shows an AM=0. No matter what we put in the jobsheduler cfg, FSX-SE does things the way it wants. Even with this kind of app though, its core affinity can be controlled by a hosting app if need be.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

No matter what we put in the jobsheduler cfg, FSX-SE does things the way it wants.

 

I have a dual core with HT on.

Here's FSX:SE with no affinitymask added in fsx.cfg. You can see it's only using logical core 2:

 

vMCUzgu.jpg

 

Now using affinitymask=5 (0101). It's using logical cores 0 and 2:

 

THoETjK.jpg

 

Finally, using affinitymask=15 (1111). It's using all 4 logical cores. In this case FSX:SE becomes noticeably more stuttery:

 

pP5trpI.jpg


"The problem with quotes on the Internet is that it is hard to verify their authenticity." [Abraham Lincoln]

Share this post


Link to post

This is a discussion about Prepar3D, not FSX:SE.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

This is a discussion about Prepar3D, not FSX:SE.

 

But SteveW mentioned FSX:SE. You should have read it better:

 

In the case of FSX-SE, that can clearly be seen placing its primary threads carefully and always shows an AM=0. No matter what we put in the jobsheduler cfg, FSX-SE does things the way it wants. Even with this kind of app though, its core affinity can be controlled by a hosting app if need be.

 

Moreover, FSX has been mentioned multiple times in this thread, starting at reply #1. If someone gives technical informations about FSX:SE in a P3D forum, and I suspect those may be inaccurate informations, don't you think I'm entitled to reply to that?


"The problem with quotes on the Internet is that it is hard to verify their authenticity." [Abraham Lincoln]

Share this post


Link to post

This is a discussion about Prepar3D, not FSX:SE.

Actually, the discussion topic is Hyper-threading, not P3D or FSX per se.


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post

I think that bringing up FSX:SE which is not FSX but rather a modified version that Dovetail has done who knows what... as well as bringing up FSX itself as a comparison to current versions of Prepar3D has no legitimacy at all.

 

This thread is a discussion of hyperthreading for Prepar3D:

 

Does P3D use hyperthreading, in other words would an i7 run P3D better than an i% because of the hyperthreading capability?

I'm trying to get it back 'on track'.


Ed Wilson

Mindstar Aviation
My Playland - I69

Share this post


Link to post

I have a dual core with HT on...

I've not tried it with a dual core. Unfortunately I can't make a conclusion about FSX-SE on a dual core from your post.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post

...Checking the latest FSX-SE version on my 6 core Win10 system reveals it does indeed pay attention to the jobscheduler section, and appears to behave indistinguishably from FSX. Certainly working differently now since I tested that function. Maybe they had trouble with it somehow but it seemed to work OK.


Steve Waite: Engineer at codelegend.com

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