Skip to content

Split up memory manager

Christopher Schinnerl requested to merge chris/split-memory-managers into master

MERGE REQUEST

MR Guidelines

Overview

This MR splits up the memory manger into 4 different ones.

  • 1 for user initiated uploads (skynet uploads, streamed uploads etc.)
  • 1 for user initiated downloads (skynet downloads, streaming etc.)
  • 1 for registry related code (updates, reads)
  • 1 for the rest (repairs)

The repair code gets 500 MiB of priority memory and 500 MiB of regular memory. The remaining managers only get 500 MiB of regular memory since user-initiated requests are always high prio anyway

NOTE to reviewers. The MR is pretty simple but please double check that the correct managers are assigned to the individual tasks.

Checklist

Review and complete the checklist to ensure that the MR is complete before assigned to an approver.

  • All new methods or updated methods have clear docstrings
  • Testing added or updated for new methods
  • Any new packages are added to Makefile and .gitlab-ci.yml
  • API documentation updated for API updates
  • Module README.md updated for changes to workflow
  • Issue added to Sia-UI repo for new supporting features
  • Changelog File Created

Issues Closed

Edited by Christopher Schinnerl

Merge request reports