tune mysql buffer sizes