Skip to content

Commit d4aaab6

Browse files
CarmiWisemonopenshift-cherrypick-robot
authored and
openshift-cherrypick-robot
committed
OADP 3921 - Remove CPU limits
1 parent 02a18e0 commit d4aaab6

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

modules/oadp-backup-restore-for-large-usage.adoc

+8-16
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,15 @@ Testing shows that increasing `NodeAgent` CPU can significantly improve backup a
99

1010
[IMPORTANT]
1111
====
12-
It is not recommended to use Kopia without limits in production environments on nodes running production workloads due to Kopia’s aggressive consumption of resources. However, running Kopia with limits that are too low results in CPU limiting and slow backups and restore situations. Testing showed that running Kopia with 20 cores and 32 Gi memory supported backup and restore operations of over 100 GB of data, multiple namespaces, or over 2000 pods in a single namespace.
13-
====
12+
You can tune your {product-title} environment based on your performance analysis and preference. Use CPU limits in the workloads when you use Kopia for file system backups.
13+
14+
If you do not use CPU limits on the pods, the pods can use excess CPU when it is available. If you specify CPU limits, the pods might be throttled if they exceed their limits. Therefore, the use of CPU limits on the pods is considered an anti-pattern.
1415
15-
Testing detected no CPU limiting or memory saturation with these resource specifications.
16+
Ensure that you are accurately specifying CPU requests so that pods can take advantage of excess CPU. Resource allocation is guaranteed based on CPU requests rather than CPU limits.
1617
17-
You can set these limits in Ceph MDS pods by following the procedure in https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.14/html/troubleshooting_openshift_data_foundation/changing-resources-for-the-openshift-data-foundation-components_rhodf#changing_the_cpu_and_memory_resources_on_the_rook_ceph_pods[Changing the CPU and memory resources on the rook-ceph pods].
18+
Testing showed that running Kopia with 20 cores and 32 Gi memory supported backup and restore operations of over 100 GB of data, multiple namespaces, or over 2000 pods in a single namespace. Testing detected no CPU limiting or memory saturation with these resource specifications.
19+
====
1820

19-
You need to add the following lines to the storage cluster Custom Resource (CR) to set the limits:
21+
In some environments, you might need to adjust Ceph MDS pod resources to avoid pod restarts, which occur when default settings cause resource saturation.
2022

21-
[source,yaml]
22-
----
23-
resources:
24-
mds:
25-
limits:
26-
cpu: "3"
27-
memory: 128Gi
28-
requests:
29-
cpu: "3"
30-
memory: 8Gi
31-
----
23+
For more information about how to set the pod resources limit in Ceph MDS pods, see link:https://docs.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.15/html/troubleshooting_openshift_data_foundation/changing-resources-for-the-openshift-data-foundation-components_rhodf#changing_the_cpu_and_memory_resources_on_the_rook_ceph_pods[Changing the CPU and memory resources on the rook-ceph pods].

0 commit comments

Comments
 (0)