To speed mysql replica add into the [mysqld]:

innodb_flush_log_at_trx_commit=2