radondb-mysql-kubernetes icon indicating copy to clipboard operation
radondb-mysql-kubernetes copied to clipboard

Improve performance on k8s

Open andyli029 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

andyli029 avatar Feb 25 '22 02:02 andyli029

Use cpumanager, POD QoS set to Guaranteed, MySQL container is binding 8 cores, and there is no significant increase in performance

sudo cat  /var/lib/kubelet/cpu_manager_state
{"policyName":"static","defaultCpuSet":"0-1,10-15","entries":{"6cb94b24-dd9d-4a02-893a-044a44c419e5":{"init-mysql":"2-9","mysql":"2-9"}},"checksum":3408138324}

runkecheng avatar Feb 25 '22 07:02 runkecheng

cilium: https://github.com/cilium/cilium VS calico: https://github.com/projectcalico/calico

andyli029 avatar Mar 03 '22 06:03 andyli029

performance comparison of cni : https://itnext.io/benchmark-results-of-kubernetes-network-plugins-cni-over-10gbit-s-network-updated-august-2020-6e1b757b9e49

calico:

            - name: CALICO_IPV4POOL_IPIP
              value: Never

ipip -> bgp,no significant effect

runkecheng avatar Mar 03 '22 07:03 runkecheng