Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line




Download 6,34 Mb.
Pdf ko'rish
bet41/203
Sana10.01.2024
Hajmi6,34 Mb.
#134102
1   ...   37   38   39   40   41   42   43   44   ...   203
Bog'liq
Linux This Book Includes 4 Manuscripts The Underground Bible

Planning Mechanisms and Policy
The planning mechanism  and policy  should be differentiated. Scheduling
mechanisms include context switching tools, flow synchronization tools,
etc., and scheduling policies are tools for determining when to switch
contexts. The part of the system that is responsible for policy planning
called scheduler  ( scheduler ) and the algorithm used to this - scheduling
algorithm.
There are various evaluation criteria for planning policies, some of which
apply to all systems, others to batch systems or interactive only. Today,
three criteria are most commonly used to evaluate goal achievement.
❖ 
Minimum response time . This is the most important criterion for
interactive systems. Response time refers to the time between running
a stream (or typing an interactive command) and getting the first
response. For modern systems, we have taken the time of 50-150 ms
❖ 
Maximum bandwidth . This is the number of tasks that the system
can perform per unit of time (for example, per second). Such a
criterion is appropriate to apply in batch systems; in interactive
systems, it can be used for background tasks. To increase bandwidth,
you must:
❖ 
Reduce wasted load time (for example, the time it takes to switch
context)
❖ 
Use resources more efficiently (to ensure that neither the processor
nor the I / O devices are idle)
❖ 
The third criterion is equity , which means that the CPU time is
allocated according to their importance. Fairness provides such a
distribution of processor time that all threads advance in their
execution, and none proto. Note that implementing a fair planning
policy does not always reduce the average response time. Sometimes
this requires making the system less fair



Download 6,34 Mb.
1   ...   37   38   39   40   41   42   43   44   ...   203




Download 6,34 Mb.
Pdf ko'rish

Bosh sahifa
Aloqalar

    Bosh sahifa



Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line

Download 6,34 Mb.
Pdf ko'rish