# Limit load on shard allocation

**URL:** <https://discuss.elastic.co/t/limit-load-on-shard-allocation/39087>\
**Category:** Elasticsearch\
**Created:** [January 13, 2016, 11:00am UTC](https://discuss.elastic.co/t/limit-load-on-shard-allocation/39087 "2016-01-13T11:00:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![micpalmia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/micpalmia/32/541_2.png) [@micpalmia](https://discuss.elastic.co/u/micpalmia)\
**Post date:** [January 13, 2016, 11:00am UTC](https://discuss.elastic.co/t/limit-load-on-shard-allocation/39087/1 "2016-01-13T11:00:33Z")

</div>

On our ES 2.1 cluster, I notice a consistent decrease in search performances during _shard allocation_ and _relocation_.

Do you have any advice on how to limit the load caused by shard allocation in order to make sure search time is not affected by this process? I would be happy with a slightly longer allocation time if I could ensure search performances were not affected.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 14, 2016, 5:45am UTC](https://discuss.elastic.co/t/limit-load-on-shard-allocation/39087/2 "2016-01-14T05:45:49Z")

</div>

Why is reallocation happening?

Check out [https://www.elastic.co/guide/en/elasticsearch/reference/2.1/shards-allocation.html#\_shard\_allocation\_settings](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/shards-allocation.html#_shard_allocation_settings)

---

<div class="post-metadata">

**Author:** ![micpalmia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/micpalmia/32/541_2.png) [@micpalmia](https://discuss.elastic.co/u/micpalmia)\
**Post date:** [January 14, 2016, 1:06pm UTC](https://discuss.elastic.co/t/limit-load-on-shard-allocation/39087/3 "2016-01-14T13:06:48Z")

</div>

Allocation and relocation happens for different reasons, such as

- rolling restart (plugin installation, ES upgrade)
- upscaling, downscaling  
and in none of those search speed should be affected.

I figured that my issue is probably related to the performances of EBS volumes on AWS (I'm not using provisioned IOPS).

---

<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 5, 2017, 11:24pm UTC](https://discuss.elastic.co/t/limit-load-on-shard-allocation/39087/4 "2017-07-05T23:24:30Z")

</div>


