Title :
Modeling Software Contention Using Colored Petri Nets
Author :
Roy, Nilabja ; Dabholkar, Akshay ; Hamm, Nathan ; Dowdy, Larry ; Schmidt, Douglas
Author_Institution :
Dept. of Electr. Eng. & Comput. Sci., Vanderbilt Univ., Nashville, TN
Abstract :
Commercial servers, such as database or application servers, often attempt to improve performance via multi-threading. Improper multi-threading architectures can incur contention, limiting performance improvements. Contention occurs primarily at two levels: (1) blocking on locks shared between threads at the software level and (2) contending for physical resources (such as the cpu or disk) at the hardware level. Given a set of hardware resources and an application design, there is an optimal number of threads that maximizes performance. This paper describes a novel technique we developed to select the optimal number of threads of a target-tracking application using a simulation-based colored Petri nets (CPNs) model. This paper makes two contributions to the performance analysis of multi-threaded applications. First, the paper presents an approach for calibrating a simulation model using training set data to reflect actual performance parameters accurately. Second, the model predictions are validated empirically against the actual application performance and the predicted data is used to compute the optimal configuration of threads in an application to achieve the desired performance. Our results show that predicting performance of application thread characteristics is possible and can be used to optimize performance.
Keywords :
Petri nets; multi-threading; software engineering; colored Petri nets; commercial servers; hardware resources; multithreading performance; simulation-based colored Petri nets; software contention modeling; Admission control; Computational modeling; Delay; Intersymbol interference; Parameter estimation; Petri nets; Quality of service; Resource management; Time measurement; Traffic control;
Conference_Titel :
Modeling, Analysis and Simulation of Computers and Telecommunication Systems, 2008. MASCOTS 2008. IEEE International Symposium on
Conference_Location :
Baltimore, MD
Print_ISBN :
978-1-4244-2817-5
Electronic_ISBN :
1526-7539
DOI :
10.1109/MASCOT.2008.4770577