• May 31, 2020, 11:33:48 PM
• Welcome, Guest

Pages: 1 [2]   Go Down

AuthorTopic: conf ini  (Read 1024 times)

0 Members and 1 Guest are viewing this topic.

SAS~Storebror

• Editor
• member
• Offline
• Posts: 19388
• Failure is not an option.
Re: conf ini
« Reply #12 on: April 26, 2020, 11:08:13 PM »

ProcessAffinityMask=85 is beond my reatch what i dere fidle aroud with.
It doesn't make much sense either.
"ProcessAffinityMask" sets which CPU cores IL-2 is gonna use.
It's a binary mask converted to a decimal value.
"85" equals "01010101" binary.
Reading that value right to left, it means that cores 1, 3, 5 and 7 will be used.
On a quad core CPU with hyperthreading (Intel i7 quad cores), this would mean that IL-2 would use 1 "virtual" half of each core.
That's probably what Hans-Joachim Marseille intended to achieve, for whatever reason, but let me tell you: It doesn't do a damn thing.
In such case, just leave "ProcessAffinityMask" unset, i.e. don't have it in conf.ini at all or put a ";" in front of the line to unset the value.
That way IL-2 will simply use all available cores, and that's technically the same thing in this case.

In reality, all but one thread in IL-2 are 99.9999% idle all the time anyway, and that single thread can jump around your CPUs cores or just stand still on one of them, it doesn't change much in terms of performance itself.
What does affect the performance for real, is the collision between multiple CPU-hungry threads on the same CPU core.
Back in the days of Windows XP, the thread scheduler was pretty basic and most threads would preferably run on the 1st CPU core all the time.
In such case, it would make sense to avoid running on that 1st core for IL-2, just to step out of the way of Windows' thread scheduler.
The relevant setting, depending on the number of CPU cores you have, would be:

 Setting Binary Use case 2 10 Dual Core 12 1100 Dual Core + Hyperthreading 14 1110 Quad Core 62 111110 Hexacore 252 11111100 Quad Core + Hyperthreading 254 11111110 Octacore 1022 1111111110 Decacore 4092 111111111100 Hexacore + Hyperthreading 65532 1111111111111100 Octacore + Hyperthreading 1048572 11111111111111111100 Decacore+ Hyperthreading

As you see, the key to success is to always leave the 1st physical core unoccupied, to give room for a poorly designed thread scheduler to use that core.
On "normal" CPUs this means you leave the least significant bit unset, on "Hyperthreading" CPUs you leave the two least significant bits unset as they reflect the two "Hyper" threads on CPU no.1.

Mike
Logged
While love lives, while suns set, while snowmoons rise in november skies, while ties bind, while souls cry, while oceans ride in an endless tide, while love grows, while blood flows, while truth is real you need never feel alone.
In loving memory of times when I cared.

redarrows2006

• member
• Offline
• Posts: 59
• Happy flying!
Re: conf ini
« Reply #13 on: April 28, 2020, 01:24:59 PM »

Hi

But.I must admit that, i am poligize for that. I am a novice when it comes GPU and core-use. I have read the reply, and i must poligize, ask again. Is it posible and safe to fidle with the ProcessAffinityMask ? For i got 8 core and is it so that i can use more of the core on the hardware?

Sorry for my English sucks:(

Well,here is what i am running now:

Code: [Select]
[il2]title=Il2-Sturmovik 1946hotkeys=HotKey game[window]width=1920height=1200ColourBits=32DepthBits=24StencilBits=8ChangeScreenRes=1FullScreen=1DrawIfNotFocused=0EnableResize=0EnableClose=1SaveAspect=0Use3Renders=0WideScreenFoV=1UIColor=0UIDetail=0UIBackground=rndUse3RendersUI=0[GLPROVIDER]GL=Opengl32.dll[GLPROVIDERS]Open GL=Opengl32.dllDirectX=dx8wrap.dll[NET]speed=25000routeChannels=0serverChannels=31localPort=21000remotePort=21000SkinDownload=1serverName=No NameserverDescription=remoteHost=localHost=socksHost=checkServerTimeSpeed=1checkClientTimeSpeed=0disableNetStatStatistics=0showPilotNumber=1showPilotPing=1showPilotName=1showPilotScore=1showTeamScore=0cumulativeTeamScore=0showPilotArmy=1showPilotACDesignation=1showPilotACType=1filterUserNames=0reflyKIADelay=0maxAllowedKIA=-1reflyKIADelayMultiplier=0.0reflyDisabled=0allowMorseAsText=1allowCustomSounds=1[MaxLag]farMaxLagTime=10.0nearMaxLagTime=2.0cheaterWarningDelay=5.0cheaterWarningNum=-1[chat]region=(dx=0.6925,dy=0.071666665,x=0.0,y=0.0)[game]Arcade=0HighGore=0mapPadX=0.66875017mapPadY=-0.046666667viewSet=33Intro=1NoSubTitles=0NoChatter=0NoHudLog=0NoLensFlare=0iconTypes=0eventlog=eventlog.lsteventlogkeep=03dgunners=1ScreenshotType=1RecordingIndicator=0MapAlpha=0.99SaveTrk=1SkipParatrooperViews=0NoMissionInfoHud=0noKillInfoHud=0BlockMorseChat=0SmallMapWPLabels=1ShowMorseAsText=0IconUnits=0lowInfoHud=0mapPadMode=1[HotKey game]PrintScreen=ScreenShotP=pausePause=pause[HotKey gui]Escape=activate[HookViewFly Config]timeFirstStep=2.0deltaZ=10.0[HookView]MouseLeft=Len[HookView Config]AzimutSpeed=0.1TangageSpeed=0.1LenSpeed=1.0MinLen=1.0DefaultLen=20.0MaxLen=3000.0Speed=6LeanF=0.2LeanS=0.2Raise=0.089999996RubberBand=0.04[HotKey builder]MouseLeft=objectMoveMouseRight=popupmenuEnter=freeViewShift MouseLeft=worldZoomAlt MouseLeft=select+Alt MouseRight=select-Alt Ctrl=unselectPageDown=change+PageUp=change-End=change++Home=change--Ctrl MouseLeft=insert+Insert=insert+NumPad-0=insert+F=fillCtrl MouseRight=delete+NumPad.=delete+Delete=delete+Backspace=cursorTab=cursorF10=landF11=onLandNumPad-=normalLandNumPad+=toLandNumPad-5=resetAnglesNumPad-8=resetTangage90NumPad-7=stepAzimut-5NumPad-4=stepAzimut-15NumPad-1=stepAzimut-30NumPad-9=stepAzimut5NumPad-6=stepAzimut15NumPad-3=stepAzimut30[MouseXYZ]F1=SpeedSlowF2=SpeedNormalF3=SpeedFastMouseRight=XYmoveF4 MouseRight=ZmoveMouseMiddle=AmoveF5 MouseRight=AmoveF6 MouseRight=TmoveF7 MouseRight=Kmove[MouseXYZ Config]RealTime=1[HotKey Console]Shift Tab=Activate[Console]HISTORY=1024HISTORYCMD=1024LOAD=console.cmdSAVE=console.cmdLOG=0LOGTIME=0LOGFILE=log.lstLOGKEEP=0LOGDEBUG=0[sound]SoundUse=1SoundEngine=1Speakers=0Placement=0SoundFlags.reversestereo=0RadioFlags.Enabled=1RadioEngine=2MusicVolume=0ObjectVolume=14MusState.takeoff=1MusState.inflight=1MusState.crash=1MusFlags.play=1MasterVolume=14Attenuation=7SoundMode=1SamplingRate=2NumChannels=2SoundExt.occlusions=0SoundFlags.hardware=1SoundFlags.streams=1SoundFlags.duplex=1SoundExt.acoustics=0SoundExt.volumefx=0SoundFlags.voicemgr=0SoundFlags.static=1VoiceVolume=7Channels=2SoundExt.extrender=0SoundFlags.bugscorrect=0SoundSetupId=8ActivationLevel=0.02Preemphasis=0.85RadioLatency=0.5AGC=1PTTMode=1SoundFlags.UseRadioChatter=0SoundFlags.AutoActivation=0RadioFlags.PTTMode=0RadioFlags.PlayClicks=0ActLevel=0MicLevel=0SoundFlags.forceEAX1=0[rts];ProcessAffinityMask=1mouseUse=2joyUse=1trackIRUse=1DisableIME=0locale=UseSmartAxis=0JoyProfile=0[rts_mouse]SensitivityX=1.0SensitivityY=1.0Invert=0SensitivityZ=1.0[rts_joystick]X=0 1 4 9 16 25 36 49 64 81 100 0Y=0 1 4 9 16 25 36 49 64 81 100 0Z=0 10 20 30 40 50 60 70 80 90 100RZ=0 10 20 30 40 50 60 70 80 90 100 0FF=0U=0 10 20 30 40 50 60 70 80 90 100 0V=0 10 20 30 40 50 60 70 80 90 100 01X=0 10 20 30 40 50 60 70 80 90 100 0 01Y=0 10 20 30 40 50 60 70 80 90 100 0 01RZ=0 100 100 100 100 100 100 100 100 100 100 0 01U=0 100 100 100 100 100 100 100 100 100 100 0 01V=0 100 100 100 100 100 100 100 100 100 100 0 0[Render_DirectX]TexQual=3TexMipFilter=3TexCompress=0TexFlags.UseDither=0TexFlags.UseAlpha=0TexFlags.UseIndex=0TexFlags.PolygonStipple=0TexFlags.UseClampedSprites=0TexFlags.DrawLandByTriangles=1TexFlags.UseVertexArrays=1TexFlags.DisableAPIExtensions=0TexFlags.ARBMultitextureExt=1TexFlags.TexEnvCombineExt=1TexFlags.SecondaryColorExt=1TexFlags.VertexArrayExt=1TexFlags.ClipHintExt=0TexFlags.UsePaletteExt=0TexFlags.TexAnisotropicExt=1TexFlags.TexCompressARBExt=1TexFlags.TexEnvCombine4NV=0TexFlags.TexEnvCombineDot3=1TexFlags.DepthClampNV=0TexFlags.SeparateSpecular=1TexFlags.TextureShaderNV=0HardwareShaders=1Shadows=2Specular=2SpecularLight=2DiffuseLight=2DynamicalLights=1MeshDetail=2VisibilityDistance=3Sky=2Forest=3LandShading=3LandDetails=2LandGeom=3TexLarge=1TexLandQual=3TexLandLarge=1VideoSetupId=17Water=2Effects=1ForceShaders1x=0PolygonOffsetFactor=-0.15PolygonOffsetUnits=-3.0[Render_OpenGL]TexQual=3TexMipFilter=3TexCompress=0TexFlags.UseDither=0TexFlags.UseAlpha=0TexFlags.UseIndex=0TexFlags.PolygonStipple=1TexFlags.UseClampedSprites=0TexFlags.DrawLandByTriangles=0TexFlags.UseVertexArrays=1TexFlags.DisableAPIExtensions=0TexFlags.ARBMultitextureExt=1TexFlags.TexEnvCombineExt=1TexFlags.SecondaryColorExt=1TexFlags.VertexArrayExt=1TexFlags.ClipHintExt=1TexFlags.UsePaletteExt=1TexFlags.TexAnisotropicExt=1TexFlags.TexCompressARBExt=0TexFlags.TexEnvCombine4NV=1TexFlags.TexEnvCombineDot3=1TexFlags.DepthClampNV=1TexFlags.SeparateSpecular=1TexFlags.TextureShaderNV=1HardwareShaders=1Shadows=2Specular=2SpecularLight=2DiffuseLight=2DynamicalLights=1MeshDetail=2VisibilityDistance=3Sky=2Forest=3LandShading=3LandDetails=2LandGeom=3TexLarge=1TexLandQual=3TexLandLarge=1VideoSetupId=17Water=4Effects=1ForceShaders1x=0PolygonOffsetFactor=-0.15PolygonOffsetUnits=-3.0[DGen]HistoricalRanks=1CampaignLength=Medium[Mods]RandomSplash=1netCallsign=

As show on the top. here is my config.ini. Also here is what i have done have also turn the GPU to run on the right setting for that spesific GPU.

My spec is RTX 2060 Super. Ryzen 7 CPU. 16GB RAM. 400w platinitum power and 1 TB SSD.

Have some manage to stop the stutter when flying?
I am running IL-2 1946 v3.8.3 Pegasus.

Best Regards
redarrows2006

Logged

SAS~Storebror

• Editor
• member
• Offline
• Posts: 19388
• Failure is not an option.
Re: conf ini
« Reply #14 on: April 28, 2020, 11:08:11 PM »

You have Windows 10.
Therefore: No need to fiddle with ProcessAffinityMask.

Mike
Logged
While love lives, while suns set, while snowmoons rise in november skies, while ties bind, while souls cry, while oceans ride in an endless tide, while love grows, while blood flows, while truth is real you need never feel alone.
In loving memory of times when I cared.

bomberkiller

• Treffen sich zwei Jäger...!
• Modder
• member
• Offline
• Posts: 3557
• Bf-109G-6/R6 = Bomber Killer
Re: conf ini
« Reply #15 on: April 29, 2020, 04:18:46 AM »

Interesting, thanks Mike.

Gerhard
Logged
FAC N° 9 ...cheers mein Schatz

GAE_Chape

• Modder
• member
• Offline
• Posts: 116
Re: conf ini
« Reply #16 on: April 29, 2020, 07:12:53 AM »

Logged

redarrows2006

• member
• Offline
• Posts: 59
• Happy flying!
Re: conf ini
« Reply #17 on: May 22, 2020, 05:07:26 PM »

Can not say that i take the shance for that ProcessAffinityMask settings. You see i have a brand new PC, and ProcessAffinityMask is a new subject for me.
Also i have tryed out some Track IR 5 settings for my Track IR. I see some progress when i adjust the smoothness and the speed on Track IR and the camera precision mode smoothness to 100.0. It helped much.
But i can not say that it helped one hundred prosent, to fix the shacking when looking at the wingman when i turn my head to the left or to the right inside the cockpit.

Regards
redarrows2006

Logged
Pages: 1 [2]   Go Up

Page created in 0.016 seconds with 26 queries.