0% found this document useful (0 votes)
15 views4 pages

Lab 5 Op&Sys

The document outlines a laboratory task focused on multithreading using a program called MultiThreadedGraphics. It includes instructions on how to run the program and use Performance Monitor to analyze processor performance related to user applications and drawing speed. Additionally, it provides steps to create a custom Data Collector Set in Performance Monitor for further analysis of application performance metrics.

Uploaded by

miguel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views4 pages

Lab 5 Op&Sys

The document outlines a laboratory task focused on multithreading using a program called MultiThreadedGraphics. It includes instructions on how to run the program and use Performance Monitor to analyze processor performance related to user applications and drawing speed. Additionally, it provides steps to create a custom Data Collector Set in Performance Monitor for further analysis of application performance metrics.

Uploaded by

miguel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

operating systems

Laboratory 5

Alberto suárez luis


904276
Task A - multithreading
1. Download MultiThreadedGraphics.zip and run exe file:

2. Run "Performance Monitor”


3. Use this program and the performance monitor as you answer the following questions
about the performance of executing multi-threaded programs

1
4. Approximately what percentage of the processor(s) operation is devoted to the User
Application(s)?
I think it is awarded almost the full percentage as we can see in the graphs.
Around
5. How does changing the drawing speed affect the percentage of processor time
allocated to the User?

As we increase the speed, the percentage of processor time increases sharply. If we


decrease the speed, the % processor time registers lower values than before.

Run multiple copies of the MultiThreadedGraphics applications at the máximum drawing rate
and describe how additional running copies affect the following:

o The number of circles per second in one running copy of the application.
o Percentage of processor allocated to User.
o Percentage of processor time is busy.

We can see the comparison between the two images, where it is shown when running at
maximum speed the circles, we can see that the behaviour of our computer shoots up and
reaches high values. While, if we reduce the circles, it decreases considerably.

Which counters provide the most information for analysis of the running application?

Both processor parameters, we can see how these parameters vary in value depending on
what we do.

2
Prepare your own Data Collector Setfrom performance monitor:
1. Right-click Performance Monitor and then click Run as administrator.
2. In the left pane, click Data Collector Sets.
3. In the right pane, right-click User Defined, click New, and then click Data Collector
Set.
4. In the Create new Data Collector Set wizard, enter a name for the data collector set.
For example, you might enter Tableau Server Performance.
5. Select Create manually (Advanced) and then click Next.
6. Under Create data logs, select Performance counter, and click Next.

We can see in the code the different values that our graph has. We see how a record is
saved with the parameters mentioned above. Each parameter has its corresponding
value at a certain time.

You might also like