Practical Scalability Assesment for Parallel Scientific Numerical Applications

Practical Scalability Assesment for Parallel Scientific Numerical Applications

Practical scalability assesment for parallel scientific numerical applications Natalie Perlin1,2,3, Joel P. Zysman2, Ben P. Kirtman1,2 1 - Rosenstiel School of Marine and Atmospheric Sciences, University of Miami, Miami, FL, 33149 2 - Center of Computational Science, University of Miami, Coral Gables, FL, 33146 3 - [email protected] Abstract—The concept of scalability analysis of numerical resources were explored. New terms such as “performance parallel applications has been revisited, with the specific goals metrics”, “scalability”, “efficiency”, “speedup”, scale-up” defined for the performance estimation of research applications. A emerged, followed by numerous studies to find more rigorous series of Community Climate Model System (CCSM) numerical and wider definitions to determine methods and tools for their simulations were used to test the several MPI implementations, quantitative evaluations [1]-[12]. Out of all new terms, the term determine optimal use of the system resources, and their scalability. scalability is likely the most controversial (see, for example, [5], The scaling capacity and model throughput performance metrics for [13]-[16]; and others), which may likely be attributed to N cores showed a log-linear behavior approximated by a power fit in a different performance goals relevant for the parallel application the form of C(N)=b∙N , where a and b are two empirical constants. systems in various spheres. As an example, the business and Different metrics yielded identical power coefficients (a), but networking system may need to ensure system stability with the different dimensionality coefficients (b). This model was consistent except for the large numbers of N. The power fit approach appears increasing load; commercial application has to assess to be very useful for scalability estimates, especially when no serial performance gain a to justify additional hardware resources; or testing is possible. Scalability analysis of additional scientific scientific numerical application resource usage needs to be application has been conducted in the similar way to validate the estimated prior to launching a series of experiments. As a wider robustness of the power fit approach. general definition, scalability is the ability of the system or network to efficiently integrate more resources to accommodate Keywords— scalability analysis; performance analysis; parallel greater workload, increase the output or productivity of the computer applications; scientific numerical modeling system, or enhance its reliability, in proportion to the added resources. I. INTRODUCTION Our current study aims to define specific objectives of The multi-processor and multi-core era in computer performance evaluation in the area of parallel scientific technology and advancements in interconnection networks computing, in attempt to determine the optimal use of the brought new challenges for software development, opening the available resources. The existing evaluation methods and possibility of using multiple hardware resources by the same scalability models are reviewed, and a new empirical model of application in parallel. Software performance is no longer scalability assessment is suggested to help meeting these dependent only on computer power and CPU speed, but rather objectives. on combined efficiency of the given system from both hardware and software perspectives. What became crucial for the II. KEY TERMINOLOGY IN PERFORMANCE EVALUATION performance was effective parallelization of the numerical code, resource management and workload distribution between the A. Performance Metrics processors, interprocessor communications, data access and A parallel system involves multi-level parallelism, i.e., a availability for the processing units, and similar procedures combination of multi-core or multi-processor computer involved in the workflow. This qualitative progress in architecture, parallel software algorithms implementations, and computing made many earlier out-of-reach numerical scientific interprocessor communication tools such as threading and problems doable and enabled further scientific advancement and message-passing. A variety of metrics have been developed to exploration. New opportunities that emerged for businesses, the assist in evaluating the performance of the system, and the banking industry, medical services, brought new radical following will be used in the present study: speedup, model networking and teleconferencing solutions, stimulated throughput, scaleup, and efficiency. technological and software advancements in the area of scientific computing as well. • Speedup S(N) is a measure of time reduction, i.e., a ratio of sequential execution time T(1) to that using parallel As a consequence of the new commercial opportunities, system of the fixed-size workload (fixed-size speedup), software development rapidly shifted towards multi-processor T(N) for N processors as follows [2]: applications, multiple-access databases, and advanced '(() communication strategies between the resources. Performance S(N) = (1) '()) evaluation of such parallel systems became a challenging task, and new ways to quantify and justify the use of additional • System throughput Y(N) is a system performance metric, reflecting the amount of relevant work done by the 1 11/ 2016 system of N processors per unit time., e.g., transactions per second, or forecasted days per second, or simulated TABLE I. COMMON SCALABILITY MODELS. time per second of system computation. Model Scaling capacity estimate New parameters Refs. • Scaleup C(N), or scaling capacity, is a ratio of model throughput for a multi-processor system to that for the Linear =>(?) = ? ?- processor ideal sequential case: count case +(() C(N) = (2) +()) Amdahl’s ? C - a fraction of [21] = = Law @ A + C(? − A) work that is • Scaleup is closely related to the speedup, except it sequential (0-1), measures the ability of a greater number of processing or seriality nodes to accommodate a greater workload in a fixed parameter amount of time (fixed-time scaleup). Gustafson’s ?E CF(A) – fraction [19], • Efficiency E(N), defined as speedup normalized by a = = Law D ? + CF(A)(? − A) of serial work [22] number of processors: with one -()) processor E(N) = (3) ) In the ideal case, the efficiency would be equal to one. Superserial =G(?) I - fraction of [4] Model ? serial work for = B. Scalability estimates of the parallel system A + C[(? − A) + I?(? − A)] interprocessor communications Scalability refers to the ability of the parallel system to (0-1), or improve the performance as hardware resources are added. In superseriality parameter contrast to the terms in the previous Section, for which a quantitative definition is straightforward to establish, the term “scalability” is more controversial, with numerous efforts in The Linear model represents an ideal case, in which the search of a rigorous definition [3], [5], [8], [13], [16]-[18]. One scaling capacity equals to or is directly proportional to the of the definitions that captures the essence of the term is given number of processors (hardware resources) used. With the few by [6]: “The scalability of a parallel algorithm on a parallel exceptions, realistic applications would not achieve linear architecture is a measure of its capacity to effectively utilize an behavior, and will have losses due to code seriality, inter- and increasing number of processors”. The lack of scientific intra-processor communications, network speed or other precision of this definition is due to a variety of factors within a resource or data exchange limitations, which result in sub-linear given parallel system affecting the performance that need to be system performance. considered. The Amdahl’s Law [21] model assumes the sequential Reference [8] offered an analytical definition of scalability, fraction of the code, 9 , is fundamental limitation of the as well as few more scalability metrics. According to their speedup of the system, and thus the scaling capacity would definition, scalability is the ratio between the two efficiency asymptotically approach 1 9 value. However, in case of a estimates, such that faster processor being used, both serial and parallel parts of the code would experience speedup to some degree. Amdahl’s Law 0(12) ./ = , for 67 > 6(. (4) also assumes that the parallel fraction of the application, 0(13) ; = 1 − 9 , remains invariant of the number of processors. In Ideal parallel system scalability will be equal to one. This some applications, however, the amount of parallel work could be another performance metric for numerical analysts to increases with the number of processors, while the amount of a consider. In most of the literature, however, scalability is evaluated in a wider sense. Scalability is generally considered to be a system property [17], in which a number of independent factors (i.e., scaling dimensions) could be manipulated to some extent. The key factor to achieve scalability for a particular application could be a tradeoff between the speedup and efficiency. Studies of parallel computer systems performance range from discussions of possible scalability models and metrics [2], [4], [6], [19] to methods of scalability analysis for a system of interest, to methods of scalability prediction [7], [10]-[12], [14], [15], [20]. Scalability models are developed to predict system performance as hardware resources (processor cores, or cpu-s) are added to the system. Scaling capacity is often used as a Fig. 1. Scalability model examples:

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us