youtube image
From YouTube: 2020 11 18 Memory Team 2GB Sync

Description

1:00 Overview
- Agenda overview - https://docs.google.com/document/d/12-NOJCobK8wLShCv1Spx69l1VPc-UyvCl8QSBaGqbyM/edit#heading=h.j74stu9fgzjy
1:50 Run Puma in Single Mode recap
- https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/2#note_449139363
- Each worker takes about 150MB
10:50 Started to apply Puma 5.0.x
- https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/6#note_449815086
- Further research needed to understand the numbers
16:30 Discussed results of using running Omnibus with Spring
- https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/3
18:20 Discussed zswap
- https://gitlab.com/groups/gitlab-org/memory-team/-/epics/2#note_449804623
19:20 Tried running without unneeded services
- https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/8
21:00 Discussed sharing code across the whole codebase
- Our monolith is not structured to have a clear split of usage patterns
- Eager loading
24:55 Discuss switching to Omnibus with Ruby 2.7
- Check malloc/preallocation sizes
- Investigate ordering of .rb load for optimizations
32:30 Wrapped up looking into compaction
37:20 Discussed tooling (GDB) and visualization of memory allocation
38:50 Investigate Memory Content
- https://gitlab.com/gitlab-org/memory-team/memory-team-2gb-week/-/issues/4
45:20 String deduplication
49:30 Systemtap example
52:00 Heap analysis with different tools
1:04:20 Thoughts on the format of this discovery week