Skip to content

Commit 0dd76f4

Browse files
authored
Merge pull request #69704 from RichardHoch/OADP_130_perform_scale
OADP-3261: OADP 1.3 Performance & Scale
2 parents c46afd5 + 6435f19 commit 0dd76f4

File tree

5 files changed

+65
-0
lines changed

5 files changed

+65
-0
lines changed

_attributes/common-attributes.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ endif::openshift-origin[]
4141
:insights-advisor-url: link:https://console.redhat.com/openshift/insights/advisor/[Insights Advisor]
4242
:hybrid-console: Red Hat Hybrid Cloud Console
4343
:hybrid-console-second: Hybrid Cloud Console
44+
// OADP attributes
4445
:oadp-first: OpenShift API for Data Protection (OADP)
4546
:oadp-full: OpenShift API for Data Protection
47+
:oadp-short: OADP
4648
:oc-first: pass:quotes[OpenShift CLI (`oc`)]
4749
:product-registry: OpenShift image registry
4850
:rh-storage-first: Red Hat OpenShift Data Foundation
@@ -253,3 +255,7 @@ endif::[]
253255
:coo-first: Cluster Observability Operator (COO)
254256
:coo-full: Cluster Observability Operator
255257
:coo-short: COO
258+
//ODF
259+
:odf-first: Red Hat OpenShift Data Foundation (ODF)
260+
:odf-full: Red Hat OpenShift Data Foundation
261+
:odf-short: ODF

backup_and_restore/application_backup_and_restore/installing/about-installing-oadp.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ include::modules/about-installing-oadp-on-multiple-namespaces.adoc[leveloffset=+
5757
* xref:../../../operators/understanding/olm/olm-understanding-olm.adoc#olm-csv_olm-understanding-olm[Cluster service version]
5858
5959
include::modules/oadp-velero-cpu-memory-requirements.adoc[leveloffset=+1]
60+
include::modules/oadp-backup-restore-for-large-usage.adoc[leveloffset=+2]

backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ include::modules/oadp-secrets-for-different-credentials.adoc[leveloffset=+2]
3737
You can configure the Data Protection Application by setting Velero resource allocations or enabling self-signed CA certificates.
3838

3939
include::modules/oadp-setting-resource-limits-and-requests.adoc[leveloffset=+2]
40+
include::modules/oadp-odf-cpu-memory-requirements.adoc[leveloffset=+3]
4041
include::modules/oadp-self-signed-certificate.adoc[leveloffset=+2]
4142

4243
include::modules/oadp-installing-dpa-1-2-and-earlier.adoc[leveloffset=+1]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Module included in the following assemblies:
2+
// * backup_and_restore/application_backup_and_restore/installing/about-installing-oadp.adoc
3+
4+
:_mod-docs-content-type: CONCEPT
5+
[id="oadp-backup-restore-for-large-usage_{context}"]
6+
= NodeAgent CPU for large usage
7+
8+
Testing shows that increasing `NodeAgent` CPU can significantly improve backup and restore times when using {oadp-first}.
9+
10+
[IMPORTANT]
11+
====
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+
====
14+
15+
Testing detected no CPU limiting or memory saturation with these resource specifications.
16+
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+
19+
You need to add the following lines to the storage cluster Custom Resource (CR) to set the limits:
20+
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+
----
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * backup_and_restore/application_backup_and_restore/installing/installing-oadp-ocs.adoc
4+
5+
:_mod-docs-content-type: CONCEPT
6+
[id="oadp-odf-cpu-memory-requirements_{context}"]
7+
= Adjusting Ceph CPU and memory requirements based on collected data
8+
9+
The following recommendations are based on observations of performance made in the scale and performance lab. The changes are specifically related to {odf-first}. If working with {odf-short}, consult the appropriate tuning guides for official recommendations.
10+
11+
[id="oadp-odf-config-cpu-memory-requirements_{context}"]
12+
== CPU and memory requirement for configurations
13+
14+
Backup and restore operations require large amounts of CephFS `PersistentVolumes` (PVs). To avoid Ceph MDS pods restarting with an `out-of-memory` (OOM) error, the following configuration is suggested:
15+
16+
|===
17+
| Configuration types | Request | Max limit
18+
19+
| CPU
20+
| Request changed to 3
21+
| Max limit to 3
22+
23+
| Memory
24+
| Request changed to 8 Gi
25+
| Max limit to 128 Gi
26+
|===

0 commit comments

Comments
 (0)