knor: A NUMA-Optimized In-Memory, Distributed and Semi-External-Memory k-means Library

被引:1
|
作者
Mhembere, Disa [1 ]
Zheng, Da [1 ]
Priebe, Carey E. [2 ]
Vogelstein, Joshua T. [3 ]
Burns, Randal [1 ]
机构
[1] Johns Hopkins Univ, Dept Comp Sci, Baltimore, MD 21218 USA
[2] Johns Hopkins Univ, Dept Appl Math & Stat, Baltimore, MD USA
[3] Johns Hopkins Univ, Dept Biomed Engn, Inst Computat Med, Baltimore, MD USA
来源
HPDC'17: PROCEEDINGS OF THE 26TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE PARALLEL AND DISTRIBUTED COMPUTING | 2017年
关键词
NUMA; k-means; semi-external memory; cloud; clustering; parallel;
D O I
10.1145/3078597.3078607
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
k-means is one of the most influential and utilized machine learning algorithms. Its computation limits the performance and scalability of many statistical analysis and machine learning tasks. We rethink and optimize k-means in terms of modern NUMA architectures to develop a novel parallelization scheme that delays and minimizes synchronization barriers. The k-means NUMA Optimized Routine (knor) library has (i) in-memory (knori), (ii) distributed memory (knord), and (ii) semi-external memory (knors) modules that radically improve the performance of k-means for varying memory and hardware budgets. knori boosts performance for single machine datasets by an order of magnitude or more. knors improves the scalability of k-means on a memory budget using SSDs. knors scales to billions of points on a single machine, using a fraction of the resources that distributed in-memory systems require. knord retains knori's performance characteristics, while scaling in-memory through distributed computation in the cloud. knor modifies Elkan's triangle inequality pruning algorithm such that we utilize it on billion-point datasets without the significant memory overhead of the original algorithm. We demonstrate knor outperforms distributed commercial products like H2O, Turi (formerly Dato, GraphLab) and Spark's MLlib by more than an order of magnitude for datasets of 10(7) to 10(9) points.
引用
收藏
页码:66 / 78
页数:13
相关论文
共 1 条
  • [1] Performance Enhancement of Distributed K-Means Clustering for Big Data Analytics Through In-memory Computation
    Ketu, Shwet
    Agarwal, Sonali
    2015 EIGHTH INTERNATIONAL CONFERENCE ON CONTEMPORARY COMPUTING (IC3), 2015, : 318 - 324