# Slow replication when adding a second node

**URL:** <https://forums.percona.com/t/slow-replication-when-adding-a-second-node/3265>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [February 10, 2014, 8:08am UTC](https://forums.percona.com/t/slow-replication-when-adding-a-second-node/3265 "2014-02-10T08:08:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lrevuelta](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@lrevuelta](https://forums.percona.com/u/lrevuelta)\
**Post date:** [February 10, 2014, 8:08am UTC](https://forums.percona.com/t/slow-replication-when-adding-a-second-node/3265/1 "2014-02-10T08:08:46Z")

</div>

Hello,  
I’m trying to sysbench a Percona XtraDB cluster but I’m finding that if I run the test on a single node (started with wsrep\_provider=‘none’) the performance is good, after that I stop the node and start the cluster with  
service start bootstrap-pxc

Then the performance goes down a little, but it is still good.

Now, we start a second node in another server with the same hardware located in the same network, connected by two Gb Ethernet adapters. It makes SST, and both nodes get Synced.

When I run the test against the first node, the performace goes down a lot.

I thought it is a flow control issue, so to confirm, I relaxed flow control starting second node with “gcs.fc\_limit=1G; gcs.fc\_factor=1.0”, and launch the test again.  
In this test the performance is good again, but I can see that the recv\_queue in the second node grows very fast.

So, my conclusion is that second node is slow when appliying the writesets, but if I change the servers roles I find the same situation, the “slave” node is allwais slower than the master.

I can’t imagine why…  
Any idea?
