Changeset a44514e for doc/theses/thierry_delisle_PhD/thesis/glossary.tex
- Timestamp:
- Sep 7, 2022, 4:12:00 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation
- Children:
- e4855f6
- Parents:
- 7a0f798b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/thesis/glossary.tex
r7a0f798b ra44514e 14 14 % Definitions 15 15 16 \longnewglossaryentry{ thrd}17 {name={ thread}}16 \longnewglossaryentry{at} 17 {name={Thread},text={thread}} 18 18 { 19 Threads created and managed inside user-space. Each thread has its own stack and its own thread of execution. User-level threads are invisible to the underlying operating system.19 Abstract object representing a unit of work. Systems will offer one or more concrete implementations of this concept (\eg \gls{kthrd}, \gls{job}), however, most of the concepts of scheduling are independent of the particular implementations of the work representation. For this reason, this document uses the term \Gls{at} to mean any representation and not one in particular. 20 20 21 \textit{Synonyms : User threads, Lightweight threads, Green threads, Virtual threads, Tasks.}21 \textit{Synonyms : Tasks, Jobs, Blocks.} 22 22 } 23 23 24 24 \longnewglossaryentry{proc} 25 {name={ processor}}25 {name={Processor},text={processor}} 26 26 { 27 Entity that executes the \glspl{at}, \ie the resource being scheduled by the scheduler. In kernel level threading, \ats are kernel threads and \procs are the \glspl{hthrd} on which the kernel threads are scheduled. In user-level threading and in thread pools, \procs are kernel threads. 27 28 29 \textit{Synonyms : Server, Worker.} 28 30 } 29 31 30 32 \longnewglossaryentry{rQ} 31 {name={ ready-queue}}33 {name={Ready Queue}, text={ready-queue}} 32 34 { 33 35 Data structure holding \ats that are ready to be \glslink{atrun}{run}. Often a \glsxtrshort{fifo} queue, but can take many different forms, \eg binary trees are also common. 34 36 } 35 37 36 38 \longnewglossaryentry{uthrding} 37 {name={ user-level threading}}39 {name={User-Level Threading},text={user-level threading}} 38 40 { 39 41 Threading model where a scheduler runs in users space and maps threads managed and created inside the user-space onto \glspl{kthrd}. 40 42 41 43 \textit{Synonyms : User threads, Lightweight threads, Green threads, Virtual threads, Tasks.} … … 43 45 44 46 \longnewglossaryentry{rmr} 45 {name={ remote memory reference}}47 {name={Remote Memory Reference},text={remote memory reference}} 46 48 { 47 49 Reference to an address in memory that is considered \newterm{remote}, as opposed to \emph{local}. This can mean for example: a cache line that is in a cache not shared by the current \gls{hthrd}, a block of memory that belons to a different CPU socket in a \glsxtrshort{numa} context, etc. 48 50 } 49 51 … … 51 53 52 54 \longnewglossaryentry{hthrd} 53 {name={ hardware thread}}55 {name={Hardware Thread},text={hardware thread}} 54 56 { 55 57 Threads representing the underlying hardware directly, \eg the CPU core, or hyper-thread if the hardware supports multiple threads of execution per core. The number of hardware threads is considered to be always fixed to a specific number determined by the hardware. 56 58 57 \textit{Synonyms : }59 \textit{Synonyms : Core, Processing Unit, CPU.} 58 60 } 59 61 60 62 \longnewglossaryentry{kthrd} 61 {name={ kernel-level thread}}63 {name={Kernel-Level Thread},text={kernel-level thread}} 62 64 { 63 65 Threads created and managed inside kernel-space. Each thread has its own stack and its own thread of execution. Kernel-level threads are owned, managed and scheduled by the underlying operating system. … … 67 69 68 70 \longnewglossaryentry{fiber} 69 {name={ fiber}}71 {name={Fiber},text={fiber}} 70 72 { 71 73 Fibers are non-preemptive user-level threads. They share most of the caracteristics of user-level threads except that they cannot be preempted by another fiber. … … 75 77 76 78 \longnewglossaryentry{job} 77 {name={ job}}79 {name={Job},text={job}} 78 80 { 79 81 Unit of work, often sent to a thread pool or worker pool to be executed. Has neither its own stack nor its own thread of execution. … … 83 85 84 86 \longnewglossaryentry{pool} 85 {name={ thread-pool}}87 {name={Thread Pool},text={thread-pool}} 86 88 { 87 Group of homogeneuous threads that loop executing units of works after another.89 Group of homogeneuous threads that loop executing units of works. Often executing \glspl{jobs}. 88 90 89 \textit{Synonyms : }91 \textit{Synonyms : Executor.} 90 92 } 91 93 92 94 \longnewglossaryentry{preemption} 93 {name={ preemption}}95 {name={Preemption},text={preemption}} 94 96 { 95 97 Involuntary context switch imposed on threads at a given rate. … … 98 100 } 99 101 100 101 102 \longnewglossaryentry{at}103 {name={task}}104 {105 Abstract object representing an unit of work. Systems will offer one or more concrete implementations of this concept (\eg \gls{kthrd}, \gls{job}), however, most of the concept of schedulings are independent of the particular implementations of the work representation. For this reason, this document use the term \Gls{at} to mean any representation and not one in particular.106 }107 108 102 \longnewglossaryentry{atsched} 109 103 {name={Scheduling a \gls{at}}} 110 104 { 111 Scheduling a n \gls{at} refers to the act of notifying the scheduler that a task is ready to be ran. When representing the scheduler as a queue of tasks, scheduling is the act of pushing a task onto the end of the queue. This doesn't necesserily meansthe task will ever be allocated CPU time (\gls{atrun}), for example, if the system terminates abruptly, scheduled \glspl{at} will probably never run.105 Scheduling a \at refers to the act of notifying the scheduler that a task is ready to be run. When representing the scheduler as a queue of tasks, scheduling is the act of pushing a task onto the end of the queue. This does not necessarily mean the task will ever be allocated CPU time (\gls{atrun}), for example, if the system terminates abruptly, scheduled \glspl{at} will probably never run. 112 106 113 \textit{Synonyms : None.}107 \textit{Synonyms : Unparking.} 114 108 } 115 109 … … 117 111 {name={Running a \gls{at}}} 118 112 { 119 Running a n \gls{at} refers to the act of allocating CPU time to a task that is ready to run. When representing the scheduler as a queue of tasks, running is the act of poping a task from the front of the queue and putting it onto a \gls{proc}. The \gls{at} can than accomplish some or all of the work it is programmed to do.113 Running a \at refers to the act of allocating CPU time to a task that is ready to run. When representing the scheduler as a queue of tasks, running is the act of popping a task from the front of the queue and putting it onto a \gls{proc}. The \gls{at} can then accomplish some or all of the work it is programmed to do. 120 114 121 115 \textit{Synonyms : None.} … … 123 117 124 118 \longnewglossaryentry{atmig} 125 {name={ migration of \gls{at}}}119 {name={Migration of \glspl{at}}} 126 120 { 127 Migration refers to the idea of an \gls{at} running on a different worker/processor than the last time it was run. It is generally preferable to minimise migration as it incurs cost but any load balancing among workersrequires some amount of migration.121 Migration refers to the idea of an \gls{at} running on a different \proc than the last time it was run. It is generally preferable to minimise migration as it incurs cost but any load balancing among \proc requires some amount of migration. 128 122 129 123 \textit{Synonyms : None.} … … 131 125 132 126 \longnewglossaryentry{atpass} 133 {name={ overtaking \gls{at}}}127 {name={Overtaking \gls{at}}} 134 128 { 135 129 When representing the scheduler as a queue of \glspl{at}, overtaking is the act breaking the FIFO-ness of the queue by moving a \gls{at} in front of some other \gls{at} when it arrived after. This remains true for schedulers that do not use a FIFO queue, when the order in which the \glspl{at} are \glslink{atsched}{scheduled} and \glslink{atrun}{run} in a different order. A \gls{at} is said to \emph{overtake} another if it is run \emph{before} but was \emph{scheduled} after the other \gls{at}. … … 143 137 Blocking an abstract task refers to the act of taking a task that us running on a CPU off the CPU. Unless no other task is ready, this action is generally immediately followed by running an other task. 144 138 145 \textit{Synonyms : None.}139 \textit{Synonyms : Parking.} 146 140 } 147 141 … … 157 151 158 152 \longnewglossaryentry{load} 159 {name={System Load} }153 {name={System Load},text={load}} 160 154 { 161 The load is refers to the rate at which \glspl{at} are \glslink{atsched}{scheduled} versus the rate at which they are \glslink{atrun}{run}. When \glspl{at} are being scheduled faster than they are run, the system is considered \emph{overloaded}. When \glspl{at} are being run faster than they are scheduled, the system is considered \emph{underloaded}. Conrrespondingly, if both rates are equal, the system is considered \emph{loaded}. Note that the system is considered loaded only of the rate at which \glspl{at} are scheduled/run is non-zero, otherwise the system is empty, it has no load. 155 The System Load refers to the rate at which \glspl{at} are \glslink{atsched}{scheduled} versus the rate at which they are \glslink{atrun}{run}. When \glspl{at} are being scheduled faster than they are run, the system is considered \emph{overloaded}. When \glspl{at} are being run faster than they are scheduled, the system is considered \emph{underloaded}. Conrrespondingly, if both rates are equal, the system is considered \emph{loaded}. Note that the system is considered loaded only of the rate at which \glspl{at} are scheduled/run is non-zero, otherwise the system is empty, it has no load. 156 157 \textit{Synonyms : CPU Load, System Load.} 162 158 } 163 159
Note: See TracChangeset
for help on using the changeset viewer.