• Aucun résultat trouvé

Assignment 4.1.1: Give a short explanation of the following terms and its usage in context of the Windows operating system to your instructor:

N/A
N/A
Protected

Academic year: 2022

Partager "Assignment 4.1.1: Give a short explanation of the following terms and its usage in context of the Windows operating system to your instructor:"

Copied!
1
0
0

Texte intégral

(1)

Windows Operating System Internals Assignments OS4.1

Assignment 4.1.1:

Give a short explanation of the following terms and its usage in context of the Windows operating system to your instructor:

 Handle

 Process

 Thread

Assignment 4.1.2:

Explain to your instructor the difference between preemptive and non-preemptive scheduling. Which approach to scheduling would you favor when maximizing a system’s throughput was the only optimization goal?

How does the Windows scheduler in server systems optimize for maximum throughput?

Assignment 4.1.3:

Consider a uni-processor system that uses a round-robin algorithm with 16 priorities (0-15, 0 = lowest, 15 = highest priority) for CPU scheduling. The lengths of the time quantum shall be 20ms. Context switching time is negligible. Let us assume that the system schedules threads. Running threads will not be interrupted until quantum end (Scheduling decisions are only be made at quantum end).

Our system has a workload of three single-threaded processes. These processes (threads) have the following parameters:

Thread ID Ready at Execution time

Th1 t = 0ms 70ms

Th2 t = 15ms 90ms

Th3 t = 30ms 80ms

 Draw a Gantt chart illustrating the execution of these threads under the assumption that they all are executed at a static priority of 8.

 How does the execution order change if Th3 is executed with priority 9. Th1 shall be executed with priority 7 and get into an I/O wait state after 16ms execution time. Th1’s priority is being boosted by 3 after I/O completion.

Th1 leaves its wait state at t = 50ms. Th1’s priority then shall be decreased by 1 at quantum end until it reaches its base priority of 7.

Draw the corresponding Gantt chart.

Assignment 4.1.4:

Describe the five-state model for process/thread scheduling. What are the benefits/rationales for multithreaded programming? How many threads does a Windows process initially contain?

January 2005 © 2005 David A. Solomon and Mark Russinovich 1

Références

Documents relatifs

2. For calculating a GPS solution the satellites’ positions are needed. Two different source of information are available: broadcast and precise ephemerides. a) Broadcast

Moreover, due to the general form of the functional equations in S~, in order to study our additive twists we have to derive the properties of a rather

It will be seen that the method used in this paper leads immediately to a much better result than o (n/log2 n) for thenumber ofprimitive abundant numbers not

This work shows the advantages of deep modeling for sup- porting the simulation and execution of models. The prototype implementation shows that even the prototype deep modeling

Give a short explanation of the following terms and its usage in context of Windows networking to your instructor:?. 

The first one should be a socket client application that takes a server address (IP address + port) and an input file and sends its content to a (possibly) remote server.. The

From the outset of the project, the music teachers all decided to focus their work upon using computer software to support student composition – a common usage in most

Note that when computing the normal form relative to that Gr¨ obner basis using iterated long division, every monomial is at each stage is replaced by a monomial of a smaller