# Reduce iops during reindexing

**URL:** <https://discuss.elastic.co/t/reduce-iops-during-reindexing/236086>\
**Category:** Elasticsearch\
**Created:** [June 7, 2020, 1:15pm UTC](https://discuss.elastic.co/t/reduce-iops-during-reindexing/236086 "2020-06-07T13:15:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![magnalite](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnalite/32/69827_2.png) [@magnalite](https://discuss.elastic.co/u/magnalite)\
**Post date:** [June 7, 2020, 1:15pm UTC](https://discuss.elastic.co/t/reduce-iops-during-reindexing/236086/1 "2020-06-07T13:15:06Z")

</div>

At the moment my VMs get i/o throttled due to performing many i/o operations during reindexing but is nowhere near it's limit in terms of bandwidth. Is there any way I could reduce the number of i/o operations going to disk? (maybe store some stuff in memory?)

This isn't really an issue and if need be I can just throw more machines and shards into the mix but it would be nice to not hit these i/o limits. For extra info these are 8 vCPU GCP machines using persistent SSDs (with a large enough capacity to not be limited by it).

---

<div class="post-metadata">

**Author:** ![Vinayak\_Sapre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinayak_sapre/32/45939_2.png) [@Vinayak\_Sapre](https://discuss.elastic.co/u/Vinayak_Sapre)\
**Post date:** [June 27, 2020, 3:42am UTC](https://discuss.elastic.co/t/reduce-iops-during-reindexing/236086/2 "2020-06-27T03:42:44Z")

</div>

@magnalite

Here are few settings to play with, if you haven't already

1. set refresh\_interval to -1 for the dest index. Once reindexing completes set it back to null.
2. See if increasing index\_buffer\_size helps [https://www.elastic.co/guide/en/elasticsearch/reference/current/indexing-buffer.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/indexing-buffer.html)
3. Set replica of the dest index to 0. Once reindexing complete set replica to whatever you want.

Even if none of these work, please post your findings. It will help others.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 25, 2020, 3:47am UTC](https://discuss.elastic.co/t/reduce-iops-during-reindexing/236086/3 "2020-07-25T03:47:46Z")

</div>

Closed on July 25, 2020, 3:47am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
