# Elasticsearch replication performance is slow

**URL:** https://discuss.elastic.co/t/elasticsearch-replication-performance-is-slow/70410
**Category:** Elasticsearch
**Created:** [January 3, 2017, 9:22am UTC](https://discuss.elastic.co/t/elasticsearch-replication-performance-is-slow/70410 "2017-01-03T09:22:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Andreas\_Tschritter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andreas_tschritter/32/14263_2.png) [@Andreas\_Tschritter](https://discuss.elastic.co/u/Andreas_Tschritter)
#### Post date: [January 3, 2017, 9:22am UTC](https://discuss.elastic.co/t/elasticsearch-replication-performance-is-slow/70410/1 "2017-01-03T09:22:58Z")

</div>

I have an elasticsearch setup that had until now one machine (16core 64GB RAM 4x800GB SSD Ubuntu 16.04 Xenial, containing 1.5TB of log data in 450 indexes, running ES 5.1.1.

Now I added a second, identical server to the cluster. Both are connected via a 10GBit network.

All indexes have 1 shard, and I have configured them to have 1 replica after the second server went online.

Now, replicas are being created, but only slowly. Load on both machines is below 1 and IO rates are at about 2MB/s or less.

I am running the following settings:

```
{
    "persistent": {
        "cluster": {
            "routing": {
                "allocation": {
                    "node_concurrent_incoming_recoveries": "20",
                    "node_initial_primaries_recoveries": "8",
                    "node_concurrent_outgoing_recoveries": "20"
                }
            }
        },
        "indices": {
            "recovery": {
                "max_bytes_per_sec": "400mb"
            },
            "store": {
                "throttle": {
                    "type": "none"
                }
            }
        }
    },
    "transient": {
        "logger": {
            "org": {
                "elasticsearch": {
                    "indices": "DEBUG"
                }
            }
        }
    }
}

```

indices.store.throttle.type does not seem to exist anymore in ES 5.

Why is this so slow?  
I could not find any other settings or throttles.

Is there anything else to look at?

---

<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 3, 2017, 9:25am UTC](https://discuss.elastic.co/t/elasticsearch-replication-performance-is-slow/70410/2 "2017-01-03T09:25:20Z")

</div>

What version exactly?  
What OS?

---

<div class="post-metadata">

### Author: ![Andreas\_Tschritter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andreas_tschritter/32/14263_2.png) [@Andreas\_Tschritter](https://discuss.elastic.co/u/Andreas_Tschritter)
#### Post date: [January 3, 2017, 9:26am UTC](https://discuss.elastic.co/t/elasticsearch-replication-performance-is-slow/70410/3 "2017-01-03T09:26:05Z")

</div>

ES 5.1.1 on Ubuntu 16.04 Xenial

---

<div class="post-metadata">

### Author: ![Andreas\_Tschritter](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andreas_tschritter/32/14263_2.png) [@Andreas\_Tschritter](https://discuss.elastic.co/u/Andreas_Tschritter)
#### Post date: [January 10, 2017, 12:32pm UTC](https://discuss.elastic.co/t/elasticsearch-replication-performance-is-slow/70410/4 "2017-01-10T12:32:19Z")

</div>

Does anybody have an idea?

---

<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: [February 7, 2017, 12:32pm UTC](https://discuss.elastic.co/t/elasticsearch-replication-performance-is-slow/70410/5 "2017-02-07T12:32:26Z")

</div>

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