• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

sekelsenmat

Colonel
22 Badges
Aug 10, 2009
889
937
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Industries
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
Wish I could upvote the OP twice. Having to play with minimal graphics settings is a hindrance since I can't see where forts are, among other things.

If changing the graphics settings improves things for you it indicates that your graphics card sucks. Graphics are run on the GPU which is an independent processor.

In my computers lowering graphics doesn't change anything, there is clearly too much CPU usage, not GPU.
 
  • 2
  • 1Like
Reactions:

Zauberelefant

woke commie
18 Badges
Oct 26, 2011
1.792
1.624
  • Hearts of Iron III Collection
  • Darkest Hour
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
Well, true that they probably did some improvements, but every new large feature (think Garrison or fuel) or refactoring has the potential of making software slower if the implementation is suboptimal. So it is not necessaryly getting faster, I'd say it is getting slower.

True that little constructive discussion is possible, but maybe Paradox will notice the complaints and assign resources to it, which is a gain for gamers isn't it?

Someone volunteered to check if less divisions helps, this can be used to mod the game as a workaround, but even if the test shows division count is partly to blame, it is still just a symptom, the real reason is N (unknown number) suboptimal data structures or lack of cache somewhere related to a feature involving divisions. I think that a properly optimized solution should be able to handle millons of divisions.

Also sometimes Devs answer to threads like this with interesting comments
I think optimization can only get you so far and at some point, you need brute calculating power.
 
  • 1
Reactions:

sekelsenmat

Colonel
22 Badges
Aug 10, 2009
889
937
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Industries
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sword of Islam
I think optimization can only get you so far and at some point, you need brute calculating power.

It is true that it could theorically be the case, but I doubt that this game is close to the limit of optimization.

Also often optimizing leads to dramatic improvements in performance. An index in a database with a huge table for example can cause a query to go from taking days to taking nanoseconds.

Often you trade more RAM or HD usage for less CPU usage.
 
  • 3
  • 1Like
  • 1
Reactions:

GSP Jr

Colonel
15 Badges
Apr 27, 2017
1.159
983
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Semper Fi
One thing that always helps is to save and restart. Clears out things no longer needed and helps for a while.
 
  • 2
  • 1
Reactions:

Zauberelefant

woke commie
18 Badges
Oct 26, 2011
1.792
1.624
  • Hearts of Iron III Collection
  • Darkest Hour
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
It is true that it could theorically be the case, but I doubt that this game is close to the limit of optimization.

Also often optimizing leads to dramatic improvements in performance. An index in a database with a huge table for example can cause a query to go from taking days to taking nanoseconds.

Often you trade more RAM or HD usage for less CPU usage.

OK. Given the engine and the way the game is calculating a lot of stuff per tick, you feel there is a lot of potential speed available?
 

Iskulya

Lt. General
82 Badges
Jan 12, 2011
1.284
2.137
  • Sword of the Stars
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Magicka
  • Majesty 2
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Res Publica
  • Cities in Motion 2
  • Semper Fi
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris: Apocalypse
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III Complete
  • Knights of Honor
  • Europa Universalis III
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Stellaris
  • Victoria 2
  • Europa Universalis IV
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV: No Step Back
As I understand it from what the devs have said, one of the main bottlenecks is the way processor cores actually work. It's not really feasible, they say, to split a lot of the game's tasks between multiple cores as the latency issues would actually create a decrease in performance, thus the game's performance is strongly constrained by single core performance.

When you're dumping almost everything on just one core, there's only so fast it'll go. I'm not an engineer, I have no idea how difficult or feasible it would be to redesign the engine to be able to better take advantage of splitting tasks between multiple cores, but I can believe the devs at their word when they say it isn't easy.
 
  • 5Like
  • 1
Reactions:

mursolini

Field Marshal
16 Badges
Feb 1, 2014
3.353
3.539
  • Darkest Hour
  • Cities: Skylines
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II
I'm just suggesting that the devs might want to consider improving performance since, although not as severe as Stellaris or CK2 pre-Reaper's Due, late game lag is real in HOI4. How am I supposed to know how Total War Warhammer 2 or CK2 managed to solve the problem.
CK2 doesn't really have a huge growth of character numbers and army numbers, because fundamentally it is limited to the number of counties, that is static.
Total war is absolutely a different game, but it tends to have far fewer pieces.

In HOI4, you start in world with very few units, and then see each major field x10-30 times the units in early game, and those have to be controlled due to having a war, so of course late game will be a lot slower than early game, no way around it.
more than a problem of the game as such it is an engine problem. The end game lag is classic of the Clausewitz Engine, it is the same in EU, Imperator, Stellaris. In HOI 4 it is probably more accentuated for some factors, but it is an endemic problem of their own engine that obviously cannot be solved in this generation, unless some technical bases are modified.
More like game design issue, with game constantly increasing the number of pieces it has to take care of.
As I understand it from what the devs have said, one of the main bottlenecks is the way processor cores actually work. It's not really feasible, they say, to split a lot of the game's tasks between multiple cores as the latency issues would actually create a decrease in performance, thus the game's performance is strongly constrained by single core performance.

When you're dumping almost everything on just one core, there's only so fast it'll go. I'm not an engineer, I have no idea how difficult or feasible it would be to redesign the engine to be able to better take advantage of splitting tasks between multiple cores, but I can believe the devs at their word when they say it isn't easy.
IDK, I got quite a good increase in performance, especially late game from migration from 4 physical core CPU to 8core CPU. I doubt there was that large of an increase in single core performance of Intel processors over the period.
 
  • 3Like
  • 1
Reactions:

Hoi Neuling

General
38 Badges
Aug 30, 2012
2.059
639
  • Hearts of Iron III
  • Hearts of Iron IV: La Resistance
  • BATTLETECH - Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Apocalypse
  • Stellaris: Federations
  • Battle for Bosporus
  • Empire of Sin
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • 500k Club
  • Stellaris
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Galaxy Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Darkest Hour
  • King Arthur II
  • BATTLETECH: Season pass
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Arsenal of Democracy
I play with Mods to. But not with such Mods which destroy implemented cool new Stuff the Devs or her Helpers bring in / brought in. Only Mods for better Historical Feeling, missing Speeches as well as News and such.

with the last complete Rework for Garissions and the World Map about 150 to 300 Devisions lesser are on the Map, which reduces the Lagg-Problem.

And if there is a Devisions-Limiter for the USA, Sowjetunion and such big country’s you reduce the Lagg-Problem as a second Step. That‘s an nice Feature from Expert-AI.
 
Last edited:

STABBY5

Lt. General
58 Badges
Feb 13, 2016
1.257
1.145
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Stellaris: Necroids
  • Victoria 2
  • Battle for Bosporus
  • Stellaris: Nemesis
  • War of the Roses
  • Europa Universalis IV: El Dorado
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
As I understand it from what the devs have said, one of the main bottlenecks is the way processor cores actually work. It's not really feasible, they say, to split a lot of the game's tasks between multiple cores as the latency issues would actually create a decrease in performance, thus the game's performance is strongly constrained by single core performance.
They say a lot of things. Other companies manage to do this effectively. At the end of the day its really just about them not wanting to invest the money.
 
  • 3Like
Reactions:

SophieX

Major
May 9, 2014
558
505
I just created a small mod to double the amount of infantry-equipment needed for all infantry and infantry-sub-units...
I'm curious to see what will happen...
Keep us appraised, will you?
I will play 3 or 4 games with different countries and then I'll give a report.


Sadly, due to personal reasons I will not be able to make this 3 or 4 game-runs in the near future.

For unknown rerasons I couldn't upload the the mod
So if anyone will try it, here are the 2 files and please read carefully:


Open C:\...\User\Documents\Paradox Interactive\Hearts of Iron\mod
Create a folder named: Inf_Equip_x2
Open the new Inf_Equip_x2-folder and create the folder: common
Open the new common-folder and create the folder: units
Now copy the file: infantry.txt in the units-folder.
Copy the file Inf_Equip_x2.txt in the mod-folder AND rename it as: Inf_Equip_x2.mod ( because here you are not allowed to attache a xyz.mod - file )
 

Attachments

  • Inf_Equip_x2.txt
    109 bytes · Views: 0
  • infantry.txt
    6,9 KB · Views: 0
Last edited:

Mousetick

Major
93 Badges
Oct 13, 2012
689
1.400
  • Crusader Kings II: Monks and Mystics
  • Age of Wonders II
For unknown rerasons I couldn't upload the the mod
Only certain types of files are allowed to be uploaded to the forum, and .mod is not one of them.
You could pack your mod into a .zip file and upload that instead. Zip is allowed.
That should make installation of your experimental mod easier and less error-prone.
 
  • 1
Reactions:

Zauberelefant

woke commie
18 Badges
Oct 26, 2011
1.792
1.624
  • Hearts of Iron III Collection
  • Darkest Hour
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Europa Universalis IV
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
Obtain goods or services? Even if they aren't hiring/contracting additional skill programmers, there's an opportunity cost to dedicating people to anything that is not directly making games to sell.
Let's get real here, assume PDX put up money for the hoi4 Team - what's the money used for and how would that impact Performance exactly?
Because one thing i've learned is that money does not always solve issues.
 
  • 1Like
  • 1
Reactions:

Hoi Neuling

General
38 Badges
Aug 30, 2012
2.059
639
  • Hearts of Iron III
  • Hearts of Iron IV: La Resistance
  • BATTLETECH - Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Apocalypse
  • Stellaris: Federations
  • Battle for Bosporus
  • Empire of Sin
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • 500k Club
  • Stellaris
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Galaxy Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Darkest Hour
  • King Arthur II
  • BATTLETECH: Season pass
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Arsenal of Democracy
Hmm. Try playing HOI4 on a computer with 32 GB of RAM and an SSD, and you can say 'what lag?'.

Correct. Better you can´t say it. A medium high End or High End PC is the Stage of the Art. For about 1.500 Bucks to 1.800 Bucks you can get a very good Computer incl. Graphics Card from the prevouis Generation for the next 10 to 12 Years or longer incl. Win 10.

Not the Games are the Problem, it´s the overolded Laptop / PC with 20 Years Lifetime and Windows XP etc. which is doing the Laggs.
 
  • 5
Reactions: