Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]   Go Down

Author Topic: conf ini  (Read 1024 times)

0 Members and 1 Guest are viewing this topic.

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 19388
  • Failure is not an option.
    • What goes around comes around, you'll see
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:

SettingBinaryUse case
210Dual Core
121100Dual Core + Hyperthreading
141110Quad Core
62111110Hexacore
25211111100Quad Core + Hyperthreading
25411111110Octacore
10221111111110Decacore
4092111111111100Hexacore + Hyperthreading
655321111111111111100Octacore + Hyperthreading
104857211111111111111111100Decacore+ 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.

]cheers[
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 Offline
  • Posts: 59
  • Happy flying!
Re: conf ini
« Reply #13 on: April 28, 2020, 01:24:59 PM »

Hi

Tank you very much Mike for your answer  :)
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 1946
hotkeys=HotKey game

[window]
width=1920
height=1200
ColourBits=32
DepthBits=24
StencilBits=8
ChangeScreenRes=1
FullScreen=1
DrawIfNotFocused=0
EnableResize=0
EnableClose=1
SaveAspect=0
Use3Renders=0
WideScreenFoV=1
UIColor=0
UIDetail=0
UIBackground=rnd
Use3RendersUI=0

[GLPROVIDER]
GL=Opengl32.dll

[GLPROVIDERS]
Open GL=Opengl32.dll
DirectX=dx8wrap.dll

[NET]
speed=25000
routeChannels=0
serverChannels=31
localPort=21000
remotePort=21000
SkinDownload=1
serverName=No Name
serverDescription=
remoteHost=
localHost=
socksHost=
checkServerTimeSpeed=1
checkClientTimeSpeed=0
disableNetStatStatistics=0
showPilotNumber=1
showPilotPing=1
showPilotName=1
showPilotScore=1
showTeamScore=0
cumulativeTeamScore=0
showPilotArmy=1
showPilotACDesignation=1
showPilotACType=1
filterUserNames=0
reflyKIADelay=0
maxAllowedKIA=-1
reflyKIADelayMultiplier=0.0
reflyDisabled=0
allowMorseAsText=1
allowCustomSounds=1

[MaxLag]
farMaxLagTime=10.0
nearMaxLagTime=2.0
cheaterWarningDelay=5.0
cheaterWarningNum=-1

[chat]
region=(dx=0.6925,dy=0.071666665,x=0.0,y=0.0)

[game]
Arcade=0
HighGore=0
mapPadX=0.66875017
mapPadY=-0.046666667
viewSet=33
Intro=1
NoSubTitles=0
NoChatter=0
NoHudLog=0
NoLensFlare=0
iconTypes=0
eventlog=eventlog.lst
eventlogkeep=0
3dgunners=1
ScreenshotType=1
RecordingIndicator=0
MapAlpha=0.99
SaveTrk=1
SkipParatrooperViews=0
NoMissionInfoHud=0
noKillInfoHud=0
BlockMorseChat=0
SmallMapWPLabels=1
ShowMorseAsText=0
IconUnits=0
lowInfoHud=0
mapPadMode=1


[HotKey game]
PrintScreen=ScreenShot
P=pause
Pause=pause

[HotKey gui]
Escape=activate

[HookViewFly Config]
timeFirstStep=2.0
deltaZ=10.0

[HookView]
MouseLeft=Len

[HookView Config]
AzimutSpeed=0.1
TangageSpeed=0.1
LenSpeed=1.0
MinLen=1.0
DefaultLen=20.0
MaxLen=3000.0
Speed=6
LeanF=0.2
LeanS=0.2
Raise=0.089999996
RubberBand=0.04

[HotKey builder]
MouseLeft=objectMove
MouseRight=popupmenu
Enter=freeView
Shift MouseLeft=worldZoom
Alt MouseLeft=select+
Alt MouseRight=select-
Alt Ctrl=unselect
PageDown=change+
PageUp=change-
End=change++
Home=change--
Ctrl MouseLeft=insert+
Insert=insert+
NumPad-0=insert+
F=fill
Ctrl MouseRight=delete+
NumPad.=delete+
Delete=delete+
Backspace=cursor
Tab=cursor
F10=land
F11=onLand
NumPad-=normalLand
NumPad+=toLand
NumPad-5=resetAngles
NumPad-8=resetTangage90
NumPad-7=stepAzimut-5
NumPad-4=stepAzimut-15
NumPad-1=stepAzimut-30
NumPad-9=stepAzimut5
NumPad-6=stepAzimut15
NumPad-3=stepAzimut30

[MouseXYZ]
F1=SpeedSlow
F2=SpeedNormal
F3=SpeedFast
MouseRight=XYmove
F4 MouseRight=Zmove
MouseMiddle=Amove
F5 MouseRight=Amove
F6 MouseRight=Tmove
F7 MouseRight=Kmove

[MouseXYZ Config]
RealTime=1

[HotKey Console]
Shift Tab=Activate
[Console]
HISTORY=1024
HISTORYCMD=1024
LOAD=console.cmd
SAVE=console.cmd
LOG=0
LOGTIME=0
LOGFILE=log.lst
LOGKEEP=0
LOGDEBUG=0

[sound]
SoundUse=1
SoundEngine=1
Speakers=0
Placement=0
SoundFlags.reversestereo=0
RadioFlags.Enabled=1
RadioEngine=2
MusicVolume=0
ObjectVolume=14
MusState.takeoff=1
MusState.inflight=1
MusState.crash=1
MusFlags.play=1
MasterVolume=14
Attenuation=7
SoundMode=1
SamplingRate=2
NumChannels=2
SoundExt.occlusions=0
SoundFlags.hardware=1
SoundFlags.streams=1
SoundFlags.duplex=1
SoundExt.acoustics=0
SoundExt.volumefx=0
SoundFlags.voicemgr=0
SoundFlags.static=1
VoiceVolume=7
Channels=2
SoundExt.extrender=0
SoundFlags.bugscorrect=0
SoundSetupId=8
ActivationLevel=0.02
Preemphasis=0.85
RadioLatency=0.5
AGC=1
PTTMode=1
SoundFlags.UseRadioChatter=0
SoundFlags.AutoActivation=0
RadioFlags.PTTMode=0
RadioFlags.PlayClicks=0
ActLevel=0
MicLevel=0
SoundFlags.forceEAX1=0

[rts]
;ProcessAffinityMask=1
mouseUse=2
joyUse=1
trackIRUse=1
DisableIME=0
locale=
UseSmartAxis=0
JoyProfile=0

[rts_mouse]
SensitivityX=1.0
SensitivityY=1.0
Invert=0
SensitivityZ=1.0

[rts_joystick]
X=0 1 4 9 16 25 36 49 64 81 100 0
Y=0 1 4 9 16 25 36 49 64 81 100 0
Z=0 10 20 30 40 50 60 70 80 90 100
RZ=0 10 20 30 40 50 60 70 80 90 100 0
FF=0
U=0 10 20 30 40 50 60 70 80 90 100 0
V=0 10 20 30 40 50 60 70 80 90 100 0
1X=0 10 20 30 40 50 60 70 80 90 100 0 0
1Y=0 10 20 30 40 50 60 70 80 90 100 0 0
1RZ=0 100 100 100 100 100 100 100 100 100 100 0 0
1U=0 100 100 100 100 100 100 100 100 100 100 0 0
1V=0 100 100 100 100 100 100 100 100 100 100 0 0

[Render_DirectX]
TexQual=3
TexMipFilter=3
TexCompress=0
TexFlags.UseDither=0
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=0
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=1
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=0
TexFlags.UsePaletteExt=0
TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=1

TexFlags.TexEnvCombine4NV=0
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=0
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=0

HardwareShaders=1

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=3
LandShading=3
LandDetails=2

LandGeom=3
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=17
Water=2
Effects=1
ForceShaders1x=0
PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0

[Render_OpenGL]
TexQual=3
TexMipFilter=3
TexCompress=0
TexFlags.UseDither=0
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=1
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=0
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=1
TexFlags.UsePaletteExt=1
TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=0

TexFlags.TexEnvCombine4NV=1
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=1
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=1

HardwareShaders=1

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=3
LandShading=3
LandDetails=2

LandGeom=3
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=17
Water=4
Effects=1
ForceShaders1x=0
PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0

[DGen]
HistoricalRanks=1
CampaignLength=Medium
[Mods]
RandomSplash=1
netCallsign=



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 Offline
  • Posts: 19388
  • Failure is not an option.
    • What goes around comes around, you'll see
Re: conf ini
« Reply #14 on: April 28, 2020, 11:08:11 PM »

You have Windows 10.
Therefore: No need to fiddle with ProcessAffinityMask.
If at all, "ProcessAffinityMask=254" would be the setting for your CPU.

]cheers[
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 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.

 ]cheers[

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

GAE_Chape

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

Logged

redarrows2006

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

I am glad for your replys on that conf ini issuie. Thanks again :)
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.