> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/cdf/4.0/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/cdf/4.0/slo.md).

# Service Level Objectives

This document shows the validated Service Level Objectives (SLOs) for Charging Data Function (CDF).
The table summarises the targeted and achieved SLOs:

| SLO | Definition | Unit | Validation |
| --- | --- | --- | --- |
| slo:cccc:cdf_receiver:forwarding_rate_cdrs | Number of charging data records CDF receiver can process per second | 1/s | >=1000 |
| slo:cccc:cdf_sender:forwarding_rate_cdrs | Number of charging data records CDF sender can process per second | 1/s | >=4000 |

## Test setup

This diagram shows the test setup for CDF:

![CDF test setup](https://docs.cennso.com/api/assets/components/cdf/4.0/assets/cdf-test-setup.svg)

Cennso Test Tools (CTT) component, **CDFload**, is used to validate the setup by simulating Session Management Controller (SMC). It generates Diameter ACR packets with charging data on the Rf interface. Another CTT component, **CGFstub**, simulates a CGF on the Ga interface.

The test consists of two phases:

- SetUp phase, where an increasing amount of charging data is sent, up to the specified target number. Reaching the running phase took about 10 minutes.
- Running phase, where charging data is sent at a defined rate.

This table lists the test configuration for CDF validation:

| Item | Value |
| --- | --- |
| CTT version | 1.13.0-rc.2 |
| Test type | TPLoad |
| Running rate | 1700/s |

## Deployment configuration

The following configuration is used for CDF.
The parameters refer to the fields in the Helm chart `values.yaml` file.
Only parameters relevant to performance are stated.

### CDF sender

| Parameter | Value |
| --- | --- |
| resources.cdf.limits.cpu | 10 |
| resources.cdf.limits.memory | 4Gi |
| nats.poolSize | 40 |

Based on the performed tests, CDF sender uses less than 7 CPUs and less than 1 Gi of RAM.

### CDF receiver

| Parameter | Value |
| --- | --- |
| resources.cdf.limits.cpu | 2 |
| resources.cdf.limits.memory | 2Gi |

Based on the performed tests, CDF receiver uses less than 0.5 Gi RAM.

## Environment

The deployment was set up on a single machine with the following size:

| Parameter | Value |
| --- | --- |
| CPU type | Intel Xeon Gold 6314U Processor 32-Core @ 2.30GHz |
| CPU cores | 32 |
| RAM | 512 GB |
| NIC | 4x E810-C 25Gbps |
