1. Automatic, On-Line Tuning of YARN Container Memory and CPU Parameters
- Author
-
Yabing Chen, Mikhail Genkin, Pablo Navarro, Maria Pospelova, and Frank Dehne
- Subjects
020203 distributed computing ,business.industry ,Computer science ,05 social sciences ,Big data ,050801 communication & media studies ,02 engineering and technology ,Yarn ,Parallel computing ,0508 media and communications ,Resource (project management) ,Computer engineering ,visual_art ,Line (geometry) ,Spark (mathematics) ,Container (abstract data type) ,0202 electrical engineering, electronic engineering, information engineering ,Code (cryptography) ,visual_art.visual_art_medium ,business - Abstract
Big data analytic technologies such as Hadoop and Spark run on compute clusters that are managed by resource managers such as YARN. YARN manages resources available to individual applications, thereby affecting job performance. Manual tuning of YARN tuning parameters can result in sub-optimal and brittle performance. Parameters that are optimal for one job may not be well suited to another. In this paper we present KERMIT, the first on-line automatic tuning system for YARN. KERMIT optimizes in real-time YARN memory and CPU allocations to individual YARN containers by analysing container response-time performance. Unlike previous automatic tuning methods for specific systems such as Spark or Hadoop, this is the first study that focuses on the more general case of on-line, real-time tuning of YARN container density and how this affects performance of applications running on YARN. KERMIT employs the same tuning code to automatically tune any system that uses YARN, including both Spark and Hadoop. The effectiveness of our technique was evaluated for Hadoop and Spark jobs using the Terasort, TPCx-HS, and SMB benchmarks. KERMIT was able to achieve an efficiency of more than 92% of the best possible tuning configuration (exhaustive search of the parameter space) and up to 30% faster than basic manual tuning.
- Published
- 2016
- Full Text
- View/download PDF