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.

P3Dv5 FPS Drops

Featured Replies

Since October 8th, I've been noticing FPS drops on my system. I've tried everything, from windows hacks, to different p3d configs. And today, I've experimented a bit more. FPS drops happens overtime. It starts to decrease sometimes when I'm stagnant at a gate, it goes from a constant 30 down to 25 then down to 20, and when I'm moving, they also start to drop, from 30 to the lowest of 18 fps. 

 

My specs are as follows: 

- Intel Xeon E5-2678 V3 @ 2.50, Boosts to 3.2 GHz

- Nvidia Quadro P5000 (equivalent to a 1080)

-12 GB Ram

(There should be no problem with specs as I've never had this issue before) 

Here's what I've tried so far: https://www.prepar3d.com/forum/viewtopic.php?f=6312&t=138770 , https://www.prepar3d.com/SDKv4/prepar3d/getting_help/advanced_configuration.html#AdvancedTuningOptions

 

And now at this point, I'm just out of ideas with bad fps. Nothing I'm trying is working and it's frustrating me to even try to fix it. I am grateful for each and every response I get and I will try to respond ASAP. Thank you guys for your help! P.S. Here's my config:

[JOBSCHEDULER]
AffinityMask = 254

[GRAPHICS]
DAY_THRESHOLD=54610
NIGHT_THRESHOLD=4096
ShowDeviceLostWarning=0
ENABLE_MEMORY_OPTIMIZATION=0
SCREEN_CAPTURE_MAX_JOBS=10
VIDEO_CAPTURE_WIDTH=720
VIDEO_CAPTURE_HEIGHT=480
VIDEO_CAPTURE_FPS=30
VIDEO_CAPTURE_BIT_RATE=3200000
VIDEO_CAPTURE_IS_THREADED=True
VIDEO_CAPTURE_INFO_SEND_RATE=20
VIDEO_CAPTURE_MAX_FRAME_SIZE=500000
VIDEO_CAPTURE_TTL=255
GPUCrashReporting=0
MAX_POINT_LIGHTS=900
MAX_SPOT_LIGHTS=900
RS_MIN_OBJECT_PIXEL_RADIUS=2.000000
MAX_TEXTURE_REQUEST_DISTANCE=1000.000000
HDR_BRIGHTNESS=1.000000
HDR_BLOOM_THRESHOLD=10.500000
HDR_BLOOM_MAGNITUDE=0.000000
HDR_BLOOM_BLUR_SIGMA=0.800000
EXPOSURE_KEY=0.180000
DAY_MAX_EXPOSURE=2.500000
NIGHT_MAX_EXPOSURE=2.500000
HDR_SATURATION=1.000000
ADAPTATION_RATE_SCALAR=0.050000
GRAPHICS_TIMER_CAPTURE=False
REFLECTION_PROBE_DELAY=20
ViewGroupWindowBorders=0
ViewGroup_Number=-1
MAP_DRAW_THREADED=1
TEXTURE_MAX_LOAD=1024
DynamicTextureStreaming=0
COCKPIT_HIGH_LOD=1
AIRCRAFT_REFLECTIONS=1
LANDING_LIGHTS=1
DYNAMIC_LIGHTING=1
DAWN_DUSK_SMOOTHING=1
LENSFLARE=0
HDR=1
DYNAMIC_REFLECTIONS=1
SHADOW_QUALITY=1
SHADOW_DRAW_DISTANCE=0
CONTENT_NO_SHADOW=0
INTERIOR_SHADOWS_CAST=1
EXTERIOR_SHADOWS_CAST=1
SIMOBJECT_SHADOWS_CAST=0
TERRAIN_SHADOWS_CAST=0
VEGETATION_SHADOWS_CAST=0
BUILDING_SHADOWS_CAST=0
CLOUD_SHADOWS_CAST=0
PARTICLES_SHADOWS_CAST=0
INTERIOR_SHADOWS_RECEIVE=1
EXTERIOR_SHADOWS_RECEIVE=1
SIMOBJECT_SHADOWS_RECEIVE=0
TERRAIN_SHADOWS_RECEIVE=1
VEGETATION_SHADOWS_RECEIVE=0
BUILDING_SHADOWS_RECEIVE=0
SHADOW_NUM_CASCADES_LOW=4
SHADOW_NUM_CASCADES_MID=5
SHADOW_NUM_CASCADES_HIGH=7
SHADOW_NUM_CASCADES_ULTRA=12
OPAQUE_SHADOW_TEXTURE_SIZE=2048
TRANSLUCENT_SHADOW_TEXTURE_SIZE=512
OPAQUE_SHADOW_DRAW_DISTANCE=2000
TRANSLUCENT_SHADOW_DRAW_DISTANCE=2000
SHADOW_LOG_PARTITION_LOW=0.850000
SHADOW_LOG_PARTITION_MID=0.850000
SHADOW_LOG_PARTITION_HIGH=0.850000
SHADOW_LOG_PARTITION_ULTRA=0.850000
EFFECTS_QUALITY=1
EFFECTS_DISTANCE=1
TEXTURE_QUALITY=3
IMAGE_QUALITY=0
See_Self=1
Text_Scroll=1
DYNAMIC_INTERIOR_CAPTURE=False
MIPMAP_VC_PANELS=1
SIM_OBJECT_FORCE_DRAW_DISTANCE_METERS=100000.000000
SIM_OBJECT_FORCE_DRAW_MAX_SCALE=100.000000
SIM_OBJECT_FORCE_DRAW_MIN_PIXEL_RADIUS=0.000000
MAX_EXPOSURE=2.000000
MIN_EXPOSURE=0.500000
EXPOSURE_RATE=0.050000
AUTO_EXPOSURE=1
[WEATHER]
CLOUD_FACING_MODE=0
MinGustTime=10
MaxGustTime=500
MinGustRampSpeed=1
MaxGustRampSpeed=200
MinVarTime=5
MaxVarTime=50
MinVarRampSpeed=10
MaxVarRampSpeed=75
TurbulenceScale=1.000000
WeatherGraphDataInDialog=0
AdjustForMagVarInDialog=1
DynamicWeather=0
DownloadWindsAloft=0
DisableTurbulence=0
CLOUD_DRAW_DISTANCE=6
OPTIMIZE_DENSE_CLOUDS=0
CLOUD_COVERAGE_DENSITY=8
THERMAL_VISUALS=1
VolumetricFog=1
VolumetricClouds=0
Godrays=1
CloudQuality=1
WindshieldPrecipitationEffects=1
EnhancedAtmospherics=1
[DISPLAY]
TextureMaxLoad=3
TextureStreamingGPUCopy=1
SwapChainBufferCount=4
SwapChainUseWaitableObject=0
ChangeTime=4.000000
TransitionTime=4.000000
ActiveWindowTitleTextColor=255,255,255
ActiveWindowTitleBackGroundColor=0,28,140,64
NonActiveWindowTitleTextColor=255,255,255
NonActiveWindowTitleBackGroundColor=24,33,87,64
InfoUpperLeftTextColorUser=255,0,0
InfoUpperLeftTextColorNonUser=255,127,0
InfoUpperLeftBackGroundColor=0,0,0,0
InfoUpperRightTextColor=255,0,0
InfoUpperRightBackGroundColor=0,0,0,0
InfoLowerLeftTextColor=255,255,255
InfoLowerLeftBackGroundColor=255,0,0,128
InfoLowerRightTextColor=255,255,255
InfoLowerRightBackGroundColor=255,0,0,128
InfoBrakesEnable=False
InfoParkingBrakesEnable=True
InfoPauseEnable=True
InfoSlewEnable=False
InfoStallEnable=False
InfoOverspeedEnable=False
InfoWeaponSystemEnable=False
InfoCountermeasureEnable=False
InfoUpperRightTextEnable=False
TEXTURE_BANDWIDTH_MULT=30
UPPER_FRAMERATE_LIMIT=0
SwapChainAllowTearing=0
WideViewAspect=False
FullScreenBackground=False
FullScreenAutoFill=True
Fullscreen=False
TEXTURE_FILTERING=2
MSAA=4
SSAA=0
VSYNC=0
FXAA=0
TRIPLE_BUFFER=0
SKINNED_ANIMATIONS=1
[SCENERY]
AUTOGEN_DRAW_DISTANCE=12000.000000
AUTOGEN_TREE_DRAW_DISTANCE_PERCENT=0.900000
AUTOGEN_TREE_MIN_DISTANCE_TO_LOD=2500.000000
SCENERY_DRAW_DISTANCE=32000.000000
MaxRegionsPurgePerFrame=16
POP_FREE_AUTOGEN=1
AUTOGEN_BATCH_LOD=2
IMAGE_COMPLEXITY=2
AUTOGEN_VEGETATION_TYPE=0
[MAIN]
User Objects=Airplane, Helicopter, Submersible, ExternalSim, Avatar
LabelsSupported=Airplane, Helicopter
ShowInfoText=1
HideMenuNormal=0
HideMenuFullscreen=1
Location=440,129,1480,908,\\.\DISPLAY2
Maximized=2
LocationFullScreen=0,0,1920,1080,\\.\DISPLAY2
FIBER_FRAME_TIME_FRACTION=0.01
[PANELS]
IMAGE_QUALITY=1
SAVE_AND_LOAD_PANEL_STATE=0
MAX_VC_TEXTURE_RESOLUTION=4096
PANEL_OPACITY=100
QUICKTIPS=0
PANEL_MASKING=1
PANEL_STRETCHING=1
UNITS_OF_MEASURE=0
PANELS_ALWAYS_ON_TOP=1
PANEL_UPDATE_MODE = 2
[CONTROLS]
Controls_Default=Standard
Controls_Current=Standard
KBDAIL=64
KBDELEV=64
KBDRUD=64
AdvancedMouseControls=False
force_master_gain=10000
force_stick_force_enabled=1
force_stick_shaker_enabled=1
force_gear_bump_enabled=1
force_crash_enabled=1
force_ground_bumps_enabled=1
force_machinegun_enabled=1
[TextInfo.1]
Latitude=1,1
Longitude=1,2
Altitude=1,3
Heading=1,4
AirSpeed=1,5
WindDirectionAndSpeed=1,6
[TextInfo.2]
GpuMemory=1,1
FrameRate=1,2
LockedFrameRate=1,3
GForce=1,4
FuelPercentage=1,5
HealthPoints=1,6
[TextInfo.3]
Latitude=1,1
Longitude=1,2
Altitude=1,3
Heading=1,4
AirSpeed=1,5
WindDirectionAndSpeed=1,6
GpuMemory=2,1
FrameRate=2,2
LockedFrameRate=2,3
GForce=2,4
FuelPercentage=2,5
HealthPoints=2,6
[SlewTextInfo.1]
Latitude=1,1
Longitude=1,2
Altitude=1,3
Heading=1,4
AirSpeed=1,5
[SlewTextInfo.2]
GpuMemory=1,1
FrameRate=1,2
LockedFrameRate=1,3
HealthPoints=1,4
[SlewTextInfo.3]
Latitude=1,1
Longitude=1,2
Altitude=1,3
Heading=1,4
AirSpeed=1,5
GpuMemory=2,1
FrameRate=2,2
LockedFrameRate=2,3
HealthPoints=2,4
[STARTUP]
LoadAllObjectCategories=False
DEMO=0
STARTUP_DEMO=
LOAD_SCENARIO_TOOLS=1
LoadCorePlugins=1
LoadVirtualReality=1
EnableViveProEyeTracking=1
EnableVirtualRealityOnStartup=0
EnableVoiceControl=0
EnableVoiceControlDebug=0
LoadWindow=1
[Avatar]
DefaultAvatar=Army Infantry
[DynamicHeadMovement]
LonAccelOnHeadLon=-0.020000
LonAccelOnHeadPitch=-0.010000
RollAccelOnHeadLat=0.010000
YawAccelOnHeadLat=-0.100000
RollAccelOnHeadRoll=0.100000
MaxHeadAngle=5.000000
MaxHeadOffset=0.300000
HeadMoveTimeConstant=1.000000
[VirtualCopilot]
VirtualCopilotActive=0
[USERINTERFACE]
SHOW_SCENARIO_WINDOW=1
SHOW_MISSION_CAPTIONS=0
PAUSE_ON_LOST_FOCUS=0
PROMPT_ON_EXIT=1
RestoreTimeOnMove=1
ScreenshotImageFormat=1
ShowMessageText=True
UIHardwareAcceleration=False
IgnoreLowResolutionWarning=False
Map_Orientation=2
EnableGPSDataTransmission=0
BroadcastGPSData=0
SendGPSData=0
MUTE_ON_LOST_FOCUS=0
[PointOfInterestSystem]
CycleSetting=1
[SOUND]
PrimaryPlaybackDevice={DEF00000-9C6D-47ED-AAF1-4DDA8F2B5C03}
VoicePlaybackDevice={DEF00002-9C6D-47ED-AAF1-4DDA8F2B5C03}
VoiceCaptureDevice={DEF00003-9C6D-47ED-AAF1-4DDA8F2B5C03}
SOUND=0
SOUND_QUALITY=2
SOUND_LOD=0
SOUND_FADER1=0.5
SOUND_FADER2=0.440000
SOUND_FADER3=0.280000
SOUND_FADER4=0.000010
SOUND_WITH_SLEW=1
[TrafficManager]
AirlineDensity=0
GADensity=0
FreewayDensity=0
ShipsAndFerriesDensity=0
LeisureBoatsDensity=0
IFROnly=0
AIRPORT_SCENERY_DENSITY=0
[AContain]
ShowLabels=0
ShowUserLabel=0
ShowLabelManufacturer=1
ShowLabelModel=1
ShowLabelTailNumber=0
ShowLabelDistance=1
ShowLabelAltitude=1
ShowLabelAirline=0
ShowLabelAirlineAndFlightNumber=0
ShowLabelFlightPlan=0
ShowLabelContainerId=0
ShowLabelAirspeed=0
ShowLabelHeading=0
LabelDelay=1000
LabelColor=FFFF0000
EnableRibbonVisuals=0
ShowRibbonUserObject=0
ShowRibbonUserAvatar=0
ShowRibbonAircraft=0
ShowRibbonGroundVehicles=0
ShowRibbonBoats=0
ShowRibbonAvatars=0
ShowRibbonWeapons=0
ShowRibbonCountermeasures=0
UserObjectRibbonColor=
UserAvatarRibbonColor=
AircraftRibbonColor=
GroundVehicleRibbonColor=
BoatRibbonColor=
AvatarRibbonColor=
WeaponRibbonColor=
CountermeasureRibbonColor=
RibbonThicknessSettingIndex=0
RibbonThicknessSmall=1.000000
RibbonThicknessMedium=5.000000
RibbonThicknessLarge=10.000000
RibbonFidelity=5.000000
RibbonMaxDistance=3218.689941
RibbonFadeTime=-1.000000
RibbonDoNotExceedTime=-1.000000
[TERRAIN]
SWAP_WAIT_TIMEOUT=30
LOD_RADIUS=3.500000
TESSELLATION_FACTOR=60
MESH_RESOLUTION=20
TEXTURE_RESOLUTION=25
AUTOGEN_VEGETATION_DENSITY=1
AUTOGEN_BUILDING_DENSITY=2
DETAIL_TEXTURE=1
HIGH_RESOLUTION_TERRAIN_TEXTURES=0
WATER_REFLECT_CLOUDS=0
WATER_REFLECT_USERAIRCRAFT=0
WATER_REFLECT_SIMOBJECTS=0
WATER_REFLECT_TERRAIN=0
WATER_REFLECT_AUTOGEN_VEGETATION=0
WATER_REFLECT_AUTOGEN_BUILDINGS=0
WATER_REFRACT_CLOUDS=0
WATER_REFRACT_USERAIRCRAFT=0
WATER_REFRACT_SIMOBJECTS=0
WATER_REFRACT_TERRAIN=0
WATER_REFRACT_AUTOGEN_VEGETATION=0
WATER_REFRACT_AUTOGEN_BUILDINGS=0
ENABLE_BATHYMETRY=1
WATER_CLARITY=30
WATER_DETAIL=1
UseGlobalTerrainView=True
[ATC]
AutoOpenAirTrafficWindow=0
UsePilotVoice=0
ShowATCText=0
PilotVoice=0
ControlTower=1
COMM_MSG_AI_ATC_COLOR=0XFF8C00
COMM_MSG_ATC_AI_COLOR=0X00008B
COMM_MSG_ATC_USER_COLOR=0X006400
COMM_MSG_USER_ATC_COLOR=0XA52A2A
COMM_MSG_ATIS_COLOR=00000000
[INTERNATIONAL]
ASLAT=2
ASLON=1
MEASURE=0
[REALISM]
PFactor=0.000000
Torque=0.000000
GyroEffect=0.000000
CrashTolerance=0.000000
General=0.000000
UnlimitedFuel=False
AllowEngineDamage=True
TrueAirspeed=False
AutoCoord=False
RealMixture=True
StressDamage=True
GEffect=False
ManualLights=True
GyroDrift=False
CrashWithDyn=True
CrashDetection=False
AvatarNoCollision=False
OnCrashAction=0
MomentumEffect=False
[ATTACHMENTS]
WeaponHighlight=False
HighlightDuration=1.000000
AutoWeaponSwitching=False
UnlimitedWeapons=False
UnlimitedCountermeasures=False
IgnoreAttachmentWeight=True
IgnoreAttachmentForces=True
[RECORDER]
RecordAITraffic=True
RecordAirportVehicles=True
RecordLeisureBoats=True
RecordFSRFormat=True
RecordSimPropFormat=False
RecordReadablePropertiesToXML=False
[SIM]
SYSCLOCK=0
OPTIMIZE_PARTS=1
[FACILITIES]
COUNTRY=
STATE=
CITY=
GTL_BUTTON=4096
[MISC]
Com_Rate=7
[FlightPlanMap]
LineWidth=2
[DISPLAY.Device.NVIDIA GeForce RTX 2070.0.0]
Mode=1920x1080x32
[DISPLAY.Device.NVIDIA GeForce RTX 2070.0.1]
Mode=1920x1080x32
[DISPLAY.Device.NVIDIA GeForce RTX 2070.0.2]
Mode=3840x2160x32
[DISPLAY.Device.NVIDIA Quadro P5000.0.0]
Mode=1920x1080x32
[MULTIPLAYER]
VoiceVolume=-0.000000
FrameSyncRate=0
 

  • Replies 59
  • Views 12.6k
  • Created
  • Last Reply

That processor is probably holding you back quite a bit.  What resolution are you running at and what refresh rate?

5800X3D, 4090FE, 64GB DDR4 3600C16, Gigabyte X570S MB, EVO 970 M.2's, Alienware 3821DW  and 2  22" monitors, Corsair RM1000x PSU,  360MM MSI MEG, MFG Crosswind, T16000M Stick, Boeing TCA Yoke/Throttle, Skalarki MCDU and FCU, Logitech Radio Panel/Switch Panel, Spad.Next

  • Commercial Member
4 hours ago, fantratic said:

[JOBSCHEDULER]
AffinityMask = 254

Is that the 12 core 24 Logical Processors?

If you have Hyperthreading (HT) enabled AffinityMask = 254 only uses four cores (11,11,11,10). I would change that AM to 21845 to use 8 cores of the 12 (00,00,00,00,01,01,01,01,01,01,01,01).

If you have HT off I would remove the AffinityMask altogether (12 cores) or use 255 to use 8 cores (000011111111) as the first 8 cores of the 12 should work quite well.

 

I would get the AM right first and then investigate the slowdown. I would set the simulator to stock to avoid addons to eliminate them all first.

After that I would try installing a few necessary addons and check how things go before moving on.

Steve Waite: Engineer at codelegend.com

57 minutes ago, SteveW said:

Is that the 12 core 24 Logical Processors?

If you have Hyperthreading (HT) enabled AffinityMask = 254 only uses four cores (11,11,11,10). I would change that AM to 21845 to use 8 cores of the 12 (00,00,00,00,01,01,01,01,01,01,01,01).

If you have HT off I would remove the AffinityMask altogether (12 cores) or use 255 to use 8 cores (000011111111) as the first 8 cores of the 12 should work quite well.

 

I would get the AM right first and then investigate the slowdown. I would set the simulator to stock to avoid addons to eliminate them all first.

After that I would try installing a few necessary addons and check how things go before moving on.

I ve got an i7700k with HT off, what AM would be right for me?

  • Commercial Member
2 minutes ago, mobiel said:

I ve got an i7700k with HT off, what AM would be right for me?

I would prefer this discussion not turn into one about affinity masks (AM's). I mentioned it because I noticed the OP's AM is incorrect. But just quickly, I believe your CPU is four core (HT disabled) so I would not use an affinity mask with that.

Steve Waite: Engineer at codelegend.com

  • Author
5 hours ago, SteveW said:

I would prefer this discussion not turn into one about affinity masks (AM's). I mentioned it because I noticed the OP's AM is incorrect. But just quickly, I believe your CPU is four core (HT disabled) so I would not use an affinity mask with that.

Ah, what AffinityMask do I need to use? According to my PC I have 8 cores.. 

unknown.png

(It says Virtual Processors because im using a http://shadow.tech (shadow pc) I've contacted them already and I didn't get a response.)

7 hours ago, micstatic said:

That processor is probably holding you back quite a bit.  What resolution are you running at and what refresh rate?

I'm using 1920x1080, could probably bounce down to 1440x900, refresh rate is 60hz but could go down to 30hz (Talked to Kenco and he limits his refresh rate to 30hz when he's flying, tried that and that didnt work as well)

  • Author
5 hours ago, SteveW said:

I would prefer this discussion not turn into one about affinity masks (AM's). I mentioned it because I noticed the OP's AM is incorrect. But just quickly, I believe your CPU is four core (HT disabled) so I would not use an affinity mask with that.

unknown.png

  • Commercial Member

To investigate slowdown, check there are no processes running that are not wanted. After that check the stock sim, by eliminating addons, which will allow you to check if additional processes are taking up excessive CPU throughput. If running with no addons proves OK, introduce the few necessary addons and retest, then move on to introduce other addons. A fault in an addon could gradually increase the use of the CPU so that fps falls over time.

 

Doing tests with good use of available cores can help. And so, as requested, regarding the P3D Core Affinity:

In general, with P3D use no Affinity Mask (AM) or with plenty of cores available use a mask that always allows core zero (logical processor zero). With HT enabled always use LP0. Try and leave one core free for the system.

With hyperthreading (HT) enabled use alternate Logical processors (LPs) e.g. 0,2,4,6,8,10,12 = '00,01,01,01,01,01,01,01' so as to allocate one LP per physical core.

In the binary notation core zero is the rightmost digit. Digits shown as '1' will use that LP, digits shown as '0' will ignore that LP.

With many cores such as 8 or more try leaving the last core(s) free from P3D to free up one or more for the system (e.g. '01111111' or with HT '00,01,01,01,01,01,01,01').

Some slowdown can be caused by incorrect use of affinity masks:

To recap I mentioned in the early post that the mask shown in the .cfg file may not be so good:

[JOBSCHEDULER]
AffinityMask = 254

Referring to the advice given above, with 8 cores this is binary '11111110' or with HT enabled the nomenclature would be '00,00,00,00,11,11,11,10' using commas to separate physical cores. So with AM 254, seven tasks are used. With HT On or Off LP zero is avoided (rightmost binary digit = 0). With HT enabled only four cores are active with seven tasks (binary digits with '1').

Therefore, with 8 cores and HT Off try 63 '0111111', and with HT On try 5461 = '00,01,01,01,01,01,01,01'. Both these Affinity Masks use LP0 and amount to seven P3D tasks.

As an addition if one would like to experiment at a later time, it's possible that the background task of P3D (and FSX) can be accelerated with HT enabled by doubling some background tasks, but not the first few cores and not too many (e.g. '00,11,11,01,01,01,01,01' binary = 15701 decimal, that is 7 cores of 8 used with 9 LP tasks, with core zero='01' binary so that LP0 is used LP1 is free, core 7='00', and cores 5 and 6 = '11' in the example).

To make the calculations use Windows calculator set to Programmer, and paste into the Binary field (BIN) '00,11,11,01,01,01,01,01' and we can see that the Decimal field (DEC) shows 15,701.

 

 

 

Steve Waite: Engineer at codelegend.com

  • Commercial Member
5 minutes ago, grandfred29 said:

I have a 10850k could you help me to configure as best as possible the AM for 5.1 please?

With the ten core HT enabled try 21845='00,00,01,01,01,01,01,01,01,01' or with HT disabled try 255='0011111111'.

Steve Waite: Engineer at codelegend.com

  • Author
23 hours ago, SteveW said:

To investigate slowdown, check there are no processes running that are not wanted. After that check the stock sim, by eliminating addons, which will allow you to check if additional processes are taking up excessive CPU throughput. If running with no addons proves OK, introduce the few necessary addons and retest, then move on to introduce other addons. A fault in an addon could gradually increase the use of the CPU so that fps falls over time.

 

Doing tests with good use of available cores can help. And so, as requested, regarding the P3D Core Affinity:

In general, with P3D use no Affinity Mask (AM) or with plenty of cores available use a mask that always allows core zero (logical processor zero). With HT enabled always use LP0. Try and leave one core free for the system.

With hyperthreading (HT) enabled use alternate Logical processors (LPs) e.g. 0,2,4,6,8,10,12 = '00,01,01,01,01,01,01,01' so as to allocate one LP per physical core.

In the binary notation core zero is the rightmost digit. Digits shown as '1' will use that LP, digits shown as '0' will ignore that LP.

With many cores such as 8 or more try leaving the last core(s) free from P3D to free up one or more for the system (e.g. '01111111' or with HT '00,01,01,01,01,01,01,01').

Some slowdown can be caused by incorrect use of affinity masks:

To recap I mentioned in the early post that the mask shown in the .cfg file may not be so good:

[JOBSCHEDULER]
AffinityMask = 254

Referring to the advice given above, with 8 cores this is binary '11111110' or with HT enabled the nomenclature would be '00,00,00,00,11,11,11,10' using commas to separate physical cores. So with AM 254, seven tasks are used. With HT On or Off LP zero is avoided (rightmost binary digit = 0). With HT enabled only four cores are active with seven tasks (binary digits with '1').

Therefore, with 8 cores and HT Off try 63 '0111111', and with HT On try 5461 = '00,01,01,01,01,01,01,01'. Both these Affinity Masks use LP0 and amount to seven P3D tasks.

As an addition if one would like to experiment at a later time, it's possible that the background task of P3D (and FSX) can be accelerated with HT enabled by doubling some background tasks, but not the first few cores and not too many (e.g. '00,11,11,01,01,01,01,01' binary = 15701 decimal, that is 7 cores of 8 used with 9 LP tasks, with core zero='01' binary so that LP0 is used LP1 is free, core 7='00', and cores 5 and 6 = '11' in the example).

To make the calculations use Windows calculator set to Programmer, and paste into the Binary field (BIN) '00,11,11,01,01,01,01,01' and we can see that the Decimal field (DEC) shows 15,701.

I don't have a HT CPU. And I just found out it was a 4 core, so what's the Afiinity Mask for 4 cores?

  • Author

I'll also do testing of sim addons later on. I just woke up.

  • Commercial Member
23 hours ago, fantratic said:

I don't have a HT CPU. And I just found out it was a 4 core, so what's the Afiinity Mask for 4 cores?

No need of an AM for four core no HT, absence of a Mask will use all four.

Steve Waite: Engineer at codelegend.com

Most of my RW and sim flying is in the Citation Mustang. Flight1 has done a great job on the C510. The G1000 makes for an easy life in RW single pilot operations, but gives a hard job to the CPU in P3D (in my case an i9-10900K).

P3D since V5 is now really using all cores, but the thread distribution get‘s obviously complicated when all those cores are changing their speeds automatically and depending on other cores‘ jobs. With all the bells and whistles on and as much OrbX as there is, I see smooth 30 fps with the CPU challenging Mustang (and 50 fps in the most dense sceneries flying the C421), but that‘s dropping to stuttering 17 fps when I let the OC done by the board and per core.

So the solution that really helped in my case: OC all cores, not per core. Have all cores at the same frequency = in sync.
But be aware: this is requiring very good cooling.

Edited by AndiKunzi

Pilot licenses: CPL, IRI, C510, MEP, CRI SEP
P3D V5 professional
CPU: i9-10900K, GPU: RTX 3090, MB: MSI Z490A PRO,
SSD: M.2 Samsung 970 EVO Plus (2 TB) + M.2 (1 TB) , RAM: 32 GB (3600 MHz, CL_16-16-16-36),
water cooling: Heatkiller IV Pro + MO-RA3 420 LT, Display: Panasonic 58“ 4K

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.