title: Getting a very bad performance with galera as compared to a standalone mariaDB server
body: <p>I am getting an unacceptable low performance with the galera setup i created. In my setup there are 2 nodes in active-active and i am doing read/writes on both the nodes in a round robin fashion using HA-proxy load balancer. </p>
  
  <p>I was easily able to get over 10000 TPS on my application with the single mariadb server with the below configuration:
  36 vpcu, 60 GB RAM, SSD, 10Gig dedicated pipe</p>
  
  <p>With galera i am hardly getting 3500 TPS although i am using 2 nodes(36vcpu, 60 GB RAM) of DB load balanced by ha-proxy. For information, ha-proxy is hosted as a standalone node on a different server. I have removed ha-proxy as of now but there is no improvement in performance. </p>
  
  <p>Can someone please suggest some tuning parameters in my.cnf i should consider to tune this severely under-performing setup.</p>
  
  <p>I am using the below my.cnf file:</p>
  
  <p><a href="https://i.stack.imgur.com/FOTtA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FOTtA.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/XCmYO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XCmYO.png" alt="enter image description here"></a></p>