arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Perry Cheng

55 papers · 1997–2017

1997: 11998: 21999: 22000: 02001: 32002: 02003: 62004: 82005: 32006: 32007: 32008: 42009: 22010: 12011: 22012: 42013: 52014: 12015: 12016: 22017: 2
1997peak 8 in 20042017

Frequent co-authors

Papers

showing 1–25 of 55 RSS

Serverless Computing: Current Trends and Open Problems

Ioana Baldini, Paul Castro, Kerry Chang +8 more

cs.DC · · cited 727× · arXiv ↗ · more like this ·

Serverless computing has emerged as a new compelling paradigm for the deployment of applications and services. It represents an evolution of cloud programming models, abstractions, and platforms, and is a testament to the maturity and wide adoption of cloud technologies. In this chapter, we survey existing serverless platforms from industry, academia, and open source projects, identify key characteristics and use cases, and describe technical challenges and open problems.

A real-time garbage collector with low overhead and consistent utilization

David F. Bacon, Perry Cheng, V. T. Rajan

Software · · cited 322× · DOI ↗ · more like this ·

Now that the use of garbage collection in languages like Java is becoming widely accepted due to the safety and software engineering benefits it provides, there is significant interest in applying garbage collection to hard real-time systems. Past approaches have generally suffered from one of two major flaws: either they were not provably real-time, or they imposed large space overheads to meet the real-time bounds. We present a mostly non-moving, dynamically defragmenting collector that overcomes both of these limitations: by avoiding copying in most cases, space requirements are kept low; and by fully incrementalizing the collector we are able to meet real-time bounds. We implemented our algorithm in the Jikes RVM and show that at real-time resolution we are able to obtain mutator utilization rates of 45% with only 1.6--2.5 times the actual space required by the application, a factor…

Myths and realities

Stephen M. Blackburn, Perry Cheng, Kathryn S. McKinley

Hardware and Architecture · · cited 248× · DOI ↗ · more like this ·

This paper explores and quantifies garbage collection behavior for three whole heap collectors and generational counterparts: copying semi-space, mark-sweep, and reference counting, the canonical algorithms from which essentially all other collection algorithms are derived. Efficient implementations in MMTk, a Java memory management toolkit, in IBM's Jikes RVM share all common mechanisms to provide a clean experimental platform. Instrumentation separates collector and program behavior, and performance counters measure timing and memory behavior on three architectures.Our experimental design reveals key algorithmic features and how they match program characteristics to explain the direct and indirect costs of garbage collection as a function of heap size on the SPEC JVM benchmarks. For example, we find that the contiguous allocation of copying collectors attains significant locality…

A parallel, real-time garbage collector

Perry Cheng, Guy E. Blelloch

Hardware and Architecture · Defense Technical Information Center (DTIC) · · cited 199× · DOI ↗ · more like this ·

A'(=$B#127$C7D-7E"#%9F<\t>$7'(-7:;<<"G$&%-\t12-*#)+1+)H7IJ->0" ;<<":'(%-\t1+687)29:K*,<\tB>0"$%L.M.D.&%<1+12%&%7<\t'K)2$"#=$)2;\t>%"ON5<'.$D-\t'(="P6 9F%9:<\t'(IF9?B127)+/#'(<&=%$$<\t'($C->0"Q)2$A*0-$%"R<>S-\t>S%-\t'1+)2('C&%<1+12%&%7<\t' -12;<')27D09UT VW84X.D)2&YDG/'(<Z)2"#%"R[@%"R*,<B#>"$\\<\t>]7D0C7)29FC-\t>I…

Oil and water? High performance garbage collection in Java with MMTk

Stephen M. Blackburn, Perry Cheng, Kathryn S. McKinley

Artificial Intelligence · ANU Open Research (Australian National University) · · cited 195× · DOI ↗ · more like this ·

Increasingly popular languages such as Java and C# require efficient garbage collection. This paper presents the design, implementation, and evaluation of MMTk, a Memory Management Toolkit for and in Java. MMTk is an efficient, composable, extensible, and portable framework for building garbage collectors. MMTk uses design patterns and compiler cooperation to combine modularity and efficiency. The resulting system is more robust, easier to maintain, and has fewer defects than monolithic collectors. Experimental comparisons with monolithic Java and C implementations reveal MMTk has significant performance advantages as well. Performance critical system software typically uses monolithic C at the expense of flexibility. Our results refute common wisdom that only this approach attains efficiency, and suggest that performance critical software can embrace modular design and high-level…

The garbage collection advantage

Xianglong Huang, Stephen M. Blackburn, Kathryn S. McKinley +3 more

Hardware and Architecture · · cited 159× · DOI ↗ · more like this ·

As improvements in processor speed continue to outpace improvements in cache and memory speed, poor locality increasingly degrades performance. Because copying garbage collectors move objects, they have an opportunity to improve locality. However, no static copying order is guaranteed to match program traversal orders. This paper introduces <i>online object reordering</i> (OOR) which includes a new dynamic, online class analysis for Java that detects program traversal patterns and exploits them in a copying collector. OOR uses run-time method sampling that drives just-in-time (JIT) compilation. For each <i>hot</i> (frequently executed) method, OOR analysis identifies the hot field accesses. At garbage collection time, the OOR collector then copies referents of hot fields together with their parent. Enhancements include static analysis to exclude accesses in cold basic blocks, heuristics…

Lime

Joshua Auerbach, David F. Bacon, Perry Cheng +1 more

Hardware and Architecture · · cited 151× · DOI ↗ · more like this ·

The halt in clock frequency scaling has forced architects and language designers to look elsewhere for continued improvements in performance. We believe that extracting maximum performance will require compilation to highly heterogeneous architectures that include reconfigurable hardware.

Building a Chatbot with Serverless Computing

Mengting Yan, Paul Castro, Perry Cheng +1 more

Computer Networks and Communications · · cited 136× · DOI ↗ · more like this ·

Chatbots are emerging as the newest platform used by millions of consumers worldwide due in part to the commoditization of natural language services, which provide provide developers with many building blocks to create chatbots inexpensively. However, it is still difficult to build and deploy chatbots. Developers need to handle the coordination of the cognitive services to build the chatbot interface, integrate the chatbot with external services, and worry about extensibility, scalability, and maintenance. In this work, we present the architecture and prototype of a chatbot using a serverless platform, where developers compose stateless functions together to perform useful actions. We describe our serverless architecture based on function sequences, and how we used these functions to coordinate the cognitive microservices in the Watson Developer Cloud to allow the chatbot to interact…

The serverless trilemma: function composition for serverless computing

Ioana Baldini, Perry Cheng, Stephen J. Fink +5 more

Information Systems · · cited 129× · DOI ↗ · more like this ·

The field of serverless computing has recently emerged in support of highly scalable, event-driven applications. A serverless application is a set of stateless functions, along with the events that should trigger their activation. A serverless runtime allocates resources as events arrive, avoiding the need for costly pre-allocated or dedicated hardware.

Generational stack collection and profile-driven pretenuring

Perry Cheng, Robert Harper, Peter Lee

Artificial Intelligence · · cited 107× · DOI ↗ · more like this ·

This paper presents two techniques for improving garbage collection performance: generational stack collection and profile-driven pretenuring. The first is applicable to stack-based implementations of functional languages while the second is useful for any generational collector. We have implemented both techniques in a generational collector used by the TIL compiler (Tarditi, Morrisett, Cheng, Stone, Harper, and Lee 1996), and have observed decreases in garbage collection times of as much as 70% and 30%, respectively.Functional languages encourage the use of recursion which can lead to a long chain of activation records. When a collection occurs, these activation records must be scanned for roots. We show that scanning many activation records can take so long as to become the dominant cost of garbage collection. However, most deep stacks unwind very infrequently, so most of the root…

Compiling a high-level language for GPUs: (via language support for architectures and compilers)

Christophe Dubach, Perry Cheng, Rodric Rabbah +2 more

Hardware and Architecture · Programming Language Design and Implementation · · cited 99× · OpenAlex ↗ · more like this ·

Languages such as OpenCL and CUDA offer a standard interface for general-purpose programming of GPUs. However, with these languages, programmers must explicitly manage numerous low-level details involving communication and synchronization. This burden makes programming GPUs difficult and error-prone, rendering these powerful devices inaccessible to most programmers.We desire a higher-level programming model that makes GPUs more accessible while also effectively exploiting their computational power. This paper presents features of Lime, a new Java-compatible language targeting heterogeneous systems, that allow an optimizing compiler to generate high quality GPU code. The key insight is that the language type system enforces isolation and immutability invariants that allow the compiler to optimize for a GPU without heroic compiler analysis.Our compiler attains GPU speedups between 75% and…

Using hardware performance monitors to understand the behavior of java applications

Peter F. Sweeney, Matthias Hauswirth, Brendon Cahoon +4 more

Computer Networks and Communications · · cited 86× · OpenAlex ↗ · more like this ·

Modern Java programs, such as middleware and application servers, include many complex software components. Improving the performance of these Java applications requires a better understanding of the interactions between the application, virtual machine, operating system, and architecture. Hardware performance monitors, which are available on most modern processors, provide facilities to obtain detailed performance measurements of long-running applications in real time. However, interpreting the data collected using hardware performance monitors is difficult because of the low-level nature of the data. We have

Controlling fragmentation and space consumption in the metronome, a real-time garbage collector for Java

David F. Bacon, Perry Cheng, V. T. Rajan

Hardware and Architecture · ACM SIGPLAN Notices · · cited 73× · DOI ↗ · more like this ·

Now that the use of garbage collection in languages like Java is becoming widely accepted due to the safety and software engineering benefits it provides, there is significant interest in applying garbage collection to hard real-time systems. Past approaches have generally suffered from one of two major flaws: either they were not provably real-time, or they imposed large space overheads to meet the real-time bounds.Our previous work [3] presented the Metronome, a mostly non-copying real-time collector. The Metronome achieves worst-case pause times of 6 milliseconds while maintaining consistent mutator CPU utilization rates of 50% with only 1.5-2.1 times the maximum heap space required by the application, which is comparable with space requirements for stop-the-world collectors.However, that algorithm assumed a constant collection rate, ignored program-dependent characteristics, and…

A compiler and runtime for heterogeneous computing

Joshua Auerbach, David F. Bacon, Ioana Burcea +4 more

Hardware and Architecture · · cited 68× · DOI ↗ · more like this ·

Heterogeneous systems show a lot of promise for extracting high-performance by combining the benefits of conventional architectures with specialized accelerators in the form of graphics processors (GPUs) and reconfigurable hardware (FPGAs). Extracting this performance often entails programming in disparate languages and models, making it hard for a programmer to work equally well on all aspects of an application. Further, relatively little attention is paid to co-execution---the problem of orchestrating program execution using multiple distinct computational elements that work seamlessly together.

Compiling a high-level language for GPUs

Christophe Dubach, Perry Cheng, Rodric Rabbah +2 more

Hardware and Architecture · ACM SIGPLAN Notices · · cited 63× · DOI ↗ · more like this ·

Languages such as OpenCL and CUDA offer a standard interface for general-purpose programming of GPUs. However, with these languages, programmers must explicitly manage numerous low-level details involving communication and synchronization. This burden makes programming GPUs difficult and error-prone, rendering these powerful devices inaccessible to most programmers. We desire a higher-level programming model that makes GPUs more accessible while also effectively exploiting their computational power. This paper presents features of Lime, a new Java-compatible language targeting heterogeneous systems, that allow an optimizing compiler to generate high quality GPU code. The key insight is that the language type system enforces isolation and immutability invariants that allow the compiler to optimize for a GPU without heroic compiler analysis. Our compiler attains GPU speedups between 75%…

Demystifying magic

Daniel Frampton, Stephen M. Blackburn, Perry Cheng +4 more

Hardware and Architecture · ANU Open Research (Australian National University) · · cited 63× · DOI ↗ · more like this ·

The power of high-level languages lies in their abstraction over hardware and software complexity, leading to greater security, better reliability, and lower development costs. However, opaque abstractions are often show-stoppers for systems programmers, forcing them to either break the abstraction, or more often, simply give up and use a different language. This paper addresses the challenge of opening up a high-level language to allow practical low-level programming without forsaking integrity or performance.

Design and implementation of a comprehensive real-time java virtual machine

Joshua Auerbach, David F. Bacon, Bob Blainey +6 more

Hardware and Architecture · · cited 60× · DOI ↗ · more like this ·

The emergence of standards for programming real-time systems in Java has encouraged many developers to consider its use for systems previously only built using C, Ada, or assembly language. However, the RTSJ standard in isolation leaves many important problems unaddressed, and suffers from some serious problems in usability and safety.

On bounding time and space for multiprocessor garbage collection

Guy E. Blelloch, Perry Cheng

Computer Networks and Communications · Research Showcase @ Carnegie Mellon University (Carnegie Mellon University) · · cited 53× · DOI ↗ · more like this ·

This paper presents the first multiprocessor garbage collection algorithm with provable bounds on time and space. The algorithm is a real-time shared-memory copying collector. We prove that the algorithm requires at most 2(R(l + 2/k) + N + 5PD) memory locations, where P is the number of processors, R is the maximum reachable space during a computation (number of locations accessible from the root set), N is the maximum number of reachable objects, D is the maximum depth of any data object, and k is a parameter specifying how many locations are copied each time a location is allocated. Furthermore we show that client threads are never stopped for more than time proportional to k non-blocking machine instructions. The bounds are guaranteed even with arbitrary length arrays. The collector only requires write-barriers (reads are unaffected by the collector), makes few assumptions about the…

Cloud-native, event-based programming for mobile applications

Ioana Baldini, Paul Castro, Perry Cheng +6 more

Computer Networks and Communications · IEEE Conference Proceedings · · cited 48× · DOI ↗ · more like this ·

Creating mobile applications often requires both client and server-side code development, each requiring vastly different skills. Recently, cloud providers like Amazon and Google introduced "server-less" programming models that abstract away many infrastructure concerns and allow developers to focus on their application logic. In this demonstration, we introduce OpenWhisk, our system for constructing cloud native actions, within the context of mobile application development process. We demonstrate how OpenWhisk is used in mobile application development, allows cloud API customizations for mobile, and simplifies mobile application architectures.

A unified theory of garbage collection

David F. Bacon, Perry Cheng, V. T. Rajan

Computer Networks and Communications · · cited 45× · DOI ↗ · more like this ·

Tracing and reference counting are uniformly viewed as being fundamentally different approaches to garbage collection that possess very distinct performance properties. We have implemented high-performance collectors of both types, and in the process observed that the more we optimized them, the more similarly they behaved - that they seem to share some deep structure.

Tax-and-spend

Joshua Auerbach, David F. Bacon, Perry Cheng +6 more

Hardware and Architecture · · cited 43× · DOI ↗ · more like this ·

Real-time Garbage Collection (RTGC) has recently advanced to the point where it is being used in production for financial trading, military command-and-control, and telecommunications. However, among potential users of RTGC, there is enormous diversity in both application requirements and deployment environments.

Garbage collection for embedded systems

David F. Bacon, Perry Cheng, David Grove

Artificial Intelligence · · cited 38× · DOI ↗ · more like this ·

Security concerns on embedded devices like cellular phones make Java an extremely attractive technology for providing third-party and user-downloadable functionality. However, garbage collectors have typically required several times the maximum live data set size (which is the minimum possible heap size) in order to run well. In addition, the size of the virtual machine (ROM) image and the size of the collector's data structures (metadata) have not been a concern for server- or workstation-oriented collectors.We have implemented two different collectors specifically designed to operate well on small embedded devices. We have also developed a number of algorithmic improvements and compression techniques that allow us to eliminate almost all of the per-object overhead that the virtual machine and the garbage collector require. We describe these optimizations and present measurements of…

Eventrons

Daniel Spoonhower, Joshua Auerbach, David F. Bacon +2 more

Artificial Intelligence · ACM SIGPLAN Notices · · cited 28× · DOI ↗ · more like this ·

While real-time garbage collection has achieved worst-case latencies on the order of a millisecond, this technology is approaching its practical limits. For tasks requiring extremely low latency, and especially periodic tasks with frequencies above 1 KHz, Java programmers must currently resort to the NoHeapRealtimeThread construct of the Real-Time Specification for Java. This technique requires expensive run-time checks, can result in unpredictable low-level exceptions, and inhibits communication with the rest of the garbage-collected application. We present Eventrons , a programming construct that can arbitrarily preempt the garbage collector, yet guarantees safety and allows its data to be visible to the garbage-collected heap. Eventrons are a strict subset of Java, and require no run-time memory access checks. Safety is enforced using a data-sensitive analysis and simple run-time…

Typed compilation of recursive datatypes

Joseph C. Vanderwaart, Derek Dreyer, Leaf Petersen +3 more

Artificial Intelligence · Research Showcase @ Carnegie Mellon University (Carnegie Mellon University) · · cited 19× · DOI ↗ · more like this ·

Standard ML employs an opaque (or generative) semantics of datatypes, in which every datatype declaration produces a new type that is different from any other type, including other identically defined datatypes. A natural way of accounting for this is to consider datatypes to be abstract. When this interpretation is applied to type-preserving compilation, however, it has the unfortunate consequence that datatype constructors cannot be inlined, substantially increasing the run-time cost of constructor invocation compared to a traditional compiler. In this paper we examine two approaches to eliminating function call overhead from datatype constructors. First, we consider a transparent interpretation of datatypes that does away with generativity, altering the semantics of SML; and second, we propose an interpretation of datatype constructors as coercions, which have no run-time effect or…

REAL-TIME MUSIC SYNTHESIS IN JAVA USING THE METRONOME GARBAGE COLLECTOR

Joshua Auerbach, David F. Bacon, Florian Bömers +1 more

Computer Vision and Pattern Recognition · The Journal of the Abraham Lincoln Association · · cited 17× · OpenAlex ↗ · more like this ·

Automatic memory management via garbage collection is the key to the safety, portability, and high productivity of modern programming languages like Java.However, until now no truly real-time garbage collector has existed for Java.As a result, the extreme real-time requirements of interactive music synthesis and processing have made it impossible to build such systems in Java.We have developed a hard real-time garbage collector, called Metronome, around which IBM has built a production real-time Java virtual machine running on a realtime variant of Redhat Enterprise Linux.In this paper we demonstrate the real-time capabilities of our virtual machine with a MIDI music synthesizer that we built entirely in standard Java using the full object-oriented feaures of the language.We show that even with the addition of another thread allocating 8 MB/second of data, our garbage collector is able…