Title :
Performance Characterization of Decimal Arithmetic in Commercial Java Workloads
Author :
Bhat, M. ; Crawford, J. ; Morin, R. ; Shiv, K.
Author_Institution :
Intel Corp., Santa Clara, CA
Abstract :
Binary floating-point numbers with finite precision cannot represent all decimal numbers with complete accuracy. This can often lead to errors while performing calculations involving floating point numbers. For this reason many commercial applications use special decimal representations for performing these calculations, but their use carries performance costs such as bi-directional conversion. The purpose of this study was to understand the total application performance impact of using these decimal representations in commercial workloads, and provide a foundation of data to justify pursuing optimized hardware support for decimal math. In Java, a popular development environment for commercial applications, the BigDecimal class is used for performing accurate decimal computations. BigDecimal provides operations for arithmetic, scale manipulation, rounding, comparison, hashing, and format conversion. We studied the impact of BigDecimal usage on the performance of server-side Java applications by analyzing its usage on two standard enterprise benchmarks, SPECjbb2005 and SPECjAppServer2004 as well as a real-life mission-critical financial workload, Morgan Stanley´s Trade Completion. In this paper, we present detailed performance characteristics and we conclude that, relative to total application performance, the overhead of using software decimal implementations is low, and at least from the point of view of these workloads, there is insufficient performance justification to pursue hardware solutions
Keywords :
Java; mathematics computing; BigDecimal class; SPECjAppServer2004; SPECjbb2005; Trade Completion; binary floating-point numbers; commercial Java workloads; decimal arithmetic; decimal math; format conversion; hashing; mission-critical financial workload; optimized hardware support; performance characterization; scale manipulation; software decimal implementations; special decimal representations; Application software; Bidirectional control; Costs; Floating-point arithmetic; Hardware; Java; Marketing and sales; Performance analysis; Software performance; Telephony;
Conference_Titel :
Performance Analysis of Systems & Software, 2007. ISPASS 2007. IEEE International Symposium on
Conference_Location :
San Jose, CA
Print_ISBN :
1-4244-1081-9
Electronic_ISBN :
1-4244-1082-7
DOI :
10.1109/ISPASS.2007.363736