Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default volume type to io1 #135

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

rishabh6788
Copy link
Collaborator

Description

We recently updated default volume type to gp3. This caused regression in indexing latency for vectorsearch workload.
Upon debugging we realized that this is happening due to reduced disk throughput on gp3.
The default throughput for gp3 volume type is 125Mb/s, where as for gp2 it was 250Mb/s.
Setting the throughput property in CDK code for gp3 volume didn't work as it is not currently supported out of the box, see aws/aws-cdk#24107. They have provided a work around which is not a clean way.

Given OpenSearch is an IOPS heavy application it makes more sense to use the best available EBS volume type to get maximum performance. IO1 volume type requires iops property to be set and it is calculated based on disk size, IOPS=50*Disk size in GB. See io1 in https://aws.amazon.com/ebs/volume-types/.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Rishabh Singh <sngri@amazon.com>
@rishabh6788 rishabh6788 merged commit 48b5b73 into opensearch-project:main Oct 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants