Proper tuning can lead to great performance improvements in your cluster during everyday I/O workloads and recovery/rebalance scenarios. Let's look at setting a recommended tuning profile for your OSD nodes:
- Create a file: /etc/sysctl.d/ceph-tuning.conf.
An example is shown in the following screenshot:
- Update with the following parameters:
### Network tuning ### net.core.rmem_max = 56623104 net.core.wmem_max = 56623104 net.core.rmem_default = 56623104 net.core.wmem_default = 56623104 net.core.optmem_max = 40960 net.ipv4.tcp_rmem = 4096 87380 56623104 net.ipv4.tcp_wmem = 4096 65536 56623104 net.core.somaxconn = 1024 net.core.netdev_max_backlog ...