Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

updates sns umthes to v1.11.19

Marc Jansing requested to merge OC000009514663-main-patch-84551 into main

This MR updates sns umthes to v1.11.19.

This version includes:

  • ruby 3.3.4 (currently 3.3.3)
  • jemalloc for reduced memory usage

I tried to optimize memory allocation by using jemalloc. This would be the new default in Rails 7.2: https://edgeguides.rubyonrails.org/7_2_release_notes.html#setup-jemalloc-in-default-dockerfile-to-optimize-memory-allocation. I implemented this into UMTHES, and I'm very interested in memory management changes. Some folks talk about significant drop in memory usage and optimized throughput.

Rails 7.2 also sets new defaults for the Puma thread count: https://edgeguides.rubyonrails.org/7_2_release_notes.html#set-a-new-default-for-the-puma-thread-count. I haven't changed anything here, but maybe this thread is interesting for you: https://github.com/rails/rails/issues/50450.

You can already tweak thread count using RAILS_MIN_THREADS and RAILS_MAX_THREADS environment variables and currently uses thread count of 10: https://gitlab.opencode.de/umwelt-info/infrastruktur/testbetrieb/-/blob/main/sns/compose.yml?ref_type=heads#L24

Merge request reports

Loading