Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A Frame-Time Analysis of P3D v3 -- Effects of CPU Affinity, Frame Lock, and HT

Featured Replies

  • Author

I have a P67A-GD65 MOBO, with a turbo switch Does your MOBO have one and if so, do you use it?

 

Thanks,

Chas

 

Um, no I don't have one. I don't think I would use even I did. I need complete control over my mobo if you know what I mean.

Daniel Moser

 

92logo4.png

  • Replies 596
  • Views 171.1k
  • Created
  • Last Reply
  • Commercial Member

Excellent post as always. Your observations match mine.

 

There is an interesting set of threads on both the VRS forums (TacPack) and the Hi Fi official forum (ASN). A user of Tacpack and ASN was having severe P3d 2.5 stuttering problems, but then he disabled ASN and the stutters disappeared. He also tried to reduce the IQ settings within the ASN UI, but the stutters continued.

 

He became curious and took a look at the ASN log files. Much to his amazement, there were many SimConnect exceptions being logged (although the ASN log does not note which app was causing the exceptions). One of the VRS developers responded that P3d (since version 1.x, in fact) treats one continuing SimConnect exception as multiple exceptions as long as the exception remains active. This apparently floods the SimConnect channel and if an app logs all exceptions (even repetitive versions of the same exception) it causes the logging app to generate an enormous amount of extraneous file I/O. VRS only logs each continuing exception one time, but Hi Fi  apparently does not. Hi Fi has not yet responded to a request to either look into this or allow the user to disable logging in ASN.

 

This demonstrates your point about difficult it is to track down stuttering issues, especially when one has multiple 3rd party apps installed.

Interesting. I've looked at a lot of code for simconnect, and there's a lot of confusion out there. For example, I've seen some say "do polling" and others say "no, do messaging", when in fact there's a time for polling and a time for messaging. There's possibly a few programs around that adversely impact the sim networking. Looking at disk i/o, and the way file caching in Windows works, means we should be able to keep hammering away logging info into a text file with little impact.

Steve Waite: Engineer at codelegend.com

Steve,

 

Another area of interest is missing textures. If a Simobject is missing a texture file, P3d doesn't just look for the texture in the sim's main Texture subfolder and then "give up". It searches the entire set of valid texture folders determined from the Simobject's configuration texture path entry. If the Simobject is encountered repetitively, a lot of extraneous file I/O occurs.

 

This is getting a little off of the purpose of the thread, though.

 

Jay

  • Commercial Member

Jay, I suppose there's not much worse than pulling a new file off the disk, only for it to be the same as another one already cached. Another example, deleting the shader cache, means generating, storing, and reading new shaders when the sim starts up. But the building and so on, is interleaved concurrently with a load of other things happening as the sim runs, and on a good system, that can take two minutes or more just rebuilding the shaders relevant to the current flight.

Steve Waite: Engineer at codelegend.com

  • 4 weeks later...

Hi there,

 

Only just come across your post (very good info thank you),can I ask if you have any info / tips for preventing V A S problems as I always seem to be on the edge of limits with UK airports and PMDG 737NGX 

 

I have my system setup to your last example IE HT on AM = 85 LOD =4.5

 

All the best

 

Keith

 

Win10 Pro 64bit - i7 -6700K  4 GHz (oc+7%) = 4.25 (could go to 13% if pushed I think) FPS =30  HT on

 

GeForce GTX 980

 

32mb DDR4 Dual channel

 

Matrox Triple Head Digital (5040 x 1050)  + 40" 4k TV (3840 x2160)

 

Main drive 500 SSD Prepar3D v3.2

 

ASN + Soft Clouds + REX4

 

 

 

You're right to be cautious, "NO HT and NO AM" is not the optimum for P3D or FSX, and as we get CPUs with more and more cores, that will become more and more obvious.

 

For the four core, if you are not going for ultimate GHz, turn on HT and use AM=116 or AM=85. Otherwise with HT off use AM=14 or no AM (AM=0). Generally they will give you good results, see how they go.

 

Hi Steve,

 

when using HT=on (i7 4770K OCed to 4.4 ghz) and AM=116 I get a few more FPS - 23-24 versus 21-22. 

 

This is in a quite heavy scenario:

 

- PMDG737 NGX

 

- FB KSFO HD, sitting at 28L

- ORBX NCA (but limited settings via the control panel)

 

- LOD radius: Ultra, Tess: Ultra, Mesh res: 2m, Texture res: 15cm, Scenery Complexity: Very dense, Vegetation/Building: Dense, Water detail: Ultra, Special eff: medium, Shadow Quality: Ultra, Terrain/Cloud shadows: 0m or off (kills FPS), Object shadow cast: 3000 m, Aviation traffic: 0 %, Road: 20 %, Maximum cloud layers

 

-Fair weather daylight

 

-Vsync and triple buffering on, Unlimited FPS

 

But when I look at Processor Affinity in Task Manager, the only Processors that are ticked are CPU 2, 4, 5 and 6. Why is that? If I tick all processors it doesn't make any difference to FPS.

 

However, if I un-tick Processor 0 I'm suddenly getting 24-25 FPS. Not much of an increase but at least its doing something (that I cant explain).

38.jpg

Brynjar Mauseth 

  • Commercial Member

That's working right leave with 116.

Steve Waite: Engineer at codelegend.com

@Steve,

 

Yesterday I found out that I get a higher lowest framerate with monitor @30 hrtz , Unlimited, no TB

then with

monitor @30 hrtz , Unlimited , no TB and NVI limiter to 30

 

At a detailed airport 3-4 more fps are very welcome.

 

The only drawback is more jitters when backing in multiple cloud layers.

( to have a working upper visibility I had to turn on Vol Fog --> some jitters were introduced when banking in multiple cloud layers )

 

I saw that with Unlimited , FFTF = 0.1 is automatically written in the p3d.cfg file.

 

Would it help to disable the NVI limiter , lock P3D at 30 and add FTFF=0.1 manually ?

 

All advice is welcome.

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

  • Commercial Member

Hi G, Fixed fps can't help when your frames are below the setting and requires a more powerful machine or less objects in the sim. NVI limit only needed to impose a frequency lower than refresh so you would use NVI 30 fps limit with a 60Hz monitor for example. Probably best overall for you to disable NVI limit and leave set to unlimited no VSync.

Steve Waite: Engineer at codelegend.com

Steve,

 

The best till 7/8 cloud coverage and 3 cloudlayers are :

- Unlimited

- vSync + TB

- monitors at 24 hrtz

 

With photoscenery + custom ag ( very dense both ) and 10% ai traffic Fs is running very smooth over 3 screens , even with multiple cloudlayers .

 

With an overcast + multiple cloudlayers I only have to set ag to dense.

 

However, with a lot of wind + rain I get some stutters when banking .

The only thing that helped was setting the monitors at 60 hrtz with vSync + TB.

Then the framerate stayed at 20 and there weren't any stutters , just near and on the ground it can be seen that 20 isn't completely smooth.

 

As I have multiple p3d.cfg files I have different settings for : overcast weather, cloudy weather, fair weather and night.

 

Performance is less now that I have to enable Vol Fog to have a working upper visibility ...

 

Unfortunately the monitors refreshrate needs to be set manually when switching from 24 to 60 and the other way round.

 

If only I could make 2 profiles and choose between them by batchfiles.

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

  • Commercial Member

"The only thing that helped was setting the monitors at 60 hrtz with vSync + TB."

 

That's right, the frame rate goes well with the TB, since it's always drawing a new frame plus your VSync is out of reach of your fps capability with the 60Hz refresh so no delays there.

Steve Waite: Engineer at codelegend.com

Found what I was looking for :

 

https://linustechtips.com/main/topic/6019-switch-from-60hz-to-144hz

 

Qres changes the monitors refresh rate from a command line.

I can make batch files.

5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 -  MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb -  Corsair 5400  case - Corsair 360 liquid cooling set  - 3x 75’ TCL tv.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 

FOV : 200 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

  • 4 weeks later...

Hi,

 

I came into simming with the hope it would be more flying, than this stuff... Anyways. I have spent a while tweaking, but to no avail. My current situation is 10-15fps, ooms, extreme stutters+ micros, blurries, long loading times. I have most major addons you can think of, excluding GSX. This means all the EU orbx regions + global + NGX + T7 + bus and more. I also use medium high settings. My system is terrible:

 

I7-4770 not k

GTX 750ti

Standard toshiba 1tb hdd

 

I might as well stop simming soon, can someone please help me get back on track? Assuming I have a fresh CFG, can someone guide me - step by step?

 

P.S: I've tried FSX, it's much worse.

Arnav Agarwal

 

Boeing777_Banner_Pilot_zpsf959990c.jpg

 

You need a K to overclock

 

You need a faster gpu

 

You need an ssd

 

=====================================================

 

All that said you will have a decent machine if you can make these changes - I run a 4790k and it runs great of course all on water with a Titan X

Rich Sennett

               

 

I might upgrade, but is there anything I can do to avoid?

Arnav Agarwal

 

Boeing777_Banner_Pilot_zpsf959990c.jpg

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.