# Setting up a cluster with different memory sizes on nodes

**URL:** <https://discuss.aerospike.com/t/setting-up-a-cluster-with-different-memory-sizes-on-nodes/4387>\
**Category:** Configuration\
**Created:** [July 13, 2017, 1:47pm UTC](https://discuss.aerospike.com/t/setting-up-a-cluster-with-different-memory-sizes-on-nodes/4387 "2017-07-13T13:47:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![schingeldi](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@schingeldi](https://discuss.aerospike.com/u/schingeldi)\
**Post date:** [July 13, 2017, 1:47pm UTC](https://discuss.aerospike.com/t/setting-up-a-cluster-with-different-memory-sizes-on-nodes/4387/1 "2017-07-13T13:47:00Z")

</div>

I have cluster with 4 nodes having 20 GB RAM and 2 nodes having 40 GB RAM configured. However I don’t see that the 40 GB RAM nodes are getting more rows then the small nodes. Is this supposed to happen? Or is a heterogeneous setup not recommended because the small nodes are the limitations?

Thanks for your suggestions?

---

<div class="post-metadata">

**Author:** ![rbotzer](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/rbotzer/32/2114_2.png) [@rbotzer](https://discuss.aerospike.com/u/rbotzer)\
**Post date:** [July 13, 2017, 2:04pm UTC](https://discuss.aerospike.com/t/setting-up-a-cluster-with-different-memory-sizes-on-nodes/4387/2 "2017-07-13T14:04:44Z")

</div>

Aerospike evenly [distributes data](http://www.aerospike.com/docs/architecture/data-distribution.html) across the nodes, so the amount of data used on each node will be roughly the same. Also, work is proportional to the amount of data, which so is another reason to use homogeneous (in terms of memory, storage, chipset, networking).

If the only difference between those nodes is DRAM you can allocate the same [`memory-size`](http://www.aerospike.com/docs/reference/configuration#memory-size) for the namespace on all machines. If this is an in-memory namespace and your chipsets are different you should expect latency differences between those nodes as the load increases.

---

<div class="post-metadata">

**Author:** ![schingeldi](https://avatars.discourse-cdn.com/v4/letter/s/f17d59/32.png) [@schingeldi](https://discuss.aerospike.com/u/schingeldi)\
**Post date:** [July 13, 2017, 2:42pm UTC](https://discuss.aerospike.com/t/setting-up-a-cluster-with-different-memory-sizes-on-nodes/4387/3 "2017-07-13T14:42:15Z")

</div>

Thanks for clarification
