# AWS Opensearch slow performance

**URL:** <https://forum.opensearch.org/t/aws-opensearch-slow-performance/16239>\
**Category:** OpenSearch\
**Tags:** index-management\
**Created:** [October 12, 2023, 2:52pm UTC](https://forum.opensearch.org/t/aws-opensearch-slow-performance/16239 "2023-10-12T14:52:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenshinzpft](https://avatars.discourse-cdn.com/v4/letter/k/b487fb/32.png) [@kenshinzpft](https://forum.opensearch.org/u/kenshinzpft)\
**Post date:** [October 12, 2023, 2:52pm UTC](https://forum.opensearch.org/t/aws-opensearch-slow-performance/16239/1 "2023-10-12T14:52:46Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser): AWS Opensearch 2.7

**Describe the issue** :

Recently, we’re migrating ElasticSearch 7.3.10 self-hosted on EC2 to AWS OpenSearch 2.7 and meet some performance issue.

For example: During the peak hour, our ElasticSearch can index the data ~5000 request/s, but with OpenSearch there is just arround ~1000 request/s

**Configuration** :

ElaticSearch is running in 2 regions, each region has 3 c5.2xlarge nodes

Opensearch is running in the same 2 regions, each region has 3 c5.2xlarge.search data nodes with cross-cluster replication

They are using the same EBS volume configuration with default gp3 500GB

They are using the same index, same size, refresh\_interval is 60s with 1 primary and 2 replicas per cluster.

Is there any difference between ElasticSearch & OpenSearch which causing the performance issue with the same instance type. And please help to advice what I can do to optimize the OpenSearch cluster?

---

<div class="post-metadata">

**Author:** ![kenshinzpft](https://avatars.discourse-cdn.com/v4/letter/k/b487fb/32.png) [@kenshinzpft](https://forum.opensearch.org/u/kenshinzpft)\
**Post date:** [October 15, 2023, 2:35pm UTC](https://forum.opensearch.org/t/aws-opensearch-slow-performance/16239/2 "2023-10-15T14:35:12Z")

</div>

Anyone please help

---

<div class="post-metadata">

**Author:** ![qxmips](https://avatars.discourse-cdn.com/v4/letter/q/3bc359/32.png) [@qxmips](https://forum.opensearch.org/u/qxmips)\
**Post date:** [October 19, 2023, 2:52pm UTC](https://forum.opensearch.org/t/aws-opensearch-slow-performance/16239/3 "2023-10-19T14:52:51Z")

</div>

opensearch is not the same as elasticsearch - [Elasticsearch vs. OpenSearch: Performance and resource utilization analysis | Elastic Blog](https://www.elastic.co/blog/elasticsearch-opensearch-performance-gap)  
also CCR might give you some additional performance penalty.

do you have master nodes enabled?  
check such cloudwatch merics like CPU, jvm mem pressure, ebs Throughput throttling

---

<div class="post-metadata">

**Author:** ![kenshinzpft](https://avatars.discourse-cdn.com/v4/letter/k/b487fb/32.png) [@kenshinzpft](https://forum.opensearch.org/u/kenshinzpft)\
**Post date:** [October 22, 2023, 4:38am UTC](https://forum.opensearch.org/t/aws-opensearch-slow-performance/16239/4 "2023-10-22T04:38:41Z")

</div>

Hi,

During the peak hour, the CPU of OpenSearch cluster also high, ~85-90%.

Also, can you share detail about of limitation of CCR that affect to the performance.

And is there any way to tune the performance of OpenSearch that we can replace to use it?
