View Issue Details

IDProjectCategoryView StatusLast Update
0004755The Dark ModCodingpublic09.03.2020 11:21
Reporterstgatilov Assigned Tostgatilov  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionTDM 2.06 
Target VersionTDM 2.08Fixed in VersionTDM 2.08 
Summary0004755: Optimize EAS memory and time consumption.
DescriptionAs written here:
  http://bugs.thedarkmod.com/view.php?id=4753#c10144
EAS takes too much memory and time given its rather minor role in the game.
The (Bikerdude et al)'s huge "city" map makes this problem apparent.

The idea is to:
1. Understand asymptotic consumption of both time and memory.
2. Improve asymptotic consumption if possible.
3. Look at low-level memory optimizations, e.g. get rid of reckless STL usage.
4. Check if it possible to build less information if number of elevators is small.
Steps To ReproduceTake the (Bikerdude at al)'s map --- you can download it from related issue 4753. Try to load it ("map city" in console). Measure how much time SetupEAS call takes during loading, and high much it increases memory consumption.
TagsNo tags attached.

Relationships

related to 0004753 resolvedstgatilov High RAM useage over time: TDM is crashing to desktop 

Activities

stgatilov

stgatilov

15.12.2019 18:04

administrator   ~0011934

Committed a series of improvements in svn rev 8448, 8449, 8450.
It improves time of EAS initialization from 105 kilopenguins to 3 kilopenguins.

Yes, data structures are awfully inefficient, but I guess nobody cares about memory consumption today with x64 mode.
I think this issues can be forgotten.

Issue History

Date Modified Username Field Change
22.03.2018 05:11 stgatilov New Issue
22.03.2018 05:11 stgatilov Status new => assigned
22.03.2018 05:11 stgatilov Assigned To => stgatilov
22.03.2018 05:11 stgatilov Relationship added related to 0004753
22.03.2018 05:12 stgatilov Product Version TDM 2.07 => TDM 2.06
22.03.2018 05:21 stgatilov Steps to Reproduce Updated View Revisions
11.06.2018 09:42 stgatilov Target Version TDM 2.07 =>
15.12.2019 18:04 stgatilov Note Added: 0011934
15.12.2019 18:04 stgatilov Status assigned => resolved
15.12.2019 18:04 stgatilov Resolution open => fixed
15.12.2019 18:04 stgatilov Fixed in Version => TDM 2.08
09.03.2020 11:21 stgatilov Target Version => TDM 2.08