X. Zhang, "Application-Specific Benchmarking"

Total Page:16

File Type:pdf, Size:1020Kb

X. Zhang, Application-Specific Benchmarking A thesis presented by Xiaolan Zhang to The Division of Engineering and Applied Sciences in partial fulfillment of the requirements for the degree of Doctor of Philosophy in the subject of Computer Science Harvard University Cambridge, Massachusetts May, 2001 Copyright © 2001 by Xiaolan Zhang All rights reserved Abstract This thesis introduces a novel approach to performance evaluation, called application-specific benchmarking, and presents techniques for designing and constructing meaningful benchmarks. A traditional benchmark usually includes a fixed set of programs that are run on different systems to produce a single figure of merit, which is then used to rank system performance. This approach often overlooks the relevance between the benchmark programs and the real applications they are supposed to represent. When the behaviors of the benchmark programs do not match those of the intended application, the benchmark scores are uninformative, and sometimes can be misleading. Furthermore, with the rapid pace of application development, it is impractical to create a new standard benchmark whenever a new “killer” application emerges. The application-specific benchmarking approach incorporates characteristics of the application of interest into the benchmarking process, yielding performance metrics that reflect the expected behavior of a particular application across a range of different platforms. It also allows benchmarks to evolve with applications and consequently the benchmarks are always up-to-date. This thesis applies the application-specific benchmarking methodology to a variety of domains covering Java Virtual Machines, garbage collection, and operating system. The result is a collection of benchmark suites that comprise the HBench framework, including HBench:Java, HBench:JGC, and HBench:OS. iii This thesis demonstrates HBench’s superiority in predicting application performance over a more conventional benchmarking approach. It is shown that HBench:Java is able to correctly predict the rank of running times of three commercial applications on a variety of Java Virtual Machine implementations. In the realm of garbage collection, the predicted garbage collection times for a stop-the-world, mark- sweep garbage collector closely match the actual times. In the domain of operating system, it is demonstrated that HBench:OS can be used to analyze performance bottlenecks and to predict performance gains resulting from a common optimization. iv Acknowledgments During my years at Harvard I am fortunate enough to have worked with a group of brilliant scholars. It is their enthusiasm towards research that inspires me; it is their encouragement that drives me to achieve the best I can. I owe them a great deal of gratitude. Among them is my advisor Margo Seltzer, to whom I am eternally grateful for her guidance and support, especially during the last two years when I had to work remotely due to the two-body problem. Her visionary view of systems research has proved invaluable to my thesis research. Her wonderful personality together with her high standards for research makes her an ideal advisor. To me, she is more than an advisor – she is also a role model. Brad Chen advised me for the first three years of my study. His creative thinking has had tremendous impact on me. What I learned from him has been very helpful in my research. Mike Smith provided sound advice in my earlier projects. Mike is also one of the nicest people I know. This is evidenced by the ping-pong table he donated to the division, which dramatically improved the quality of life for many graduate students. Professor Michael Rabin showed me the beauty and elegance of randomized algorithms. His pursuit for simplicity has profound influence on my approach to problems. Jim Waldo has the rare combination of both academic strength and a strong sense of business. I am grateful for the countless help and advice I received from him. v During my summer internships I have come to know a few great researchers who helped shape my thesis research. Bill Weihl’s group at Digital’s System Research Center taught me many things about architecture. Lance Berc helped me find the Java applications examined in this thesis. In the summer I spent with Steve Heller’s group at Sun Microsystems Lab East, I learned about garbage collection (GC). That experience greatly assisted my research on benchmarking garbage collectors. Dave Detlefs and Ole Agesen know more about GC than anybody else I can think of. Their insights and guidance have helped me develop a deeper understanding about GC. I also wish to express gratitude to my fellow students and colleagues who have made this journey more enjoyable. The VINO group members deserve my thanks for their assistance in many aspects. I have enjoyed many long interesting conversations with Keith Smith; I could not thank Kostas Magoutis enough for many rides to the airport and for numerous lunch discussions on research ideas; Most of my research was conducted on machines “borrowed” from Dan Ellard; Dave Sullivan and Dave Holland have also helped in various ways. Thanks to the HUBE group, most notably Cliff Young, Zheng Wang, and Glen Holloway, for their support in my earlier projects. My daily life would be less pleasant without the company of my other fellow students, Rebecca Hwa, Racqell Hill, Xianfeng Gu, Chris Small, Yaz Endo, Chris Stein and Dave Krinsky. Many thanks to Qingxia Tong for her friendship and for hosting me during the last few weeks of my stay in Boston. I am also grateful to Chris Lindig for our weekly ping-pong game, which has been my only physical exercise for the recent years. Finally, Elizabeth Pennell and Mollie Goldbarg also helped in proofreading my papers. vi This thesis is dedicated to my family, my husband Zhibo Zhang, my parents, Ruhuai Zhang and Huizhen He. Without their continuous love and support, none of this would have been possible. vii Table of Contents 1. Introduction......................................................................................................... 1 1.1 How Benchmark Results Can be Misleading – An Example .................. 3 1.2 Thesis Contributions ................................................................................. 4 1.3 Thesis Outline............................................................................................ 5 2. Background and Related Work .......................................................................... 7 2.1 Computer Benchmarks in General............................................................ 7 2.1.1 Types of Benchmarks ................................................................... 7 2.1.2 Examples of Current Standard Benchmarks ................................ 8 2.2 Non-Traditional Approaches to Benchmarking ....................................... 9 2.3 Performance Evaluation of Java Virtual Machines................................ 11 2.4 Garbage Collector Performance Evaluation........................................... 13 2.5 Operating System Benchmarking ........................................................... 15 2.6 Performance Prediction Using Queueing Models.................................. 16 2.7 Conclusions............................................................................................. 17 3. Application-Specific Benchmarking: the HBench Approach ......................... 19 3.1 The HBench Approach............................................................................ 19 3.1.1 The Vector-Based Methodology ................................................ 20 3.1.2 The Trace-Based Methodology.................................................. 24 3.1.3 The Hybrid Methodology........................................................... 25 3.2 Related Approaches................................................................................. 25 3.3 Conclusions............................................................................................. 27 4. HBench:Java: An Application-Specific Benchmark for JVMs ...................... 28 4.1 Identifying Primitive Operations ............................................................ 28 4.1.1 JVM Overview............................................................................ 28 4.1.2 First Attempt............................................................................... 29 4.1.3 A Higher Level Approach .......................................................... 31 4.2 HBench:Java Implementation................................................................. 32 4.2.1 Profiler......................................................................................... 32 4.2.2 Microbenchmarks ....................................................................... 33 4.2.3 JVM Support for Profiling and Microbenchmarking ................ 35 4.3 Experimental Results............................................................................... 37 4.3.1 Experimental Setup..................................................................... 37 4.3.2 Results......................................................................................... 39 4.4 Discussion................................................................................................ 45 4.5 Summary.................................................................................................. 47 viii 5. Evaluating Garbage Collector Performance with HBench:JGC ..................... 48 5.1 Introduction ............................................................................................48
Recommended publications
  • Panel Discussion: the Next Killer Application
    Panel Discussion: The Next Killer Application Moderator: Howard Sachs Telairity Panelists: Ajay Luthra Motorola David Kirk Nvidia Edward Frank Broadcom Nick Tredennick Gilder Technology Pradeep Dubey Intel Abstract: Hot Chips has always focused on the latest semiconductor processes and computer architectures. As transistors continue to shrink, design costs increase and wafer sizes go from 200mm to 300mm, larger volumes of chips need to be sold in order to pay for the design, mask, EDA software, and manufacturing costs. This puts more pressure on the semiconductor business to search for the next killer application in the hopes of filling the factories. Some of the issues raised below will be discussed. • What are some of the past successful killer applications? • What were the key enabling factors? • What are the financial requirements to be considered a killer application? • Are FPGAs a killer application? • What are the next killer applications? • Has the emergence of foundries and COT service enabled more killer apps? • Does the next killer app depend upon your perspective? • Is HDTV one of the next killer apps? Panelist Biographies: Ajay Luthra received his B.E. (Hons) from BITS, Pilani, India in 1975, M.Tech. in Communications Engineering from IIT Delhi in 1977 and Ph.D. from Moore School of Electrical Engineering, University of Pennsylvania in 1981. From 1981 to 1984 he was a Senior Engineer at Interspec Inc., Philadelphia, Pennsylvania, where he was involved in applications of Digital Signal and Image Processing for Bio-medical applications. From 1984 to 1995 he was at Tektronix, Beaverton, Oregon, where from 1985 - 1990 he was manager of Digital Signal and Picture Processing Group and from 1990 - 1995 he was Director of Communications / Video Systems Research Lab.
    [Show full text]
  • Human-Level AI's Killer Application: Interactive Computer Games
    AI Magazine Volume 22 Number 2 (2001) (© AAAI) Articles Human-Level AI’s Killer Application Interactive Computer Games John E. Laird and Michael van Lent I Although one of the fundamental goals of AI is to communication with natural language, com- understand and develop intelligent systems that monsense reasoning, creativity, and learning. have all the capabilities of humans, there is little If this is our dream, why isn’t any progress active research directly pursuing this goal. We pro- being made? Ironically, one of the major rea- pose that AI for interactive computer games is an sons that almost nobody (see Brooks et al. emerging application area in which this goal of [2000] for one high-profile exception) is work- human-level AI can successfully be pursued. Inter- active computer games have increasingly complex ing on this grand goal of AI is that current and realistic worlds and increasingly complex and applications of AI do not need full-blown intelligent computer-controlled characters. In this human-level AI. For almost all applications, article, we further motivate our proposal of using the generality and adaptability of human interactive computer games for AI research, review thought is not needed—specialized, although previous research on AI and games, and present more rigid and fragile, solutions are cheaper the different game genres and the roles that and easier to develop. Unfortunately, it is human-level AI could play within these genres. We unclear whether the approaches that have then describe the research issues and AI techniques been developed to solve specific problems are that are relevant to each of these roles.
    [Show full text]
  • Videogames and Isolation the Galapagos Effect on the Videogame Market
    Single Cycle Degree programme in Lingue culture e società dell’Asia e dell’Africa mediterranea (LICAAM) ordinamento ex DM 270/2004 Final Thesis Videogames and isolation The Galapagos effect on the videogame market Supervisor Ch. Prof. Patrick Heinrich Assistant supervisor Ch. Prof. Pierantonio Zanotti Graduand Luca D’Angelo Matriculation Number 855677 Academic Year 2017 / 2018 Index Index..................................................................................................................................................... 3 要旨 ...................................................................................................................................................... 4 Introduction .......................................................................................................................................... 6 CHAPTER 1: The world of gaming..................................................................................................... 8 1.1 Origin ......................................................................................................................................... 8 1.2 Golden Age of West and East ................................................................................................... 11 1.3 Old “console wars” ................................................................................................................. 17 1.4 The 1990s ................................................................................................................................. 20
    [Show full text]
  • Excel the Killer
    HOW TO EFFECTIVELY USE TECHNOLOGY tech toolbox Excel the Killer “Killer app” is a bit of bizspeak that has been di- observed, “And, as we all know, they don’t teach luted by overuse. But, like “disruption,” when used Excel in law school and they really, really should.” properly, it refers to a critical element of techno- For the uninitiated, there are two aspects of logical progress. A killer application is the piece of Excel that are severely underappreciated. content that proves so valuable that it leads to the First, Excel is not just for numbers. To the soft- adoption of the hardware with which it is associ- ware, numbers and text are interchangeable forms ated. For example, NFL football was the killer app of data. Mathematical formulas are one small for HD television. The original Super Mario Bros. subset of the spreadsheet functions available to was the killer app for the original Nintendo, just as sort, filter, combine and disaggregate data. Thus, Tetris was the killer app for the Gameboy. names, geographic information, dates, etc., are all The original killer app for the personal com- amenable to the spreadsheet treatment. puter was VisiCalc, a spreadsheet program that ran Second, Excel is often the mechanism by which first on the Apple II. As Byte magazine wrote in companies use and communicate their structured 1980, “VisiCalc is the first program available on a data. To be simplistic, structured data is data that microcomputer that has been responsible for the resides in databases, such as Access, Oracle and sales of entire systems.” The ability to run $100 SAP.
    [Show full text]
  • Download As A
    EUROPEAN PARLIAMENT Science and Technology Options Assessment S T O A LOOKING FORWARD IN THE ICT & MEDIA INDUSTRIES STUDY (IP/A/STOA/FWC-2005-28/SC34) IP/A/STOA/2007-12 PE 417.468 DIRECTORATE GENERAL FOR INTERNAL POLICIES POLICY DEPARTMENT A: ECONOMIC AND SCIENTIFIC POLICY SCIENCE AND TECHNOLOGY OPTIONS ASSESSMENT LOOKING FORWARD IN THE ICT & MEDIA INDUSTRIES STUDY IP/A/STOA/FWC-2005-28/SC34 MAY 2009 PE 417.468 EN STOA - Science and Technology Options Assessment _________________________________________________________________________________________ This study was commissioned by STOA under the Framework contract IP/A/STOA/FWC/2005-28. Only published in English. Authors: Knud Böhle, Michael Rader, Arnd Weber, Dirk Weber, Insti- tute for Technology Assessment and Systems Analysis (ITAS), Forschungszentrum Karlsruhe in the Helmholtz Association Hermann-von-Helmholtz-Platz 1 D-76344 Eggenstein-Leopoldshafen Phone +49-7247-82 2989 (KB) or -2505 (MR) Fax +49-7247-82 4806 Email: [email protected] or [email protected] Administrator: Mr Miklós Györffi Policy Department A - Economic and Scientifi Policy Directorate-General Internal Policies of the Union European Parliament Rue Wiertz 60 - ATR 00K076 B-1047 Brussels Tel: +32-2-2832505 Fax: +32-2-2844984 Email: [email protected] Manuscript completed in December 2008. The opinions expressed in this document do not necessarily represent the offi- cial position of the European Parliament. Reproduction and translation for non-commercial purposes are authorised pro- vided
    [Show full text]
  • Simon Says the Color: the Digital Evolution of an Outdoor Kids Game
    Simon Says the Color: The Digital Evolution of an Outdoor Kids Game Claudio E. Palazzi Dario Maggiorini Dipartimento di Matematica Pura e Applicata Dipartimento di Informatica e Comunicazione Università di Padova Università degli Studi di Milano via Trieste, 63, 35121 Padova, Italy via Comelico, 39, 20135 Milano, Italy [email protected] [email protected] Andrea Burattin Riccardo Ferro Dipartimento di Matematica Pura e Applicata Dipartimento di Matematica Pura e Applicata Università di Padova Università di Padova via Trieste, 63, 35121 Padova, Italy via Trieste, 63, 35121 Padova, Italy [email protected] [email protected] ABSTRACT years, have increased their capabilities in terms of memory storage, In the last decades mobile phones have evolved from simple instru- CPU power, and connectivity (e.g., GPRS, UMTS, Wi-Fi, Blue- ments to make calls to complex and powerful devices. Following tooth). Furthermore, the use of well known and open software plat- this trend, a popular application as gaming has extended its domain forms (like Symbian [1] and Android [2]), and the free availability from home computers and consoles to the mobile realm. Mobile of development frameworks (like Java ME) has attracted the busi- games represent now a killer application for smart phones and are ness world together with researchers from various fields: gaming, attracting millions of subscribers worldwide. Nowadays, the chal- networking, artificial intelligence, communication, imaging, and lenge is that of creating a new generation of mobile games propos- many others. As a result from this growing interest the mobile cus- ing something more than just a tiny version of home entertainment tomers evolved from simple callers to messengers (first with SMS, blockbusters; the ubiquitous use and the interesting features (cam- then using MMS) and now they are becoming users of complex ap- era, gyroscope, connectivity, GPS, etc.) of mobile phones should plications [3], [4].
    [Show full text]
  • Examining the Dynamics of the US Video Game Console Market
    Can Nintendo Get its Crown Back? Examining the Dynamics of the U.S. Video Game Console Market by Samuel W. Chow B.S. Electrical Engineering, Kettering University, 1997 A.L.M. Extension Studies in Information Technology, Harvard University, 2004 Submitted to the System Design and Management Program, the Technology and Policy Program, and the Engineering Systems Division on May 11, 2007 in Partial Fulfillment of the Requirements for the Degrees of Master of Science in Engineering and Management and Master of Science in Technology and Policy at the Massachusetts Institute of Technology June 2007 C 2007 Samuel W. Chow. All rights reserved The author hereby grants to NIT permission to reproduce and to distribute publicly paper and electronic copies of this thesis document in whole or in part in any medium now know and hereafter created. Signature of Author Samuel W. Chow System Design and Management Program, and Technology and Policy Program May 11, 2007 Certified by James M. Utterback David J. cGrath jr 9) Professor of Management and Innovation I -'hs Supervisor Accepted by Pat Hale Senior Lecturer in Engineering Systems - Director, System Design and Management Program Accepted by Dava J. Newman OF TEOHNOLoGY Professor of Aeronautics and Astronautics and Engineering Systems Director, Technology and Policy Program FEB 1 E2008 ARCHNOE LIBRARIES Can Nintendo Get its Crown Back? Examining the Dynamics of the U.S. Video Game Console Market by Samuel W. Chow Submitted to the System Design and Management Program, the Technology and Policy Program, and the Engineering Systems Division on May 11, 2007 in Partial Fulfillment of the Requirements for the Degrees of Master of Science in Engineering and Management and Master of Science in Technology and Policy Abstract Several generations of video game consoles have competed in the market since 1972.
    [Show full text]
  • Applying Markov Decision Processes to 2D Real Time Games
    APPLYING MARKOV DECISION PROCESSES TO 2D REAL TIME GAMES Thomas Hartley, Quasim Mehdi, Norman Gough The Research Institute in Advanced Technologies (RIATec) School of Computing and Information Technology University Of Wolverhampton, UK, WV1 1EL E-mail: [email protected] KEYWORDS objectives of the project were the delivery of a computer game AI engine that demonstrated how an AI technique Markov decision processes, value iteration, artificial could be implemented as a game AI engine and a basic intelligence (AI), AI in computer games. computer game that demonstrated the engine. The computer game was in the style of a researched computer game, which ABSTRACT had been identified as needing improvement. This paper presents the outcomes of a research project into In our previous work Hartley et al. (2004) we presented our the field of artificial intelligence (AI) and computer game implementation of Markov decision processes (MDPs) and AI. The project considered the problem of applying AI the value iteration (VI) algorithm in a computer game AI techniques to computer games. Current commercial engine. In this paper we are presenting an implementation of computer games tend to use complex scripts to control AI the MDP AI engine we developed in a 2D Pac-man (Namco, opponents. This can result in poor and predictable gameplay. 1980) style real time computer game. We are also going to The use of academic AI techniques is a possible solution to answer a number of the questions raised in our previous overcome these shortcomings. This paper describes the work; namely can the AI engine we developed operate process of applying Markov decision processes (MDPs) successfully in larger game environments and will the use of using the value iteration algorithm to a 2D real time a less than optimal policy still produce a viable solution in computer game.
    [Show full text]
  • Innovation in the Video Game Industry: the Role of Nintendo
    Department of Business and Management Course of Managerial Decision Making Innovation in the video game industry: the role of Nintendo Prof. Luigi Marengo Prof. Luca De Benedictis SUPERVISOR CO-SUPERVISOR Fulvio Nicolamaria ID No.705511 CANDIDATE Academic Year 2019/2020 To those who belong to my past, that have made me what I am and to those who belong to my present, who give me the strength to advance 2 Foreword Writing a paper with the gaming industry as one of the main themes may seem, in the eyes of the reader that is not properly involved in the subject, as something atypical and far from the academic conception of what should be debated in a thesis. However, in a work that concerns Economics, even an industry dedicated solely to entertainment like that one of video game can be an interesting challenge. Moreover, each thesis should aim to develop researches on new topics and to process the results. What better way to do this if not by exploring overlooked fields of research? The idea of a work involving Nintendo company as the main topic was among the possible research options, and choosing it as the theme to conclude the Master Degree was the goal I had proposed to myself for a long time. The involvement of the subject of innovation comes from the belief of its importance; since these two themes, innovation and Nintendo, could be easily combined, it was natural to create this work in some way dual. Making available to any reader topics so far from usual ones, without sacrificing the academic character of the paper, was both a challenge and a target.
    [Show full text]
  • Case 11 Rivalry in Video Games
    CTAC11 4/17/07 14:01 Page 185 case 11 Rivalry in Video Games At the beginning of 2007, the world video games industry was entering a new and unusual stage of its development. For 11 years the industry had been domin- ated by Sony, whose PlayStation had accounted for well over half of world console sales during the previous two product generations. However, in the new generation of video game consoles, an entirely new situation was emerging. As a result of its own missteps, Sony’s iron grip on the industry had been broken and the seventh generation of video consoles was shaping up into a three-way battle between Sony, Microsoft, and Nintendo. The stakes were high. With each new generation of consoles, the industry had surpassed its previous sales peak (see figure 11.1). Industry forecasts suggested that the seventh generation machines would be no exception – worldwide sales of video games hardware (consoles and handheld players) and software was estimated at around $24 billion in 2006, of which software accounted for around 60%. The market was expected to be bigger in 2007 – especially for hardware. For the three main players in the industry, the key issue was how revenues and profits would be split among them. The evidence of the past was that the video game consoles tended to be a “winner-take-all” industry where customers gravi- tated towards the market leader. The result was that one company tended to establish a market share of over 60% of the market and scooped the major part of the industry profit pool (see table 11.1).
    [Show full text]
  • The Big Players in the Late 19080S and Early 1990S Were Two Japanese
    Geoffrey Allen B. Nuval 2/18/2003 STS 145: History of Computer Game Design Case Study THE PLUMBER AND THE HEDGEHOG: A Case Study of Two Games that Defined the Epic Nintendo-Sega Rivalry They were the Beatles and Stones of the late 1980s and early 1990s. Nintendo was the Beatles: wholesome fun for all the family, with superior artistry but a slightly “safe” image; Sega, on the other hand, was the snarling, street-smart gang, roughing it up for the hardcore videogame fans. -Steven Poole, Trigger Happy Before the battle between home videogame consoles was infiltrated by media and technology powerhouses, before the Playstation or the Xbox were the weapons of choice, before Lara Croft became a modern day Joan of Arc; two Japanese videogame titans locked horns during the latter 1980s and early 1990s in an epic fight that encompassed the world and left a multibillion dollar industry in its wake. The two camps, Nintendo Co. Ltd. and Sega Enterprises Ltd., respectively appointed icons to lead their fronts: a plumber named Mario and a hedgehog named Sonic. Through a mixture of technical, business, and cultural perspectives, this case study will give us insight into one of the most crucial points of the Nintendo-Sega War, documenting the events, decisions, and people involved with the release of Nintendo’s Super Mario Bros. 3 and the subsequent release of Sega’s Sonic the Hedgehog. These two games not only defined a rivalry between Mario and Sonic as they competed for the leading character role in the videogame industry, they also helped to create a cultural divide and intensify the greater rivalry between the once mighty Sega and Nintendo camps.
    [Show full text]
  • In Our Initial Comments, We Have Shown That the Ongoing
    THE IMPORTANCE OF ISPS IN THE GROWTH OF THE COMMERCIAL INTERNET WHY RELIANCE ON FACILITY-BASED COMPETITION WILL NOT PRESERVE VIBRANT COMPETITION AND DYNAMIC INNOVATION ON THE HIGH-SPEED INTERNET CONSUMER FEDERATION OF AMERICA TEXAS OFFICE PUBLIC UTILITY COUNSEL JULY 1, 2002 TABLE OF CONTENTS EXECUTIVE SUMMARY ........................................................................................................ i I. INTRODUCTION ..............................................................................................................1 II. UNDERPINNINGS OF THE DYNAMIC, CONSUMER-FRIENDLY INTERNET .......4 A. Looking Ahead from 1990.................................................................................................4 B. Looking Back from 2002 ...................................................................................................5 C. The Dynamic Environment of Open Digital Communications Platforms .......................11 D. The Role of Public Policy In Creating Open Communications Platforms ......................14 III. MISPLACED FAITH IN INTERMODAL COMPETITION .....................................17 A. Efforts to Close the Third Generation of the Internet ......................................................17 B. The Failure of Competition Between Facility Owners ....................................................18 1. Facility Deployment and Characteristics......................................................................18 2. An Anticompetitive Track Record................................................................................19
    [Show full text]