Gateways+ trade routes = massive performance drop

  • 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.

Medu Salem

First Lieutenant
65 Badges
Nov 8, 2015
296
443
  • Stellaris: Galaxy Edition
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Federations
  • Stellaris: Apocalypse
  • Stellaris: Nemesis
  • Stellaris: Ancient Relics
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
  • Crusader Kings III
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Tyranny: Gold Edition
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
I did the same... built like 20 gateways in all my systems with tradeports... but I didn't suffer the performance issues.

Maybe because I always manually assigned the trade routes from the trade port to my home system... rather than letting it do that automatically.


The only real performance issues I am suffering from are:
1) Micro-stuttering when scrolling in midgame (but that has been reported several times already by others as well)
2) Extreme lag in the Resettlement screen once planets have 80+ pops. On my Ecunomopolis with 280 pops it takes like 30 seconds to scroll the list due to lag and another 30 before it registers the click to transfer a pop and another 30 seconds to register the click to close the window.
 

Dsingis

Lt. General
97 Badges
May 8, 2014
1.305
2.289
  • Europa Universalis 4: Emperor
  • Stellaris: Federations
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Tyranny - Bastards Wound
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Age of Wonders III
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Dharma
  • Imperator: Rome - Magna Graecia
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Shadowrun Returns
  • Hearts of Iron IV Sign-up
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • Warlock: Master of the Arcane
  • Europa Universalis IV: El Dorado
Hello everyone! Does anyone has a savegame (without mods pls) with the perfomance issue, so I could look into it?

I have written about this in more detail here, but to make it short, I tested this by opening a couple of gateways, checking performance, then manually deleting every gateway in the galaxy and check performance again.

With gateways, stuttering was heavy, without gateways, stuttering was severely decreased. It's still there, but it got much better.
 

Attachments

  • before.sav
    495,3 KB · Views: 5
  • After.sav
    494,5 KB · Views: 5
Last edited:

AlknicTeos

Erzmagier
105 Badges
Jan 30, 2006
1.831
164
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Digital Anniversary Edition
  • PDXCON 2018 "The King"
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Battle for Bosporus
  • PDXCon 2019 "King"
  • Europa Universalis IV
  • Victoria 2 A House Divided Beta
  • Surviving Mars
  • 500k Club
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • Victoria 2
  • Victoria: Revolutions
  • Imperator: Rome Deluxe Edition
  • Rome Gold
  • Cities: Skylines
  • Hearts of Iron III
  • Hearts of Iron IV: Colonel
  • March of the Eagles
  • Arsenal of Democracy
  • Crusader Kings II
  • Crusader Kings III: Royal Edition
  • Age of Wonders III
  • Majesty 2
  • Magicka
  • Europa Universalis III: Collection
  • A Game of Dwarves
  • Pride of Nations
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
here is another save with some gateways, a month takes about 60s-100s on my pc
 

Attachments

  • 1m100s.sav
    959 KB · Views: 6

AlknicTeos

Erzmagier
105 Badges
Jan 30, 2006
1.831
164
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Digital Anniversary Edition
  • PDXCON 2018 "The King"
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Battle for Bosporus
  • PDXCon 2019 "King"
  • Europa Universalis IV
  • Victoria 2 A House Divided Beta
  • Surviving Mars
  • 500k Club
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • Victoria 2
  • Victoria: Revolutions
  • Imperator: Rome Deluxe Edition
  • Rome Gold
  • Cities: Skylines
  • Hearts of Iron III
  • Hearts of Iron IV: Colonel
  • March of the Eagles
  • Arsenal of Democracy
  • Crusader Kings II
  • Crusader Kings III: Royal Edition
  • Age of Wonders III
  • Majesty 2
  • Magicka
  • Europa Universalis III: Collection
  • A Game of Dwarves
  • Pride of Nations
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
...
Maybe because I always manually assigned the trade routes from the trade port to my home system... rather than letting it do that automatically. ...
huh ? how to manually assign a trade route ?
 

Medu Salem

First Lieutenant
65 Badges
Nov 8, 2015
296
443
  • Stellaris: Galaxy Edition
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Federations
  • Stellaris: Apocalypse
  • Stellaris: Nemesis
  • Stellaris: Ancient Relics
  • Stellaris: Humanoids Species Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Lithoids
  • Stellaris: Necroids
  • Crusader Kings III
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Tyranny: Gold Edition
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
Btw I can see now why it may cause horrendous lag to some people. The problem is the projection range of trade hubs/hangars.

If you have a lot of gate ways then the starbases will project their collection/protection range even through the gateway to systems on the other side. If you have a lot of Gateways and large collection ranges then the starbases's projection ranges begin to overlap and stack on top of each other with each added gateway... Bye bye pirates even if the trade routes wouldn't go through the gateways. xD

It may be an idea to scrap all the starbases on the other side and let your home system's trade hub do all the job on its own using it's projection range through the gateways distributed all over the galaxy.

I like that idea... but I fear there is a nerf incoming once the devs figure it out.

huh ? how to manually assign a trade route ?

I'd like to know that too. Never saw any way to manually do this.

On the star base click on trade routes... and to select the target click right on the target starbase... it then should draw a route to that starbase, if one already exits it cancels the route.
 
Last edited:

#Tukuro

Second Lieutenant
79 Badges
Aug 14, 2018
164
0
  • Crusader Kings II
  • Europa Universalis IV
  • Victoria 2: A House Divided
  • Cities: Skylines Deluxe Edition
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings III: Royal Edition
  • Tyranny - Bastards Wound
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings II: Reapers Due
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • BATTLETECH
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
And here I was wondering why the Prethoryn obliterating every trade node in my (wormhole linked) galaxy was speeding up the game...
At first I thought it was because pops were being removed. But nope; the Prethoryn can't actually clear planets as of 2.2 (haven't tested with the Beta).
Then after I started rebuilding (Including rebuilding wormhole trading outposts...), performance dropped again..
 

and7rew

Recruit
82 Badges
May 28, 2012
6
0
  • Crusader Kings II: Charlemagne
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Cities: Skylines Deluxe Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Victoria 2
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: El Dorado
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Horse Lords
  • Stellaris: Galaxy Edition
  • 500k Club
  • Stellaris: Necroids
I wonder if it could also have any thing to do with another bug I encountered in which my ships start trying to path through wormholes and gateways as soon as I get the tech but before I explore or repair them.
 

PhoenixSepiroth

Recruit
48 Badges
Dec 10, 2018
1
0
viorel.tel
  • Imperator: Rome Sign Up
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Imperator: Rome
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Prison Architect: Psych Ward
  • Stellaris: Federations
  • Crusader Kings III
  • Empire of Sin
  • Empire of Sin - Deluxe Edition
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • King Arthur II
  • Victoria 2
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Crusader Kings II
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
I can confirm I have the exact same issue with gateways. I tried first to disable my trade notes, then my offworld trading companies, then my stations but to little avail, since the game is still extremely laggy. Wish I hadn't built any manual gateways (the game seems to have no problem with the preset generated gateways as far as I could tell) so I don't lose my Ironman save...

Oh well, there goes the galaxy.
 

JOD

Captain
78 Badges
Oct 23, 2011
367
268
  • Semper Fi
  • Stellaris
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III
  • Europa Universalis IV: Art of War
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • BATTLETECH
  • Cities: Skylines - Green Cities
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Stellaris: Humanoids Species Pack
  • 500k Club
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2
  • Stellaris: Nemesis
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
Even though I'm playing on an archaic laptop that barely handles minimum spec, I didn't have this problem despite building agate way in every inhabited system (about 38 of them). I also had gateways at x2.0 and the AI was building a lot of them as well.

That said, I manually assigned all my trade routes, perhaps circumventing the auto-distance calculations?

Could be a temporary fix for people experiencing the problem in an ongoing game.
 

SpectralShade

Major
69 Badges
Apr 15, 2018
554
33
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • The Showdown Effect
  • Teleglitch: Die More Edition
  • Sword of the Stars
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Majesty 2
  • Cities: Skylines
  • Supreme Ruler 2020
  • Warlock: Master of the Arcane
  • Age of Wonders III
  • War of the Roses
  • Europa Universalis III Complete
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Age of Wonders: Shadow Magic
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Ancient Relics
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Lithoids
  • BATTLETECH: Season pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Backer
  • Europa Universalis IV
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Europa Universalis III Complete
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Magicka
  • 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
And here I was wondering why the Prethoryn obliterating every trade node in my (wormhole linked) galaxy was speeding up the game...
At first I thought it was because pops were being removed. But nope; the Prethoryn can't actually clear planets as of 2.2 (haven't tested with the Beta).
Then after I started rebuilding (Including rebuilding wormhole trading outposts...), performance dropped again..
they were just trying to be helpfull
 

Riftwalker

Field Marshal
96 Badges
Feb 26, 2016
3.575
33
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris: Apocalypse
  • Cities: Skylines Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Charlemagne
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Magicka
  • Crusader Kings II
  • 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
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Majesty 2 Collection
  • Leviathan: Warships
  • For the Motherland
  • Knights of Pen and Paper +1 Edition
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Teleglitch: Die More Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Conclave
  • Warlock: Master of the Arcane
  • Europa Universalis IV
  • Crusader Kings II: Horse Lords
  • Stellaris: Necroids
Sounds to me like gateways make the distance finder algorithm go for an endless loop

to me, it sounds like trade is making arbitrary distance calculations that should be saved and not redone. gateways are a problem with pathfinding because every gate has access to every other gate, which will make pathfinding start polling across the galaxy. if trade on it's own is producing lag, then gates will exasperate it. i wonder what their pathfinding coe looks like, is it A* or something more crude.

edit: does anyone know if starbase piracy protection extends through gates? this may also be a big performance eater