Skip to content

Commit 62cd080

Browse files
CarmiWisemonshdeshpa07
authored andcommitted
OADP 3921 - Remove CPU limits
1 parent cec5669 commit 62cd080

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. It is not recommended to use CPU limits in workloads where 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 that are caused by resource saturation when default settings are used.
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+
You can set the pod resources limits in Ceph MDS pods by following the procedure in https://access.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)