Scalability Analysis of Enterprise Java Workloads on a Multi-Core System

Xavier Guérin, Yanbin Liu, Parijat Dube, Seetharami Seelam, Pierre-Andre Paumelle

Abstract

This paper shows that not only lock contentions, but also adherence issues between two layers of a software stack impact scalability of Java enterprise workloads. 1 Overview The workloads considered in this paper are ILOG Business Rules Management System and a PDF generator based on the iText and JFreeChart technologies. We used an IBM POWER7 blade server for our experimentations, with a total of 16 cores and 256 GB of system memory. We conducted our analysis using a top-bottom methodology: each layer of rank n (topmost) of the software stack was profiled with the hypothesis that each other layer n − 1 ... 1 is scalable and free of lock contention. Two kinds of software issues were found as scalability hindrances: lock contention issues and software adherence issues. We define software adherence issues as design choices made in a software layer of rank n that negatively impact either layer n − 1 or n +1 . 2 Lock Contention Issues The BRMS workload performance increases linearly up to 5 threads, then increases sub-linearly up to 11 threads and stalls afterward. The first performance drop is due to a contention inside the connection manager of the rule execution server (RES). When a session creation is requested, the connection manager takes a lock global to its structure until the session is created. The second performance drop is due to a new contention found inside the implementation of the setWeekCountData method of the Calendar class, from the java.util package. The PDF workload performance increases linearly up to 3 threads, then sub-linearly up to 12 threads and stalls afterward. We discovered two lock contentions in two Java packages: java.util.zip and sun.dc.pr. The first contention is located in the native implementation of the deflateByte method of the Deflate class. Calls to that method originate from the iText PDF generator as it compresses each element added to a document. The second lock can be found in the native implementation of the PathFiller method, used in various graphic operations of the sun.java2d package. Calls to that package originate from the jFreeChart library.
BibTeX
@inproceedings{guerin2011scalability,
  author = {Xavier Guérin and Yanbin Liu and Parijat Dube and Seetharami Seelam and Pierre-Andre Paumelle},
  title = {{Scalability Analysis of Enterprise Java Workloads on a Multi-Core System}},
  booktitle = {IISWC},
  year = {2011},
  doi = {10.1109/iiswc.2011.6114202},
}

Loading related content...

Figure