﻿---
title: Troubleshoot performance degrading over time
description: You have a smaller Elasticsearch cluster and you’ve noticed that performance seems to have declined recently. The response time during searches seems...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5583/troubleshoot/monitoring/performance
products:
  - Elastic Cloud Hosted
applies_to:
  - Elastic Cloud Hosted: Generally available
---

# Troubleshoot performance degrading over time
You have a smaller Elasticsearch cluster and you’ve noticed that performance seems to have declined recently. The response time during searches seems to have gone up, and overall the system just doesn’t seem to perform quite as well as it used to. You have already looked at the cluster performance metrics and have confirmed that both index and search response times have increased steadily and remained higher than before. So what explains the performance degradation?
When you look in the **Cluster Performance Metrics** section of the [Elastic Cloud Console](https://cloud.elastic.co?page=docs&placement=docs-body), you get the following metrics:
![CPU usage versus CPU credits over time](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5583/troubleshoot/images/cloud-metrics-credits.png)

Between just after 00:10 and 00:20, excessively high CPU usage consumes all CPU credits until no more credits are available. CPU credits enable boosting the assigned CPU resources temporarily to improve performance on smaller clusters up to and including 8 GB of RAM when it is needed most, but CPU credits are by their nature limited. You accumulate CPU credits when you use less than your assigned share of CPU resources, and you consume credits when you use more CPU resources than assigned. As you max out your CPU resources, CPU credits permit your cluster to consume more than 100% of the assigned resources temporarily, which explains why CPU usage exceeds 100%, with usage peaks that reach well over 400% for one node. As CPU credits are depleted, CPU usage gradually drops until it returns to 100% at 00:30 when no more CPU credits are available. You can also notice that after 00:30 credits gradually begin to accumulate again.
If you need your cluster to be able to sustain a certain level of performance, you cannot rely on CPU boosting to handle the workload except temporarily. To ensure that performance can be sustained, consider increasing the size of your cluster.
<admonition title="Simplify monitoring with AutoOps">
  AutoOps is a [monitoring](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5583/deploy-manage/monitor) tool that simplifies cluster management through performance recommendations, resource utilization visibility, and real-time issue detection with resolution paths. Learn more about [AutoOps](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5583/deploy-manage/monitor/autoops).
</admonition>