• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

travelping / gtp_u_edp
76%
master: 76%

Build:
Build:
LAST BUILD BRANCH: improve/memory-usage
DEFAULT BRANCH: master
Repo Added 14 Jun 2017 04:31PM UTC
Files 9
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH improve/memory-usage
branch: improve/memory-usage
CHANGE BRANCH
x
Reset
  • improve/memory-usage
  • feature/accounting
  • feature/dp-pids
  • feature/sx
  • feature/sx-urr
  • feature/tests
  • fix/error-ind-seq-no
  • fix/error_ind
  • fix/socket-opts
  • maintenance/upgrade-dependencies
  • master

pending completion
72

push

travis-ci

mgumz
Improve memory consumption

For every established GTP-U connection, several metric probes are
created upon connection (see src/gtp_u_edp_port.erl). Among the created
probes are 2 of type "histogram". An histogram is represented as a
process in the GTP-U-Node which will be initialized with a
`min_heap_size` of 40k WORDS (8byte on 64bit machines).

See [1] and [2] for a discussion about the issue.

Neither of the preconditions for increasing the `min_heap_size` are met:

* the histograms are kept over a long period of time (and are not short
  lived)
* the amount of processes keep growing with the amount of established
  connections

This commit sets the `min_heap_size` option of the spawned processes
responsible for the histogram to the default Erlang value and thus,
decreases the memory consumption of the histograms and allow the GC to
work.

[1]: https://github.com/Feuerlabs/exometer_core/issues/100
[2]: http://erlang.org/doc/efficiency_guide/processes.html

221 of 292 relevant lines covered (75.68%)

18.15 hits per line

Relevant lines Covered
Build:
Build:
292 RELEVANT LINES 221 COVERED LINES
18.15 HITS PER LINE
Source Files on improve/memory-usage
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
72 improve/memory-usage Improve memory consumption For every established GTP-U connection, several metric probes are created upon connection (see src/gtp_u_edp_port.erl). Among the created probes are 2 of type "histogram". An histogram is represented as a process in the... push 18 Jun 2018 01:50PM UTC mgumz travis-ci pending completion  
See All Builds (32)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc