Evaluating and Improving Large-Scale Machine Learning Frameworks