A methodology for detailed performance modeling of reduction computations on SMP machines

被引:3
作者
Jin, RM [1 ]
Agrawal, G [1 ]
机构
[1] Ohio State Univ, Dept Comp & Informat Sci, Columbus, OH 43210 USA
基金
美国国家科学基金会;
关键词
parallel processing; shared memory; memory hierarchy; data mining;
D O I
10.1016/j.peva.2004.10.017
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we revisit the problem of performance prediction on SMP machines, motivated by the need for selecting parallelization strategy for random write reductions. Such reductions frequently arise in data mining algorithms. In our previous work, we have developed a number of techniques for parallelizing this class of reductions. Our previous work has shown that each of the three techniques, full replication, optimized full locking, and cache-sensitive, can outperform others depending upon problem, dataset, and machine parameters. Therefore, an important question is, "Can we predict the performance of these techniques for a given problem, dataset, and machine?". This paper addresses this question by developing an analytical performance model that captures a two-level cache, coherence cache misses, TLB misses, locking overheads, and contention for memory. Analytical model is combined with results from micro-benchmarking to predict performance on real machines. We have validated our model on two different SMP machines. Our results show that our model effectively captures the impact of memory hierarchy (two-level cache and TLB) as well as the factors that limit parallelism (contention for locks, memory contention, and coherence cache misses). The difference between predicted and measured performance is within 20% in almost all cases. Moreover, the model is quite accurate in predicting the relative performance of the three parallelization techniques. (c) 2004 Elsevier B.V. All rights reserved.
引用
收藏
页码:73 / 105
页数:33
相关论文
共 49 条
  • [1] Adve V. S., 1998, DETERMINISTIC MODEL
  • [2] ADVE VS, 1993, P 1993 ACM SIGMETRIC, P61
  • [3] AN ANALYTICAL CACHE MODEL
    AGARWAL, A
    HOROWITZ, M
    HENNESSY, J
    [J]. ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1989, 7 (02): : 184 - 215
  • [4] Parallel mining of association rules
    Agrawal, R
    Shafer, JC
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1996, 8 (06) : 962 - 969
  • [5] Agrawal R, 1994, P 20 INT C VER LARG, V1215, P487
  • [6] Albonesi D. H., 1995, Parallel Architectures and Compilation Techniques. Proceedings of the IFIP WG10.3 Working Conference. PACT'95, P194
  • [7] [Anonymous], P 4 ACM SIGPLAN S PR
  • [8] Parallel programming with Polaris
    Blume, W
    Doallo, R
    Eigenmann, R
    Grout, J
    Hoeflinger, J
    Lawrence, T
    Lee, J
    Padua, D
    Paek, Y
    Pottenger, B
    Rauchwerger, L
    Tu, P
    [J]. COMPUTER, 1996, 29 (12) : 78 - &
  • [9] CHATTERJEE S, 2001, P ACM SIGPLAN 01 C P, P286
  • [10] DARLINGTON J, 1997, P 7 INT PAR COMP WOR