Replies: 5 comments
-
I'm also looking for the same information. From what I observed, it seems like the resource usage increases as the size of the data increases(tested this for rsync tls) and could not figure the right amount of limit to allocate. Would really appreciate if anyone can get this answered. |
Beta Was this translation helpful? Give feedback.
-
While not in a release yet (it's in
While setting requests is fine, we aren't currently recommending limits. This is because (as @winkrs has noted) the amount of resources needed are data dependent. Unfortunately, that's just a property of the underlying movers (rsync, restic, and rclone). If you want to set limits, my suggestion would be to measure the actual and set a limit at some multiple of that. You will then need to monitor it over time as your data changes. |
Beta Was this translation helpful? Give feedback.
-
@JohnStrunk, would it be better to allow adding the limit fields in the CRD, then its on the admin to decide whether they want to set limits or not, and if they do set it, then they should do it considering the data size, wdyt?
for example, in our testing, we observed one edge case where there were too many files with very less data, and the memory consumption was almost 30-40% of the pvc data, although the consumption was almost following a logarithmic curve, some data below: |
Beta Was this translation helpful? Give feedback.
-
Limits for the operator are set in the Helm chart, limits for the movers are set in the replication CRs. Since it's data-dependent, the mover requests/limits must be set in a CR otherwise, it'd have to be a one-size-fits-all choice for the cluster. I'm not surprised that you see wildly varying memory usage. The different movers track varying amounts of metadata about the files. As an aside, going over a node's capacity shouldn't take down the node. If it does, there are other cluster configuration problems that need to be fixed. |
Beta Was this translation helpful? Give feedback.
-
oh! apologies, I think I misread the PRs linked, if we are able to set limits through replication CRs, that should be enough, I thought we can only set requests through CRs, sorry again - we'll try it out first thing tomorrow. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to limit the amount of resoufces for particular replicationsource/replicationdestination jobs? Or even for all of them (globally)? I can't seem to find the required information.
Beta Was this translation helpful? Give feedback.
All reactions