
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Professor: Paris; Class: Computer Systems Perform Eval; Subject: (Computer Science); University: University of Houston; Term: Spring 2008;
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

This very simple program should help you familiarize with CSIM and prepare you for a more serious assignment.
SPECIFICATIONS A small server is exclusively dedicated to processing remote transactions. Each transaction starts and ends with 70ms of CPU time and requires between 10 and 12 disk I/Os, according to the following pattern
CPU 70ms DISK 8ms CPU 10 ms … DISK 8ms CPU 70ms
Sixty percent of the transactions will require 10 disk accesses, 30 percent of them will require 11 accesses and the remaining 10 percent will require 12 accesses.
You should write a CSIM program simulating the behavior of the server and answer the following questions in a separate report :
a) What is the minimum request turnaround time? b) How is this turnaround time affected by the system workload? c) What are the CPU and disk utilizations while the request turnaround time is equal to two times the minimum request turnaround time? d) How do your results compare with the results of a bottleneck analysis of the system?
Your report should contain at least one graph. Please turn it in in class and mail your program directly to J.-F. Pâris ([email protected]).
HINTS
You might want to create an executable file named csim containing g++ -DCPP $* /usr/lib/libcsimcpp.a –lm
in order to be able to write csim program1.cpp –o program
The specifications for this assignment were updated last this Wednesday, February 11, 2009.