Advice on Heap usage

Node: 12cpu + 45GB RAM
I have 1 shard on 1 node.
size of 1 shard: 12GB
Heap assigned: 20GB
Based on the graph below. I think I should reduce the heap size but it is recommended to keep heap 50% of the RAM. Can someone suggest.

Also, elasticsearch_transport_rx_packets_total keeps on increasing and search speed becomes bad even if the CPU is 60% utilized. What changes should I perform ?

This is not the case. The docs say (emphasis mine):

Set Xmx and Xms to no more than 50% of your physical RAM.

You can set it to less, for sure, and this can sometimes improve performance.

1 Like

@DavidTurner Could you also explain this

Also, elasticsearch_transport_rx_packets_total keeps on increasing and search speed becomes bad even if the CPU is 60% utilized. What could be the cause for this. ?

I found this discussion. Thanks.

I've no idea what elasticsearch_transport_rx_packets_total is, nor how it relates to your original question. Maybe open a new thread in case someone else knows.

1 Like

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