Jump to content

mikeymike

I7 4790k All cores ????

Recommended Posts

Hey guys 

Sorry for bringing this up again,

but I I don’t get it lol 

I am running P3d v4.5 hf1

with an I7 4790k at 4.7ghz

now in process lasso I have 

cpu 0,1,2,3,4,5,6,7

i have unticked number 1 and been using that thus far.

 

Shall I switch it on for 4.5 to use all cores?

And where to put addons? 

I don’t use AM in cfg file.

regards

Michael

Share this post


Link to post
1 hour ago, mikeymike said:

Sorry for bringing this up again,

but I I don’t get it lol 

My opinion. Don't go looking for a problem to solve unless you actually have one ( a problem.) Forget about AM's and Process Lasso and let P3D handle the housekeeping.

  • Like 5
  • Upvote 2

Share this post


Link to post

No problem with ht off 

 

I’m just confused as to what addons to assign to which core ?

or just to run them all on all cores with P3d.?

p3d runs on 0 and 1 correct?

 

Share this post


Link to post
Posted (edited)
5 minutes ago, mikeymike said:

No problem with ht off 

 

I’m just confused as to what addons to assign to which core ?

or just to run them all on all cores with P3d.?

p3d runs on 0 and 1 correct?

 

P3D uses the first available Core  (Core0 if you have no AM set) and also the next Core (Core1) for rendering.  You can see this in Task Manager if you sit still at an airport.  When you are moving, the other cores get used for scenery loading.

I would definitely keep addons off the first P3D Core.

Edited by Bert Pieke
  • Like 1
  • Upvote 1

Share this post


Link to post
6 minutes ago, Bert Pieke said:

P3D uses the first available Core  (Core0 if you have no AM set) and also the next Core (Core1) for rendering.  You can see this in Task Manager if you sit still at an airport.  When you are moving, the other cores get used for scenery loading.

I would definitely keep addons off the first P3D Core.

Ok, if I am understanding correctly the 1st core being 0? 

thank  you 

Share this post


Link to post

With my last two quad-core CPUs (a 4790K and a 7700K) I found that an AM of 245 (11110101) worked well.  I don't think imposing affinity externally from Process Lasso is the best way of doing it.

I do not run ancillary programs (ActiveSky, AivlaSoft EFB, Radar Contact) on the sim machine, but instead on a networked PC, so no recommendation on affinities for those.

Regards

  • Upvote 2

Share this post


Link to post
6 minutes ago, mikeymike said:

Ok, if I am understanding correctly the 1st core being 0? 

thank  you 

Actually Core0 and 1.

You are using Hyperthreading (HT) and Core0 and 1 share an actual physical core.

  • Upvote 1

Share this post


Link to post

I see,  thank you for clarifying.

now apart from addons 

what about other programs/ services associated with OS 

Knick them all off the first core 

and have them all running in core 2 to 4?

mike

Share this post


Link to post

I have the same CPU and I've found for me the best I can get P3D running that's not just fps but smooth with no stuttering is by using an AM of 85, that means P3D is using the main cores only and the FSL likes that, then using Windows task manager I put every addon on all the threads. Apart from sim objects, I let that use everything.

Share this post


Link to post

I plan to install my upgrade Z390 MOBO and I9 9900K today if all goes well, but I was on an I7 4790K.

with HT on:

Set AM = 253 or 254 (11 11 11 01  or  11 11 11 10) in P3D cfg

then I start all my stuff (ASP4, FSXFlight, SPAD.neXt, RTSS, & FFTF) using a .bat and set AFFINITY FC (11 11 11 00) 

this way I give the OS the flexibility to schedule add on work across anything except the first physical core, and I have P3D using the first physical core on one LP.

I set FFTF to AGL mode 0 - 4,000 with .01 - .4, and RTSS to Scanline Sync x/2 with monitor set to 60HZ.

there must be thousands of possible setups and just as many opinions on what works best. Everyone has to try it until they're happy then just go fly.

  • Like 2
  • Upvote 1

Share this post


Link to post
 
 
 
26 minutes ago, bbuckley said:

there must be thousands of possible setups and just as many opinions on what works best. Everyone has to try it until they're happy then just go fly.

Very true

Share this post


Link to post
4 hours ago, Bert Pieke said:

Actually Core0 and 1.

You are using Hyperthreading (HT) and Core0 and 1 share an actual physical core.

I've always understood the term "core" to mean a physical CPU processor.  HT allows two logical processors (LP) to share the execution resources of a single physical core.  So a 4790K with HT enabled has four cores 0-3 and eight LPs (0-7), with LPs 0-1 sharing core 0, LPs 2-3 sharing core 1, etc.  An affinity mask is a binary mapped representation of the LPs available to the OS, with the first LP (LP0) represented as the rightmost bit, and working backwards right-to-left from there.  So an AM of 253 (11111101) would have LP0 enabled (rightmost bit), LP1 disabled (second from the right), and all the rest of LP2-7 enabled.

With P3D on a quad, I found it was smoothest when limiting P3D to run using only one LP on both core 0 (the main thread) and core 1 (the rendering task scheduler thread), so the mask for each of those two cores would be 01 (or 10).  On a quad-core HT-enabled CPU, an AM of 245 (11110101) reflects that limitation of only one LP on each of the first two cores  You could also use 246 (11110110), 249 (11111001), or 250 (11111010).  All four AM values have one of the two LPs on core0 and core1 masked off (zero bit), and the other enabled.

  • Like 1

Share this post


Link to post

Bob, that is absolutely correct...

But to a software program, 8 HT LPs look no different than 8 physical cores... so when setting Affinity Masks, or specifying CPU Core= in an ini file, Core= actually may well mean LP=  hence the general confusion.. :unsure:

Share this post


Link to post
3 minutes ago, Bert Pieke said:

But to a software program, 8 HT LPs look no different than 8 physical cores...:unsure:

Modern Windows and Linux kernels are more than aware of the differences between the cores, and that's what matters.

Cheers!

  • Upvote 1

Share this post


Link to post
3 minutes ago, Luke said:

Modern Windows and Linux kernels are more than aware of the differences between the cores, and that's what matters.

Cheers!

Fair enough.. but that is not visible to the user when selecting options..

Share this post


Link to post

Forget all that affinity stuff. It's all in the realm of witchcraft. Let P3D and the OS handle things. Just go back to flying and enjoy it..........Doug

  • Like 1
  • Upvote 1

Share this post


Link to post

Ok so I have tested AM 85

a little smoother thou slightly slower texture loading 

 

no AM all cores running P3d 

faster texture loading thou slight stuttering 

thoughts?

Share this post


Link to post
Posted (edited)
7 minutes ago, mikeymike said:

Ok so I have tested AM 85

a little smoother thou slightly slower texture loading 

 

no AM all cores running P3d 

faster texture loading thou slight stuttering 

thoughts?

Put all your addon on the threads so nothing but P3D is running on the cores. If you run all your add-ons on the same cores(AM 85) you will have problems. Splitting them up is the key.

Edited by Nyxx

Share this post


Link to post
Posted (edited)
18 minutes ago, mikeymike said:

Ok so I have tested AM 85

a little smoother thou slightly slower texture loading 

 

no AM all cores running P3d 

faster texture loading thou slight stuttering 

thoughts?

Try an AM of 254.  That gives you more scenery loading cores..

FPS in the sim set to Unlimited for starters. Vsync=off.

Edited by Bert Pieke
  • Like 1

Share this post


Link to post
52 minutes ago, W2DR said:

Forget all that affinity stuff. It's all in the realm of witchcraft. Let P3D and the OS handle things. Just go back to flying and enjoy it..........Doug

Witchcraft?  But...but...your Avatar!!  😜

Letting the system handle things is certainly an option, but in my experience that's best done with HT disabled. 

Regards

  • Like 1

Share this post


Link to post

Mickey has been my friend for over 70 years. And all mileage is variable. Peace.........Doug

Share this post


Link to post
2 hours ago, Bert Pieke said:

Try an AM of 254.  That gives you more scenery loading cores..

FPS in the sim set to Unlimited for starters. Vsync=off.

Thanks, will try.

and so remove all addons from that assigned to P3d by AM?

will also try ht off 

 

will report back.

thank you all for your help 

it is appreciated 

Share this post


Link to post
21 minutes ago, mikeymike said:

Thanks, will try.

and so remove all addons from that assigned to P3d by AM?

will also try ht off 

 

will report back.

thank you all for your help 

it is appreciated 

Just keep the addons off Core0 and 1..

when you try HT off, do not use this AM! :smile:

Share this post


Link to post
Posted (edited)
On 5/28/2019 at 8:29 PM, Bert Pieke said:

Just keep the addons off Core0 and 1..

when you try HT off, do not use this AM! :smile:

So with ht off no AM used ? And where do addons get assigned to?

Core 0 only?

regards

michael

Edited by mikeymike

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...