Special Aircraft Service

Battlefield - Airborne - Tactical (BAT) => BAT Tech Help => Topic started by: TheIdiot on July 02, 2019, 12:48:21 PM

Title: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 02, 2019, 12:48:21 PM
I've been playing on the latest version of BAT and I've noticed there are still a number of performance issues that don't occur in the vanilla game or the one other modpack I've tried, the VP Modpack. Namely:

1. Missions with more than about 80 planes total turn into a slideshow. This is especially bad in some DCG campaigns (Battle of France, Stalingrad) - for this reason, I can't raise the amount of flights in DCG above Sparse in any campaign. The shift+tab log doesn't give me the "time overflow" message when this happens, either. In VP I was able to fly 150+ plane missions with no problem.

2. Looking at towns where too many buildings are being rendered lowers performance significantly, to the point that attempting to fly over towns is dangerous due to the performance drop it causes. It seems to happen specifically when you look at a certain threshold number of buildings - 50 buildings might be okay, but 51, nope. This makes large cities like London and Berlin virtually unplayable.

3. Looking across the horizon in general on larger maps (English Channel, Western Europe, Italy-Africa-Greece) also lowers performance - not by a lot, but by a noticeable amount, especially when you're on the runway.

Is there any reason for this, and is there anything I could do to fix this? Like I said, these issues don't occur in vanilla or VP Modpack at all - I'm wondering if perhaps the dreaded Java Wall is still to blame here, or if the sheer size and amount of stuff in BAT is simply too much? I should add that the log doesn't say anything noteworthy when I play missions fitting the above criteria.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: whistler on July 02, 2019, 01:23:24 PM
Hi TheIdiot,

Interesting symptoms, we just need a blood sample to confirm a diagnosis. Share a mission that underperforms in BAT but plays well elsewhere.

Regards,
Title: Re: Performance Issues in BAT: The Blitz?
Post by: vonofterdingen on July 02, 2019, 04:44:57 PM
Regarding number of planes: I'm playing DCG campaigns on Full to Dense settings and have had no performance issues since the latest BAT release.

Flying over a populated city is and always was a performance hit. This it true in the stock game as well.

I see no issues when using big maps. My most-played campaign uses DCG and the War Over Italy map (a larger version of Italy-Africa-Greece) and I have no performance issues with either the map or the DCG using Full density.

I saw the problems with number of planes in earlier versions of BAT, but not now.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 02, 2019, 11:52:50 PM
Missions with more than about 80 planes total turn into a slideshow.
(...)
The shift+tab log doesn't give me the "time overflow" message when this happens, either.

That simply doesn't make sense.
Please provide a sample like whistler said.

We have a couple more sophisticated effects in BAT compared to other game versions.
As always in life, there's a tradeoff between eye candy and performance, and that's probably all there is to your reports.
This however doesn't turn the game into a "slideshow", it will just impact the FPS by 10% or so.
And if anything would cause a "slideshow", you would definitely get the "time overflow" messages, that's a given.
In summary, for the time being your report has an "exaggerated" smell to it.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Poltava on July 03, 2019, 03:11:40 AM
I have yet to encounter any significant performance loss (FPS) with the new version of BAT, drops to to the 30-ies, yes, a slide-show never once. And I am updating a number of old campaigns and have found out that I can double, even triple the number of aircraft in a single mission without any noticable FPS loss. In static object rich environments, yes, there can be a drop, also when there is a LOT of ground activity, flak etc, but never even close to slide-show. (Sometimes it seems to help to look skyward, and then the FPS are restored to a steady 60, but I don’t know if the effect is steady.)

Berlin has always been a FPS-killer, in ALL versions, but VP media made a new version of the city that has helped to alleviate the problem a lot.

But yes, some special environments will affect the FPS and dogfighting with a lot of aircraft over a very big city will come at a price, in all systems.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: David Prosser on July 03, 2019, 02:10:09 PM
I've done WWI missions with up to 50 planes in them. No probs. All on the Somme, or West Front maps. And with tons of ground traffic too.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 03, 2019, 09:08:24 PM
You guys need an example - try generating a mission for the BAT DCG Battle of France campaign. Put the squadron density on Moderate and Column + Ground density on Full and see what happens - for me, the FPS drops down into like the low 10s. On Sparse it runs a lot better (30ish FPS), but not as good as most missions.
https://www.sas1946.com/main/index.php/topic,61365.0.html
I sadly don't have any specific mission for this, but it happens every time I try generating a mission with the above parameters.

SAS~Storebror, the "slideshow" (meaning something like 2-3 FPS) isn't a common occurrence, but it has happened before, especially on the above Battle of France campaign, as well as for instance DCG BAT Battle of Britain. It only seems to get really bad when you put the squadron density above Sparse, though. I have had situations on the runway however where the framerate became so bad that it was difficult to even click the button to end the mission. And the log DOES NOT give the Time Overflow error in this situation, I double checked.
The next time I manage to come up with a mission like this, I'll upload it so you guys can check it out.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: vonofterdingen on July 03, 2019, 10:47:02 PM
I am super confused.  You say the DCG Battle of France campaign causes the issue but your link is to Poltava's Battle of France.  Are you having trouble with both or one? Would be good if you could just post one mission that gives you problems. That way others could confirm.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 03, 2019, 11:01:15 PM
Sorry - it's supposed to be the DCG campaign, I posted the wrong link. This is the actual link:
https://www.sas1946.com/main/index.php/topic,58428.0.html
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 04, 2019, 12:04:21 AM
After having found out a missing advice about DCG (you must select "Replace Career Generator (DGen)" before selecting "Off-Line Career" mode first), I've just ran a first sample mission for Luftwaffe / 109 E-3.
Squadron density moderate, column and statics full (that's the default setting anyway).
The campaign seems not to have been adjusted to BAT ever because it throws a ton of errors in the log about missing classes, ground objects etc.
Add to that, the "Skins" folder of the campaign download file is empty - which is particularly nasty because it's mandatory to have the skins copied to your game folder before running the campaign, as stated in the installation instructions.
All in all, the campaign is broken and not BAT compatible.
Nevertheless, after getting it to run (by selecting custom player skin "default"), the frame rates are rock solid 60FPS at 4-times speed when I tried to run that first mission.

Conclusion: Invalid campaign, yet still working smooth as silk.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 04, 2019, 10:20:31 PM
Okay, so here's a mission file I just generated using the same Battle of France DCG. I loaded it up as the 3rd Hurricane in the flight of Hurris in multiplayer and immediately the mission started running at maybe 2-5 FPS.
http://www.mediafire.com/file/qegxvczont36y3n/mission.zip/file
I included the log output in the zip file as well - maybe that will help to figure out what's going on? It also puts out a ton of errors for me, but it's mostly just missing planes. At the moment, I simply don't understand what's wrong...the only line that really sticks out as odd in the log is this one:
Quote
[2019-07-05 04:00:46.164]   dT:    9   Cannot setup 3d algorithm.Settings will be reset to DEFAULT.
No idea what that means, but it sounds kind of strange. Could there be an issue with my conf.ini, perhaps?

I should also mention I now have a new problem where the game keeps resetting my conf.ini Water settings to 0 every time I change it to 3 or 4. I used to have it set to 4 without a problem until I tried IL2GE for a short time (which requires you to set Water to 0) before removing it again - and yes, I removed ALL of IL2GE's files.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 04, 2019, 11:39:06 PM
Can't confirm.
I've watched the mission until the flights left the circle around Brussels and headed to Lille (too boring to watch them another half an hour, nothing ever happens on this mission).
All the time, rock solid 60 FPS.
Even when accellerating to 2x speed, and even when I look straight down at the city of Brussels.
4x speed drops FPS to ~20, but that's just normal for a map of that size with that amount of planes in the air.

[2019-07-05 04:00:46.164]   dT:    9   Cannot setup 3d algorithm.Settings will be reset to DEFAULT.
No idea what that means, but it sounds kind of strange. Could there be an issue with my conf.ini, perhaps?[/quote]
That's just normal, the game's trying to tell you that the sound cannot use 3D EAX extensions. This is because any OS past XP lacks EAX support.

my conf.ini Water settings to 0 every time I change it to 3 or 4.
This could mean that "HardwareShaders" have reset to 0 in your conf.ini, which would also explain why your FPS are generally low.
Now that you said that other 4.12 based games work fine for you, it'd be time to compare the conf.ini files of both, copy a known working conf.ini to your BAT folder and/or showing your conf.ini to us.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 05, 2019, 12:09:21 AM
Okay, thanks for looking at it, Storebror. I tried a different conf.ini but it didn't help at all. At this point I'm running out of ideas as to what this could possibly be.

Quote
my conf.ini Water settings to 0 every time I change it to 3 or 4.
Quote
This could mean that "HardwareShaders" have reset to 0 in your conf.ini, which would also explain why your FPS are generally low.
Now that you said that other 4.12 based games work fine for you, it'd be time to compare the conf.ini files of both, copy a known working conf.ini to your BAT folder and/or showing your conf.ini to us.
Just checked, nope, it's still set to 1. I managed to fix this problem by setting conf.ini to Read-Only for one run of the game.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 05, 2019, 12:12:48 AM
Maybe you can show us your conf.ini?
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 05, 2019, 12:24:30 AM
Sure can:
Code: [Select]
[il2]
title=Il2-Sturmovik Forgotten Battles
hotkeys=HotKey game

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

[GLPROVIDER]
GL=Opengl32.dll

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

[NET]
speed=100000
routeChannels=0
serverChannels=31
localPort=21000
remotePort=21000
SkinDownload=1
serverName=Royal Canadian Air Farce
serverDescription=This was not their finest hour.
remoteHost=192.168.0.11
localHost=
socksHost=
checkServerTimeSpeed=1
checkClientTimeSpeed=0
disableNetStatStatistics=0
checkTimeSpeedInterval=5
showPilotNumber=1
showPilotPing=1
showPilotName=1
showPilotScore=1
showTeamScore=1
cumulativeTeamScore=1
showPilotArmy=1
showPilotACDesignation=1
showPilotACType=1
filterUserNames=0
reflyKIADelay=0
maxAllowedKIA=-1
reflyKIADelayMultiplier=0.0
reflyDisabled=0
allowMorseAsText=1
allowCustomSounds=1

[MaxLag]
farMaxLagTime=3.0
nearMaxLagTime=1.0
cheaterWarningDelay=5.0
cheaterWarningNum=-1

[chat]
region=(dx=0.0,dy=0.0,x=0.0,y=0.0)
autoLogDetail = 3
adr0=ALL

[game]
ClearCache=1
Arcade=0
HighGore=1
mapPadX=0.5229168
mapPadY=0.4101852
viewSet=25
Intro=0
NoSubTitles=0
NoChatter=0
NoHudLog=0
NoLensFlare=1
iconTypes=1
SubTitlesLines=5
eventlog=eventlog.lst
eventlogkeep=0
3dgunners=1
ScreenshotType=1
RecordingIndicator=1
MapAlpha=0.85
SaveTrk=1
IconUnits=0
SkipParatrooperViews=1
NoMissionInfoHud=1
lowInfoHud=1
noKillInfoHud=1
BlockMorseChat=0
SmallMapWPLabels=1
ShowMorseAsText=1
Typeclouds=1
mapPadMode=3

[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=1
LOGTIME=1
LOGFILE=log.lst
LOGKEEP=0
LOGDEBUG=0

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

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

[rts_mouse]
SensitivityX=1.2
SensitivityY=1.2
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=24 1 4 9 16 25 36 49 64 81 100 0 0
1Y=24 1 4 9 16 25 36 49 64 81 100 0 0
1Z=0 10 20 30 40 50 60 70 80 90 100 0 0
1RX=0 10 20 30 40 50 60 70 80 90 100 0 0
1RY=0 10 20 30 40 50 60 70 80 90 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=0
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=0
TexFlags.TexEnvCombine4NV=1
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=1
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=1

HardwareShaders=1

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

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

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

VideoSetupId=4

[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.0625
PolygonOffsetUnits=-1.0

TypeClouds=1

[DGen]
LogLevel=1
RandomFlights=5
MaxFLAK=100
MissionDistance=100
AirIntensity=High
GroundIntensity=High
MaxBomberSkill=1
CampaignMissions=Normal
CampaignAI=Normal
CampaignLength=Medium
CampaignDifficulty=Normal
SlowFire=20
OperationVictory=200
OperationDefeat=-200
WarVictory=2000
WarDefeat=-2000
UseParkedPlanes=1
UseParachutes=0
HistoricalRanks=0
NoAirfieldHighlight=0
NoBadWeather=0
NoActiveFrontline=0
PromotionRate=0.3
;Language=English

[QMB]
PlaneList=0

[Mods]
Flyby=1
FlybyFov=60.0
ToggleMusic=1
RandomSplash=1
PALHUDMode=1
SpeedbarTAS=0
SpeedbarSIToo=1
SpeedbarShowExtraInfo=1
netCallsign=TheIdiot
Stab4all=1
PALShowChocks=1
PALShowCatGear=1
DumpFuel=1
SpeedbarUnits=0
PALGameMenuStatusBar=1
PALGameMenuShowFPS=0
PAL3DStart=0
PAL3DSepAim=0.7
PAL3DSepGun=1.35
PAL3DSepPit=1.5
PAL3DSepExt=25.0
PAL3DConvAimL=-0.01
PAL3DConvAimR=-0.01
PAL3DConvGunL=-0.09
PAL3DConvGunR=-0.09
PAL3DConvPitL=-0.13
PAL3DConvPitR=-0.13
PAL3DConvExtL=-0.55
PAL3DConvExtR=-0.55
PAL3DDOFfNumber=0.0
PAL3DDOFFocus=20.72121
PAL3DAdjustVariable=1
PAL3DFullColorFrames=0
PAL3DRenderStereo=1
PAL3DFilterLeft=R___
PAL3DFilterRight=_GB_
PAL3DCockpitSoftViewEnabled=0
PAL3DCockpitSoftView=0.0015
PAL3DCockpitTurretInertiaEnabled=0
PAL3DCockpitTurretInertia=0.0010
PAL3DFollowInertiaEnabled=0
PAL3DFollowInertia=0.009999999776482582
PAL3DFollowInertiaAngle=0.01
PAL3DExternalSoftView=0.075
PAL3DExternalTrackIR=0
PAL3DExternalMouseInertia=0
TracersPlayer=400
TracersAircrafts=200
TracersWorld=100
TracersWirbelwind=100

Now that I think of it, there is one thing that might be the culprit - a while back, I mentioned I had a crashing issue with multiplayer in this thread:
https://www.sas1946.com/main/index.php/topic,61439.0.html
and was instructed to delete these classes, which I unfortunately did before BAT was updated to fix the error:

05572CF6FB4775FC
0E384E24A36BEBF0
130B387CAF526AC2
18CB9ECED995A9CA
22A0C9A2D2CB0F5E
23959E9E62E44FB0
51A0525EA2129E92
57ACFDC40FF0D040
680C5FAC30D5349C
843CAD8CEE509BD0
947F235854E268E8
AA91B9FCCDB7FB8A
B7D74CC8D550EF72
ED2C875881FB3B38

I know the 3.6.2 update was supposed to have fixed these files, but I'm wondering if maybe I'm still missing any of them? Would someone be able to send me these files for the 4 SAS modules and let me know what folder they go in so I can see if installing them helps at all?
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 05, 2019, 01:59:20 AM
Conf.ini looks fine to me.
The classes are always completely replaced with each BAT update, that can't be an issue.
The fact that you have to set your conf.ini to read-only mode in order to maintain the water and hardwareshader settings means that your game simply doesn't accept the settings.
That also means that they will not be active, whether you set the conf.ini to read-only or not.
Actually that advice of setting conf.ini to read-only is a dud.
As a matter of fact, the settings that are in use by the game are the settings it writes back to conf.ini on exit, therefore better leave the file writeable so at least you see that (and what) things are going wrong.

Now if your game constantly rewrites conf.ini flags and you can't remember what you did to get it to that (broken) state, you will have no other choice but to reinstall the game from scratch because we can't look through your eyes.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: whistler on July 05, 2019, 03:07:26 AM
Let me add that the below statement is still deceiving:

I've been playing on the latest version of BAT and I've noticed there are still a number of performance issues that don't occur in the vanilla game or the one other modpack I've tried, the VP Modpack.

The mission shared cannot be played in VP-Modpack in the same conditions (with the same aircraft) as in BAT. A fair comparison is what we need to draw any conclusion, otherwise we are comparing apples and oranges.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 20, 2019, 11:51:03 PM
Okay, guys - so I finally got some free time and re-downloaded the entire BAT modpack (only took 3 whole days to get up and running). I didn't modify it whatsoever upon first testing, I literally installed the whole BAT series up to the latest Blitz patch and went right in.

The first thing I did was go into the game and do a quick 1v1 Bf 109 vs Spitfire ace fight, and everything seems to be running smoothly, as before. Then I jumped into the same Battle of France mission I posted, and lo and behold, it still runs like utter garbage...it's a slideshow. So that was a big old waste of time, and I quickly restored my old install. I feared that perhaps I'd added some mod that had destroyed my framerate in the old install, but that doesn't seem to be the case as this was tested from a clean BAT install.

I discovered something else in my testing - it seems the game only runs poorly when I'm looking at the ground in this mission. If I look up at the sky, it suddenly jumps up to a smooth framerate! So maybe there's something going on with the rendering? My specs should be completely capable of dealing with this, especially since I can play this same map and not have this issue on other missions. I just checked the NVidia control panel and the only thing it seems I have enabled is FXAA, but I can't see that resulting in a loss of 50+ FPS.

Any ideas on this one? Again, it seems the major FPS drop only happens when looking at the ground - if I look at the sky, it's fine.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 21, 2019, 12:58:22 AM
The main issue you keep having is this:

the game keeps resetting my conf.ini

This is not a BAT issue.
Resetting conf.ini values means that your hardware/OS/drivers cannot handle the desired conf.ini values.
Even if you set conf.ini "read only", the game will still use it's own (minimum) values where your hardware/OS/drivers can't cope with what has been set in conf.ini.

Looking down on the ground puts many objects in view at the same time.
This is mostly CPU heavy.
It's not a BAT or mission thing here, because as I mentioned earlier:
I've watched the mission until the flights left the circle around Brussels and headed to Lille (too boring to watch them another half an hour, nothing ever happens on this mission).
All the time, rock solid 60 FPS.
^^that was including looking down at Brussels from relatively low altitude, straight down at the city.

We can only guess what's wrong with your system.
Graphics driver maybe?
Or a thermal issue (CPU cooler grease?) causing the CPU to throttle?

On the other hand you've claimed that other IL-2 game versions would do fine, and honestly: That just doesn't make sense, because if this was a BAT issue, we all should see it, not just you.
I therefore can't help myself but to put some of your statements into question for the time being.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: PO_MAK_249RIP on July 21, 2019, 07:51:11 AM
Might help if you posted details of your rig????
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 21, 2019, 08:08:25 AM
We know from the log that the GPU is an Nvidia GTX 1080.
I doubt that the CPU is of the weak sort in that case ;)

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 21, 2019, 11:25:44 AM
The game isn't resetting the conf.ini anymore since I reinstalled BAT, it's letting me run with Water=4 now and I don't have the file set to read only. Even when I tried using the default conf.ini that came with BAT, the performance remained exactly the same, even running at 1024x768 resolution.

A few more things I've discovered in the test I currently have running in the background:
-Looking at the sky doesn't solve the problem every time, only sometimes, and you have to look at it for a few seconds before it starts improving performance.
-If I reduce game speed to 1/2, it suddenly starts running smoothly, no matter where I look. I'm in an He 111 on Dusseldorf airfield and zooming all the way out, looking around at the huge city to the south and the water of the river produces a smooth framerate at 1/2 speed. Going over to the city doesn't reduce my FPS at all. If I go up to Full Speed, the game becomes choppy again. The more I reduce speed, the better the game runs.
-The log is producing time overflow messages only when I have the game at Full Speed. If I'm at 1/2 speed, there's no time overflow.
-Seems the game's memory usage is steadily increasing in Task Manager as I let the mission run. It was at 1.1 million K when I first loaded it up, and it's slowly climbed its way past 1.4 million K, and the mission is slowly starting to run better as it does so. It's been running for 20 minutes now and the game isn't giving me Time Overflow at full speed anymore. At 30 minutes, seems it capped out at 1.45 million K and went back down.

I have YPack downloaded as well - I'll try and find a mission that works between BAT and YPack and compare the performance of the two. Because I have a funny feeling that BAT is going to continue to run at a bad framerate. Honestly, to me it seems like I'm still running into the Java Wall somehow, but that just makes no sense at all, considering I'm on The Blitz...

My basic specs are:
Windows 10 64-bit
NVidia GTX 1080
AMD Ryzen 1600 6-core 3.60 GHZ
8GB RAM

This PC generally runs both newer and older games at the highest settings at at least 45-60 FPS. It's solely IL-2 that's giving me trouble.

I'll have to get an FPS overlay up so I can prove what I'm seeing here, and I'll try updating my drivers, but I only got this new PC back in February. I haven't tried the mission on my old PC with worse specs yet.

EDIT: Nearly at 40 minutes of mission time now and I've nearly reached a perfectly smooth framerate at full speed...the longer I run this mission, the better the performance. Unfortunately I have to do something else now, so my testing concludes here. But at 40 minutes, the game was running at something like 25-30FPS I'd say. Quite the improvement over the barely even 5 FPS it got at the start.

I've also noticed an unrelated bug: the He 111H-2s I'm flying have their full-throttle engine flames coming out from behind and above where they should be coming out of the cylinders.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 21, 2019, 11:38:10 AM
to me it seems like I'm still running into the Java Wall
We can definitely rule that out if you're on Blitz (and didn't install a thousand additional aircraft mods separately).

AMD Ryzen 1600 6-core 3.60 GHZ
That one's comparably weak in IL-2 (it's like my old i5-2500K), but it will run the mission in question just fine.

Nearly at 40 minutes of mission time now and I've nearly reached a perfectly smooth framerate at full speed...the longer I run this mission, the better the performance. Unfortunately I have to do something else now, so my testing concludes here. But at 40 minutes, the game was running at something like 25-30FPS I'd say. Quite the improvement over the barely even 5 FPS it got at the start.
That's odd to say the least.
Could it be that something's using up all the RAM on your PC?
This would explain a bit of what you've described.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: Sergent Pepper on July 21, 2019, 03:40:03 PM
For 75th anniversary (?) of Dday, i made a mission for C47 above "marais de Carentan" and Ste Mère Eglise (l live in Normandy) near Utah Beach.
24 x4 C47 (with 18 paratroopers in each one).
96 aircrafts!!!
I'ts possible with 3.6.2.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 22, 2019, 11:38:06 PM
Okay...so I just tried that same Battle of France mission running online between both my PCs. The old PC runs the mission perfectly at 60FPS, no issues, and it's got somewhat worse specs. This PC - not even 5FPS. So there must be something going with this PC, and I'm determined to figure out what it is. Glad to rule out it being BAT, though!

Are there any programs or services or any sort of software known to slow down IL-2?
Anything that could be wrong with my NVidia settings?
Something bottlenecking my PC?
Drivers or software I might be missing?

EDIT: Something's wrong here...I've just booted up MSI Afterburner and it's showing 0% GPU usage. What the hell?
(https://i.imgur.com/TpDdkCp.jpg)
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 23, 2019, 12:55:49 AM
Looks like the game is using your CPU graphics instead of the dedicated GPU.

If you're on a laptop, make sure that in it's BIOS settings the GPU is the primary graphics card.
If you're on a desktop PC, make sure the monitor is attached to the dedicated graphics card's connector and not to the mainboard's one.

Additionally, open up Nvidia Settings (right click on the desktop and select '"Nvidia System Settings"), then go to "Manage 3D settings", then switch to the "Program Settings" tab.
Select "IL-2 Sturmovik: Forgotten Battles..." from the dropdown list (if it's not there, click "add" and search for your game's il2fb.exe file).
Make sure that "OpenGL rendering GPU" is set to your dedicated GPU and not just "auto".
Additionally, make sure that "Power management mode" is set to "Prefer maximum performance".

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 23, 2019, 01:33:18 AM
I'm on a PC. My cable is definitely in the right jack, that's for sure. I just tested it to make sure that wasn't the issue by running a few other games, but they all run perfectly fine. My GPU usage fluctuated all over the place, but was never around 0% except in non-3D menus.

I've already got those exact NVidia settings set globally, and il2fb.exe isn't overriding them. It seems the 0% usage only happens when the mission itself is running at low FPS. I tried anoher QMB mission quickly and with 4x16 planes, the GPU went up to 12%ish usage and it ran at 60FPS, so it's definitely getting used.

Re-loaded my benchmark France mission. On the runway as an He 111 looking toward our flight and out onto the horizon, stats are as follows:

Full speed:
GPU 1%, 49C
Mem 2724MB
CPU 16%
RAM 5074 MB
OGL 2FPS

1/2 speed:
GPU 4% 49C
Mem 2727MB
CPU 12%
RAM 5056MB
OGL 18FPS

1/4 speed:
GPU 5% 49C
Mem 2724MB
CPU 13%
RAM 5052MB
OGL 28FPS
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 23, 2019, 02:08:18 AM
CPU 16% means that your CPU is the limiting factor.
Your Ryzen 5 1600 is a 6 core CPU, IL-2 is single core only, which means the maximum it can get is 16%.
Question is: What makes your CPU run into throttling?
Only things I could think of are wrong powerplan settings, overclocking attempt gone wrong, CPU Fan blocked or grease misplaced -> thermal throttling.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on July 23, 2019, 10:39:43 AM
I'm not sure I understand, Mike. If you say IL-2 can't get more than 16% CPU, that shouldn't mean it's throttling, but that it simply cannot get more CPU usage than that due to the game's limitations?
In any case, I checked the powerplan and overclocking - nothing odd going on there. Haven't had time to check the interior but I wouldn't know exactly what I'm looking for in there.

In my tests with other performance-heavy games, the CPU usage can go up way above 16%, as does the GPU. It seems to only be IL-2 that's doing this.

Here's another screenshot of the issue, this time with GPUZ running as well, which isn't ringing any bells to me:
(https://i.imgur.com/9C4SziV.jpg)
The first 1/6th or so of the graphs was when I was running the GPUZ performance test. You'll notice only then did I have a PerfCap Reason and the GPU Load went up.

EDIT: Mike, I just tried the mission in Dawn of Flight BAT to see if it made any difference. And it runs at 60FPS, even though all planes are still in the mission, replaced with Fokkers instead.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on July 23, 2019, 11:35:29 PM
Should this imply that if you replace all planes in a certain mission by Fokkers, then everything's working well, but if you use the original planeset, it doesn't?
If so, I would expect to see errors in the log when the "real" planes are being used.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on August 09, 2019, 10:15:56 PM
Been busy recently but I've returned to say I've solved the problem!

The issue was the ProcessAffinityMask line in the conf.ini. I deleted my conf and started with a blank one (which resulted in the game suddenly running properly), pasting in parts of my old one section by section. Ultimately I figured out it was this line...no matter what it was set to, it completely deteriorated my performance. So I deleted the line and now we're running smoothly at last!

I'm not sure what exactly caused this to be the problem - I'd set the line to 0, 1 and a value calculated by the tool available here for my PC, and all of them caused unplayable lag. Thought you guys might want to know about this.

EDIT: Ugh, nevermind, that Battle of France mission is still unplayable. Even when I set the graphics to the lowest possible, it still doesn't run properly, and my GPU usage remains at 1% max. I'm coming to believe that this is the problem...why won't the game utilize my GPU?
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on August 10, 2019, 12:09:07 AM
Check your CPU temps.
Looks like a throttling issue to me, as mentioned here:
Question is: What makes your CPU run into throttling?
Only things I could think of are wrong powerplan settings, overclocking attempt gone wrong, CPU Fan blocked or grease misplaced -> thermal throttling.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on August 10, 2019, 12:21:00 AM
Temps are fine. Again, my PC doesn't have bottlenecking issues with anything else I've tried. I've never had CPU usage reach 100% despite running some other performance-hungry games.

After another night of testing, I've noticed that the GPU usage only tanks when the game is getting a time overflow message. When running a mission at 60 FPS, the usage usually hovers around 12-17%, sometimes a bit higher when there's a lot of smoke and explosions.

Here's the log from the latest unplayable mission, a QMB mission over Summer Slovakia. I spawned the maximum amount of planes (16 flights of 4 = 64 planes) in the mission, started on the ground and was welcomed with a nice 2 FPS and Time Overflow messages everywhere. The performance deteriorates significantly the more planes I have in a mission...with half the amount of planes, the game suddenly runs at 60 FPS (until you get up to 4x speed) on any map. Seems like the game simply isn't able to process many planes.

The log:

Code: [Select]
[2019-08-10 06:04:40.992] dT: -476 Loading mission QuickQMBPro/BAT_Slovakia_summer/BAT_Slovakia_summerRedScramble00.mis...
[2019-08-10 06:04:41.060] dT:    0 Y=1940 / M=8 / H= 7 , Temperature - 0m = 13.0 .
[2019-08-10 06:04:41.060] dT:    0 Loading map.ini defined airfields:
[2019-08-10 06:04:41.060] dT:    0 Detected Vertex Shaders 3.0.
[2019-08-10 06:04:41.061] dT:    0 *** Detected Shaders 4.0. NVidia 8XXX+ series!!!
[2019-08-10 06:04:41.061] dT:    0 Vertex texture units: 32
[2019-08-10 06:04:41.061] dT:    0
[2019-08-10 06:04:41.310] dT:    0 WARNING: ObjectVACache_Clear()
[2019-08-10 06:04:41.310] dT:    0 WARNING: * Buf0 : Obj: 4,  Vert 48,  Ind 156
[2019-08-10 06:04:41.312] dT:    0 WARNING: * Buf1 : Obj: 203,  Vert 28570,  Ind 64287
[2019-08-10 06:04:41.315] dT:    0 WARNING: * Buf2 : Obj: 39,  Vert 12014,  Ind 19716
[2019-08-10 06:04:46.528] dT:    0 PBuffer: suitable formats: 12
[2019-08-10 06:04:46.528] dT:    0
[2019-08-10 06:04:46.534] dT:    0 Created a 256x256 RenderTexture with BPP(8, 8, 8, 8)
[2019-08-10 06:04:46.534] dT:    0 Depth = 24, stencil = 8
[2019-08-10 06:04:46.561] dT:    0 PBuffer: suitable formats: 12
[2019-08-10 06:04:46.561] dT:    0
[2019-08-10 06:04:46.566] dT:    0 Created a 512x512 RenderTexture with BPP(8, 8, 8, 8)
[2019-08-10 06:04:46.566] dT:    0 Depth = 24, stencil = 8
[2019-08-10 06:04:55.964] dT:    0 Loading vertex/fragment programs: *706031240*
[2019-08-10 06:04:55.964] dT:    0 *** Loading: [vpFogFar2Tex2D]
[2019-08-10 06:04:55.965] dT:    0 *** Loading: [vpFog2Tex2DBlend]
[2019-08-10 06:04:55.965] dT:    0 *** Loading: [vpFogFar4Tex2D]
[2019-08-10 06:04:55.966] dT:    0 *** Loading: [vpFogFar8Tex2D]
[2019-08-10 06:04:55.966] dT:    0 *** Loading: [vpFogNoTex]
[2019-08-10 06:04:55.966] dT:    0 *** Loading: [vpFog4Tex2D]
[2019-08-10 06:04:55.967] dT:    0 *** Loading: [vpFog4Tex2D_UV2]
[2019-08-10 06:04:55.967] dT:    0 *** Loading: [vp4Tex2D]
[2019-08-10 06:04:55.967] dT:    0 *** Loading: [vp6Tex2D]
[2019-08-10 06:04:55.968] dT:    0 *** Loading: [vpTexUVTex2D]
[2019-08-10 06:04:55.968] dT:    0 *** Loading: [vpWaterGrid_NV]
[2019-08-10 06:04:55.968] dT:    0 *** Loading: [vpWaterSunLight_NV]
[2019-08-10 06:04:55.968] dT:    0 *** Loading: [vpWaterSunLight_ATI]
[2019-08-10 06:04:55.969] dT:    0 *** Loading: [vpWaterSunLight_FP]
[2019-08-10 06:04:55.970] dT:    0 *** Loading: [vpTreeSprite]
[2019-08-10 06:04:55.970] dT:    0 *** Loading: [vpTreeTrunk]
[2019-08-10 06:04:55.971] dT:    0 *** Loading: [vpVAObjectsN]
[2019-08-10 06:04:55.971] dT:    0 *** Loading: [vpVAObjectsL0]
[2019-08-10 06:04:55.972] dT:    0 *** Loading: [vpSprites]
[2019-08-10 06:04:55.972] dT:    0 *** Loading: [vpSimpleGL]
[2019-08-10 06:04:55.972] dT:    0 *** Loading: [fpWaterSunLightFast] -> NV3X Optimized!
[2019-08-10 06:04:55.973] dT:    0 *** Loading: [fpWaterSunLight] -> NV3X Optimized!
[2019-08-10 06:04:55.973] dT:    0 *** Loading: [fpWaterSunLightBest] -> NV3X Optimized!
[2019-08-10 06:04:55.974] dT:    0 *** Loading: [fpCoastBump] -> NV3X Optimized!
[2019-08-10 06:04:55.974] dT:    0 *** Loading: [fpCoastFoam] -> NV3X Optimized!
[2019-08-10 06:04:55.975] dT:    0 *** Loading: [fpCoastFoamFast] -> NV3X Optimized!
[2019-08-10 06:04:55.976] dT:    0 *** Loading: [fpCoastFoamFarFogTex] -> NV3X Optimized!
[2019-08-10 06:04:55.976] dT:    0 *** Loading: [fpCausticSimple] -> NV3X Optimized!
[2019-08-10 06:04:55.977] dT:    0 *** Loading: [fpCaustic] -> NV3X Optimized!
[2019-08-10 06:04:55.977] dT:    0 *** Loading: [fpSprites] -> NV3X Optimized!
[2019-08-10 06:04:55.977] dT:    0 *** Loading: [fpObjectsL0] -> NV3X Optimized!
[2019-08-10 06:04:55.978] dT:    0 *** Loading: [fpObjectsL0_2L] -> NV3X Optimized!
[2019-08-10 06:04:55.978] dT:    0 *** Loading: [fpSimpleGL]
[2019-08-10 06:04:55.978] dT:    0 *** Loading: [fpNearLandFog] -> NV3X Optimized!
[2019-08-10 06:04:55.978] dT:    0 *** Loading: [fpFarLandFog] -> NV3X Optimized!
[2019-08-10 06:04:55.979] dT:    0 *** Loading: [fpRiverCoastAA]
[2019-08-10 06:04:55.979] dT:    0 *** Loading: [vpWaterDM_GPU] -> NV4X Optimized!
[2019-08-10 06:04:55.980] dT:    0 *** Loading: [vpWaterDM_GPU8800] -> NV5X Optimized!
[2019-08-10 06:04:55.981] dT:    0 *** Loading: [fpCoastFoam8800] -> NV5X Optimized!
[2019-08-10 06:04:55.982] dT:    0 *** Loading: [fpCoastFoamFarFogTex8800] -> NV5X Optimized!
[2019-08-10 06:04:55.983] dT:    0 *** Loading: [fpCoastBump8800] -> NV5X Optimized!
[2019-08-10 06:04:55.984] dT:    0 *** Loading: [vpWaterDM_CPU]
[2019-08-10 06:04:55.984] dT:    0 *** Loading: [fpWaterNearDM] -> NV4X Optimized!
[2019-08-10 06:04:55.985] dT:    0 *** Loading: [fpWaterMiddleDM] -> NV4X Optimized!
[2019-08-10 06:04:55.986] dT:    0 *** Loading: [fpWaterFarDM] -> NV4X Optimized!
[2019-08-10 06:04:55.986] dT:    0 *** Loading: [fpWaterDM_CPU] -> NV3X Optimized!
[2019-08-10 06:04:55.987] dT:    0 *** Loading: [fpWaterDM_CPULo] -> NV3X Optimized!
[2019-08-10 06:04:55.988] dT:    0 *** Loading: [fpWaterNearDM8800] -> NV5X Optimized!
[2019-08-10 06:04:55.989] dT:    0 *** Loading: [fpWaterMiddleDM8800] -> NV5X Optimized!
[2019-08-10 06:04:55.990] dT:    0 *** Loading: [fpWaterFarDM8800] -> NV5X Optimized!
[2019-08-10 06:04:55.990] dT:    0 *** Loading: [fpWaterLFogDM8800] -> NV5X Optimized!
[2019-08-10 06:04:55.990] dT:    0 *** Loading: [fpWaterLFogDM]
[2019-08-10 06:04:55.991] dT:    0 *** Loading: [fpIceWater] -> NV3X Optimized!
[2019-08-10 06:04:55.991] dT:    0 *** Loading: [fpNearNoBlend] -> NV3X Optimized!
[2019-08-10 06:04:55.991] dT:    0 *** Loading: [fpNearNoBlendNoise] -> NV3X Optimized!
[2019-08-10 06:04:55.991] dT:    0 *** Loading: [fpNearBlend] -> NV3X Optimized!
[2019-08-10 06:04:55.992] dT:    0 *** Loading: [fpNearBlendNoise] -> NV3X Optimized!
[2019-08-10 06:04:55.992] dT:    0 *** Loading: [fpFarBlend] -> NV3X Optimized!
[2019-08-10 06:04:55.992] dT:    0 *** Loading: [fpForestPlane] -> NV3X Optimized!
[2019-08-10 06:04:55.993] dT:    0 *** Loading: [fpForestPlaneNoise] -> NV3X Optimized!
[2019-08-10 06:04:55.993] dT:    0 *** Loading: [fpForestPlaneEdges] -> NV3X Optimized!
[2019-08-10 06:04:55.993] dT:    0 *** Loading: [fpForestPlaneEdgesNoise] -> NV3X Optimized!
[2019-08-10 06:04:56.508] dT:    0 Load bridges
[2019-08-10 06:04:56.578] dT:    0 Load static objects
[2019-08-10 06:04:57.623] dT:    0 ##### House without collision (3do/Tree/Tree2.sim)
[2019-08-10 06:04:58.184] dT:    0 ##### House without collision (3do/Buildings/Furniture/10x1_5_White/mono.sim)
[2019-08-10 06:04:59.590] dT:    0 ##### House without collision (3do/Buildings/46/MGTrench/live.sim)
[2019-08-10 06:05:00.344] dT:    0 ##### House without collision (3do/Trains/PRVZb_B/body.sim)
[2019-08-10 06:05:02.657] dT:    0 INTERNAL ERROR: Str2FloatClamp() - Clamped 5 -> 2 (delta = -3) to Range 0..2
[2019-08-10 06:05:02.680] dT:    0 INTERNAL ERROR: Str2FloatClamp() - Clamped 2e+006 -> 1e+006 (delta = -1e+006) to Range 0..1e+006
[2019-08-10 06:05:02.942] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL4_D0'
[2019-08-10 06:05:02.942] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL5_D0'
[2019-08-10 06:05:02.942] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL6_D0'
[2019-08-10 06:05:02.942] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR4_D0'
[2019-08-10 06:05:02.942] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR5_D0'
[2019-08-10 06:05:02.942] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR6_D0'
[2019-08-10 06:05:02.956] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL4_D0'
[2019-08-10 06:05:02.957] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL5_D0'
[2019-08-10 06:05:02.957] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL6_D0'
[2019-08-10 06:05:02.957] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR4_D0'
[2019-08-10 06:05:02.957] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR5_D0'
[2019-08-10 06:05:02.957] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR6_D0'
[2019-08-10 06:05:02.968] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL4_D0'
[2019-08-10 06:05:02.968] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL5_D0'
[2019-08-10 06:05:02.969] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL6_D0'
[2019-08-10 06:05:02.969] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR4_D0'
[2019-08-10 06:05:02.969] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR5_D0'
[2019-08-10 06:05:02.969] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR6_D0'
[2019-08-10 06:05:02.986] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL4_D0'
[2019-08-10 06:05:02.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL5_D0'
[2019-08-10 06:05:02.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearL6_D0'
[2019-08-10 06:05:02.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR4_D0'
[2019-08-10 06:05:02.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR5_D0'
[2019-08-10 06:05:02.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearR6_D0'
[2019-08-10 06:05:08.324] dT:    0 1>mp_dotrange FRIENDLY   DOT 12.000001 COLOR 3.0000002 RANGE 5.0 TYPE 3.0000002 ID 0.25 NAME 0.25 ALTICON 3.0000002 ALTSYMBOL + ALTCOLOR 17
[2019-08-10 06:05:08.327] dT:    0 1>mp_dotrange FOE  DOT 12.000001 COLOR 3.0000002 RANGE 5.0 TYPE 3.0000002 ID 0.25 NAME 0.25 ALTICON 3.0000002 ALTSYMBOL - ALTCOLOR 0
[2019-08-10 06:05:08.341] dT:    0 Mission: QuickQMBPro/BAT_Slovakia_summer/BAT_Slovakia_summerRedScramble00.mis is Playing
[2019-08-10 06:05:08.976] dT:    0 Time overflow (0): speed 0.9448819
[2019-08-10 06:05:08.984] dT:    1 INTERNAL ERROR: HierMesh: Can't find chunk 'OilRad_D0'
[2019-08-10 06:05:08.986] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearC1_D0'
[2019-08-10 06:05:08.986] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'OilRad_D0'
[2019-08-10 06:05:08.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearC1_D0'
[2019-08-10 06:05:08.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'OilRad_D0'
[2019-08-10 06:05:08.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'HMask1_D0'
[2019-08-10 06:05:08.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearC1_D0'
[2019-08-10 06:05:08.987] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'OilRad_D0'
[2019-08-10 06:05:08.988] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'GearC1_D0'
[2019-08-10 06:05:09.009] dT:    1 INTERNAL ERROR: HierMesh: Can't find chunk 'HMask1_D0'
[2019-08-10 06:05:09.014] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap03_D0'
[2019-08-10 06:05:09.014] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap04_D0'
[2019-08-10 06:05:09.027] dT:    1 INTERNAL ERROR: HierMesh: Can't find chunk 'HMask1_D0'
[2019-08-10 06:05:09.053] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap03_D0'
[2019-08-10 06:05:09.053] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap04_D0'
[2019-08-10 06:05:09.073] dT:    1 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap03_D0'
[2019-08-10 06:05:09.073] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap04_D0'
[2019-08-10 06:05:09.087] dT:    1 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap03_D0'
[2019-08-10 06:05:09.087] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap04_D0'
[2019-08-10 06:05:09.477] dT:   25 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap03_D0'
[2019-08-10 06:05:09.477] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap04_D0'
[2019-08-10 06:05:09.685] dT:   14 INTERNAL ERROR: HierMesh: Can't find chunk 'HMask1_D0'
[2019-08-10 06:05:10.580] dT:   30 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap03_D0'
[2019-08-10 06:05:10.580] dT:    0 INTERNAL ERROR: HierMesh: Can't find chunk 'Flap04_D0'
[2019-08-10 06:06:00.491] dT: 1816 Time overflow (1890): speed 0.877193
[2019-08-10 06:06:00.650] dT:   20 Time overflow (1910): speed 0.9433962
[2019-08-10 06:06:00.806] dT:   20 Time overflow (1930): speed 0.96153843
[2019-08-10 06:06:00.959] dT:   20 Time overflow (1950): speed 0.98039216
[2019-08-10 06:06:01.421] dT:   60 Time overflow (2010): speed 0.93167704
[2019-08-10 06:06:01.590] dT:   20 Time overflow (2030): speed 0.88757396
[2019-08-10 06:06:01.765] dT:   20 Time overflow (2050): speed 0.85714287
[2019-08-10 06:06:01.933] dT:   20 Time overflow (2070): speed 0.89285713
[2019-08-10 06:06:02.095] dT:   20 Time overflow (2090): speed 0.9259259
[2019-08-10 06:06:02.258] dT:   20 Time overflow (2110): speed 0.9202454
[2019-08-10 06:06:02.411] dT:   20 Time overflow (2130): speed 0.97402596
[2019-08-10 06:06:02.567] dT:   20 Time overflow (2150): speed 0.9677419
[2019-08-10 06:06:02.881] dT:   41 Time overflow (2191): speed 0.90909094
[2019-08-10 06:06:03.035] dT:   20 Time overflow (2211): speed 0.97402596

[Aug 10, 2019 6:06:11 AM] -------------- END log session -------------

I've also recently heard about the Garbage Collection system in IL-2, though I couldn't find an explanation as to what it does. What is gc.cmd? I don't have anything with that name in my root IL-2 folder, and trying to run "gc" as a console command doesn't work...could that be part of the issue?
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on August 10, 2019, 12:38:03 AM
Forget about gc and forget about anything like a general limit of 64 planes or such.
BAT 3.6 will run a mission with 100+ planes flawlessly for anyone else.

Ever considered a fresh reinstall?

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on August 10, 2019, 12:55:37 AM
I already tried a fresh reinstall without any additional tinkering, it made zero difference. Installed Il-2, then patched to the correct version, then installed every BAT package in the correct order. Loaded up the same old France mission and there was no difference in performance. Wasted an entire day on that...

Just swapped over to JetWar and did the same thing as before...16x4 planes QMB Slovakia summer. Same situation, 1 FPS. So now it's evident that no matter what I'm running, 50 planes = unplayable.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on August 10, 2019, 05:25:05 AM
It's also evident though that no one else suffers from any of this, so it has to be something specific to your PC.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on August 10, 2019, 11:37:04 AM
Could this have anything to do with it? It seems every time I run the game, it creates one of these "hs_err_pid_#####.log" files. I haven't noticed these being created when running the game on my old PC.

Code: [Select]
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77305702
Function name=RtlGetCurrentServiceSessionId
Library=C:\WINDOWS\SYSTEM32\ntdll.dll

Current Java thread:
at com.maddox.opengl.Provider.nGetGLCaps(Native Method)
at com.maddox.opengl.Provider.getGLCaps(Provider.java:136)
at com.maddox.il2.engine.Config.PALGetCardCaps(Unknown Source)
at com.maddox.il2.engine.Config.createGlContext(Unknown Source)
at com.maddox.il2.engine.Config.createGlContext(Unknown Source)
at com.maddox.il2.game.Main3D.beginApp(Main3D.java:1474)
at com.maddox.il2.game.MainWin3D.beginApp(MainWin3D.java:212)
at com.maddox.il2.game.Main.exec(Main.java:405)
at com.maddox.il2.game.GameWin3D.main(GameWin3D.java:235)

Dynamic libraries:
0x00400000 - 0x0049A000 D:\Games\IL-2 Sturmovik 1946\il2fb.exe
0x772C0000 - 0x7745C000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x74DD0000 - 0x74EB0000 C:\WINDOWS\System32\KERNEL32.DLL
0x74BD0000 - 0x74DCA000 C:\WINDOWS\System32\KERNELBASE.dll
0x72C80000 - 0x72D1C000 C:\WINDOWS\SYSTEM32\apphelp.dll
0x72120000 - 0x723A7000 C:\WINDOWS\SYSTEM32\AcLayers.DLL
0x75880000 - 0x75940000 C:\WINDOWS\System32\msvcrt.dll
0x76530000 - 0x766C9000 C:\WINDOWS\System32\USER32.dll
0x76870000 - 0x76887000 C:\WINDOWS\System32\win32u.dll
0x75750000 - 0x75773000 C:\WINDOWS\System32\GDI32.dll
0x770B0000 - 0x77216000 C:\WINDOWS\System32\gdi32full.dll
0x75670000 - 0x756F0000 C:\WINDOWS\System32\msvcp_win.dll
0x76F70000 - 0x77092000 C:\WINDOWS\System32\ucrtbase.dll
0x759A0000 - 0x75EEE000 C:\WINDOWS\System32\SHELL32.dll
0x77270000 - 0x772AB000 C:\WINDOWS\System32\cfgmgr32.dll
0x74EB0000 - 0x74F39000 C:\WINDOWS\System32\shcore.dll
0x76EB0000 - 0x76F6F000 C:\WINDOWS\System32\RPCRT4.dll
0x74930000 - 0x74950000 C:\WINDOWS\System32\SspiCli.dll
0x74920000 - 0x7492A000 C:\WINDOWS\System32\CRYPTBASE.dll
0x764C0000 - 0x76522000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x752C0000 - 0x75339000 C:\WINDOWS\System32\sechost.dll
0x75040000 - 0x752B8000 C:\WINDOWS\System32\combase.dll
0x768B0000 - 0x76EAC000 C:\WINDOWS\System32\windows.storage.dll
0x74B20000 - 0x74B9E000 C:\WINDOWS\System32\advapi32.dll
0x76890000 - 0x768AC000 C:\WINDOWS\System32\profapi.dll
0x763C0000 - 0x76414000 C:\WINDOWS\System32\powrprof.dll
0x77220000 - 0x77264000 C:\WINDOWS\System32\shlwapi.dll
0x74BC0000 - 0x74BCF000 C:\WINDOWS\System32\kernel.appcore.dll
0x74B00000 - 0x74B12000 C:\WINDOWS\System32\cryptsp.dll
0x76420000 - 0x764B6000 C:\WINDOWS\System32\OLEAUT32.dll
0x75EF0000 - 0x7633B000 C:\WINDOWS\System32\SETUPAPI.dll
0x763A0000 - 0x763B9000 C:\WINDOWS\System32\bcrypt.dll
0x73080000 - 0x73098000 C:\WINDOWS\SYSTEM32\MPR.dll
0x66680000 - 0x66683000 C:\WINDOWS\SYSTEM32\sfc.dll
0x71FA0000 - 0x7200B000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
0x71E20000 - 0x71F9E000 C:\WINDOWS\SYSTEM32\PROPSYS.dll
0x73040000 - 0x73073000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x72D90000 - 0x72D9F000 C:\WINDOWS\SYSTEM32\sfc_os.DLL
0x74950000 - 0x74975000 C:\WINDOWS\System32\IMM32.DLL
0x73010000 - 0x73034000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x6E5E0000 - 0x6E64C000 D:\Games\IL-2 Sturmovik 1946\DINPUT.dll
0x72FE0000 - 0x73003000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
0x6D420000 - 0x6D4EF000 D:\Games\IL-2 Sturmovik 1946\bin\hotspot\jvm.dll
0x6D220000 - 0x6D227000 D:\Games\IL-2 Sturmovik 1946\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 D:\Games\IL-2 Sturmovik 1946\bin\verify.dll
0x6D250000 - 0x6D266000 D:\Games\IL-2 Sturmovik 1946\bin\java.dll
0x6D3C0000 - 0x6D3CD000 D:\Games\IL-2 Sturmovik 1946\bin\zip.dll
0x6E5B0000 - 0x6E5DE000 D:\Games\IL-2 Sturmovik 1946\wrapper.dll
0x68380000 - 0x683A7000 D:\Games\IL-2 Sturmovik 1946\DT.dll
0x48E70000 - 0x48E7A000 D:\Games\IL-2 Sturmovik 1946\pathfind.dll
0x48E80000 - 0x4BD46000 D:\Games\IL-2 Sturmovik 1946\il2_core.dll
0x7C360000 - 0x7C3B6000 D:\Games\IL-2 Sturmovik 1946\MSVCR71.dll
0x4BD50000 - 0x4BD73000 D:\Games\IL-2 Sturmovik 1946\jgl.dll
0x5C900000 - 0x5C93A000 D:\Games\IL-2 Sturmovik 1946\il2_usgs2.dll
0x756F0000 - 0x7574F000 C:\WINDOWS\System32\WS2_32.dll
0x5D190000 - 0x5D207000 D:\Games\IL-2 Sturmovik 1946\mg_snd_sse.dll
0x6F980000 - 0x6F9B7000 C:\WINDOWS\SYSTEM32\dinput8.dll
0x72030000 - 0x7203B000 C:\WINDOWS\SYSTEM32\HID.DLL
0x6F8E0000 - 0x6F971000 C:\WINDOWS\SYSTEM32\inputhost.dll
0x6F6A0000 - 0x6F72F000 C:\WINDOWS\SYSTEM32\CoreMessaging.dll
0x6F730000 - 0x6F8D3000 C:\WINDOWS\SYSTEM32\twinapi.appcore.dll
0x6ECF0000 - 0x6EF5A000 C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
0x6EF60000 - 0x6F468000 C:\WINDOWS\SYSTEM32\d2d1.dll
0x6F470000 - 0x6F699000 C:\WINDOWS\SYSTEM32\d3d11.dll
0x71260000 - 0x7133B000 C:\WINDOWS\SYSTEM32\wintypes.dll
0x72DA0000 - 0x72DBE000 C:\WINDOWS\SYSTEM32\RMCLIENT.dll
0x72D60000 - 0x72D89000 C:\WINDOWS\SYSTEM32\ntmarta.dll
0x719E0000 - 0x71A84000 C:\WINDOWS\SYSTEM32\dxgi.dll
0x713C0000 - 0x713E3000 C:\WINDOWS\SYSTEM32\DEVOBJ.dll
0x75950000 - 0x75995000 C:\WINDOWS\System32\WINTRUST.dll
0x75510000 - 0x7551E000 C:\WINDOWS\System32\MSASN1.dll
0x766D0000 - 0x76869000 C:\WINDOWS\System32\CRYPT32.dll
0x72410000 - 0x7248B000 C:\WINDOWS\system32\uxtheme.dll
0x6D340000 - 0x6D348000 D:\Games\IL-2 Sturmovik 1946\bin\net.dll
0x6E5A0000 - 0x6E5A8000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x6ECD0000 - 0x6ECE1000 C:\WINDOWS\system32\napinsp.dll
0x6ECB0000 - 0x6ECC6000 C:\WINDOWS\system32\pnrpnsp.dll
0x71980000 - 0x71990000 C:\WINDOWS\system32\wshbth.dll
0x6EC90000 - 0x6ECA6000 C:\WINDOWS\system32\NLAapi.dll
0x72E50000 - 0x72EA2000 C:\WINDOWS\System32\mswsock.dll
0x730A0000 - 0x73130000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x74AF0000 - 0x74AF7000 C:\WINDOWS\System32\NSI.dll
0x710D0000 - 0x710DB000 C:\WINDOWS\System32\winrnr.dll
0x6E390000 - 0x6E469000 C:\WINDOWS\SYSTEM32\Opengl32.dll
0x6E560000 - 0x6E59F000 C:\WINDOWS\SYSTEM32\GLU32.dll
0x75340000 - 0x7547E000 C:\WINDOWS\System32\MSCTF.dll
0x5EEB0000 - 0x5F109000 D:\Software\RivaTuner Statistics Server\RTSSHooks.dll
0x72D20000 - 0x72D46000 C:\WINDOWS\system32\dwmapi.dll
0x60A00000 - 0x60A86000 C:\WINDOWS\System32\TextInputFramework.dll
0x60A90000 - 0x627CB000 C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_4b310b124a4f2d9f\nvoglv32.dll
0x75780000 - 0x7587C000 C:\WINDOWS\System32\ole32.dll
0x73BC0000 - 0x73BCF000 C:\WINDOWS\SYSTEM32\WTSAPI32.dll
0x73B80000 - 0x73B88000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x627D0000 - 0x629E5000 C:\WINDOWS\system32\nvspcap.dll
0x74BA0000 - 0x74BB9000 C:\WINDOWS\System32\imagehlp.dll
0x71C90000 - 0x71E1F000 C:\WINDOWS\System32\dbghelp.dll
0x770A0000 - 0x770A6000 C:\WINDOWS\System32\PSAPI.DLL

Local Time = Fri Aug 09 23:49:33 2019
Elapsed Time = 14
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 compiled mode)
#
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~Storebror on August 10, 2019, 11:44:58 AM
Let's agree that it's definitely not normal.

]cheers[
Mike
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on August 10, 2019, 11:50:41 AM
So does anyone know what these errors are?

Actually, it seems these are generated when I try to run the game and it immediately crashes, which isn't every time, but it tends to happen when I haven't run the game for a while and it's been unloaded from my hard drive as the game is running off of an SSHD.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on October 05, 2019, 02:45:56 AM
Still trying to solve this issue, I played around in the BIOS a bit to no avail (tried enabling virtualization, but that didn't help). However, I did discover something rather odd in Task Manager:

(https://i.imgur.com/PbqYsFU.png)

It seems the game is only running off of one processor. The others aren't doing anything. What's strange is that it's only the second one it's utilizing, even though I have ProcessAffinityMask set up so that it should use all 6+6 for the hyperthreading (ProcessAffinityMask=4095). Also notable is that my PC's RAM usage only hits 51%. These same results occured when I tried my Battle of France mission, which still isn't playable. You can see the Rivatuner results in the top left.

I was also wondering what kind of performance people are getting when they look at the city of Brest on the Belarus (the non-reworked one) map in FMB. Once I've zoomed in close enough for the actual buildings to load in, my performance drops from FPS in the hundreds down to 6ish FPS. Move around a bit so that only part of the city is in view, suddenly it jumps to 30. I'm wondering if it's like that for everyone or just me?

Any ideas?

EDIT: Also worth noting is that I have SAS Selector set to use 2048 mb of RAM. However changing this value doesn't seem to do much other than increase the game's RAM usage - I've tried 512 and 1024. The selector also tells me I don't have 2048 of virtual memory to use, despite the fact that I do (RAM is 8GB, paging file is 4096MB, I think).
Title: Re: Performance Issues in BAT: The Blitz?
Post by: SAS~vampire_pilot on October 05, 2019, 03:28:06 AM
Quote
It seems the game is only running off of one processor. The others aren't doing anything.

That's IL-2 for you. It is ancient. It can't run on more than one processor core.

Quote
I was also wondering what kind of performance people are getting when they look at the city of Brest on the Belarus (the non-reworked one) map in FMB. Once I've zoomed in close enough for the actual buildings to load in, my performance drops from FPS in the hundreds down to 6ish FPS.

FPS drops over overpopulated city areas is normal. If your system is weak, than it will be more visible.
Map builders can make your game crumble away while trying to build a superb looking city... There is such a thing as too many details in Il-2.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: vpmedia on October 05, 2019, 03:39:22 AM
That's correct. The game only runs on one core by default, you can have Windows run on one core and the game run on a different core, but it makes no noticeable difference in the games performance. Large cities can cause fps drops even in the stock game on stock maps, Berlin and Leningrad are good examples.
Some modded maps are even worse, for example on the Poland map most cities showed 30-40 fps drop and needed much reworking before they became playable. Some objects imported from Theatre of War have high polygon count and it's not recommended to place them in large number on maps. I had to fix dozens of maps which included too many or wrong type of objects. If you want your IL-2 1946 to run well you have to invest into a really fast processor and maybe use 1080p instead of 4k.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: vpmedia on October 05, 2019, 03:42:47 AM
I forgot about one more, important thing. Repeating java errors can influence your fps in a negative way, so when you experience an fps drop always press shift+tab and check your console for error messages.
Title: Re: Performance Issues in BAT: The Blitz?
Post by: TheIdiot on October 05, 2019, 12:41:18 PM
Quote
It seems the game is only running off of one processor. The others aren't doing anything.

That's IL-2 for you. It is ancient. It can't run on more than one processor core.

Quote
I was also wondering what kind of performance people are getting when they look at the city of Brest on the Belarus (the non-reworked one) map in FMB. Once I've zoomed in close enough for the actual buildings to load in, my performance drops from FPS in the hundreds down to 6ish FPS.

FPS drops over overpopulated city areas is normal. If your system is weak, than it will be more visible.
Map builders can make your game crumble away while trying to build a superb looking city... There is such a thing as too many details in Il-2.
Okay, that definitely makes sense. I just finished reading another thread by vpmedia, who mentioned the second point as someone was having serious FPS drops over Berlin. Sure enough, I checked out the Berlin map which was reworked by vpmedia and I got a constant 30+ FPS over Berlin. Now I'm starting to think I need to start manually editing maps and remove buildings so the game is playable (Westfront and Channel maps in particular).

That's correct. The game only runs on one core by default, you can have Windows run on one core and the game run on a different core, but it makes no noticeable difference in the games performance. Large cities can cause fps drops even in the stock game on stock maps, Berlin and Leningrad are good examples.
Some modded maps are even worse, for example on the Poland map most cities showed 30-40 fps drop and needed much reworking before they became playable. Some objects imported from Theatre of War have high polygon count and it's not recommended to place them in large number on maps. I had to fix dozens of maps which included too many or wrong type of objects. If you want your IL-2 1946 to run well you have to invest into a really fast processor and maybe use 1080p instead of 4k.
Hmm, so then what's the point in using ProcessAffinityMask? As I mentioned before, I have it set so that it supposedly should run the game off of all 12 processors, yet it only uses the one. In fact, changing it to any value doesn't seem to do anything.
I can definitely say that my processor should be fast enough to handle large missions (AMD Ryzen 5 1600 - PassMark gives it a 12278, comparable to an I7 7700k), and I don't even have a 4K monitor - as you can see in my screenshots, my PC is running at 1920x1080. I'm wondering if the reason my performance was much better in the VP Modpack was because it contained mostly reworked maps, while BAT seems to contain basically everything map-wise with little quality control.

I forgot about one more, important thing. Repeating java errors can influence your fps in a negative way, so when you experience an fps drop always press shift+tab and check your console for error messages.
I'll keep that in mind. I generally don't get too many errors, though there are definitely some laggy missions which cause a lot of errors.