SlideShare a Scribd company logo
Kernel-Level Threads

In this method, the kernel knows about and manages the threads. No runtime
system is needed in this case. Instead of thread table in each process, the kernel
has a thread table that keeps track of all threads in the system. In addition, the
kernel also maintains the traditional process table to keep track of processes.
Operating Systems kernel provides system call to create and manage threads.

The implementation of general structure of kernel-level thread is


                  <DIAGRAM>

Advantages:

   •   Because kernel has full knowledge of all threads, Scheduler may decide
       to give more time to a process having large number of threads than
       process having small number of threads.
   •   Kernel-level threads are especially good for applications that frequently
       block.

Disadvantages:

   •   The kernel-level threads are slow and inefficient. For instance, threads
       operations are hundreds of times slower than that of user-level threads.
   •   Since kernel must manage and schedule threads as well as processes. It
       require a full thread control block (TCB) for each thread to maintain
       information about threads. As a result there is significant overhead and
       increased in kernel complexity.

More Related Content

DOC
PDF
Scheduler activations
PPT
Scheduler Activations - Effective Kernel Support for the User-Level Managemen...
PDF
What is simultaneous multithreading
PPTX
Operating system 20 threads
PPTX
Chip Multithreading Systems Need a New Operating System Scheduler
PPTX
Scope of parallelism
PPTX
Superscalar & superpipeline processor
Scheduler activations
Scheduler Activations - Effective Kernel Support for the User-Level Managemen...
What is simultaneous multithreading
Operating system 20 threads
Chip Multithreading Systems Need a New Operating System Scheduler
Scope of parallelism
Superscalar & superpipeline processor

What's hot (20)

PDF
Multithreaded processors ppt
PPTX
Multithreading computer architecture
PPTX
Advanced processor principles
PPT
Structure And Role Of The Processor
PPT
Hardware multithreading
PPTX
Lecture5
PPTX
Lecture 3 threads
PPTX
Superscalar Architecture_AIUB
PPTX
FIne Grain Multithreading
PPTX
Dichotomy of parallel computing platforms
PPTX
Lecture4
PPTX
PPT
Parallel processing
PPT
Paralle programming 2
PPTX
Parallel architecture-programming
PPTX
Lecture1
PPT
Parallel processing extra
PPTX
Introduction to parallel processing
PPT
Os Threads
Multithreaded processors ppt
Multithreading computer architecture
Advanced processor principles
Structure And Role Of The Processor
Hardware multithreading
Lecture5
Lecture 3 threads
Superscalar Architecture_AIUB
FIne Grain Multithreading
Dichotomy of parallel computing platforms
Lecture4
Parallel processing
Paralle programming 2
Parallel architecture-programming
Lecture1
Parallel processing extra
Introduction to parallel processing
Os Threads
Ad

Viewers also liked (10)

DOC
Multithreading
PDF
Management principles and ethos: From India to the World
DOC
New Microsoft Word Document (2)
PPT
Indian ethos
PPTX
Ethos & values for managers ppt
PPTX
Indian ethos in management
DOC
Chapter 1-indian-ethos
DOCX
Business ethics & work ethos
PPT
Ethos ppt.
PPT
Indian Ethos In Management
Multithreading
Management principles and ethos: From India to the World
New Microsoft Word Document (2)
Indian ethos
Ethos & values for managers ppt
Indian ethos in management
Chapter 1-indian-ethos
Business ethics & work ethos
Ethos ppt.
Indian Ethos In Management
Ad

Similar to New Microsoft Word Document (3) (20)

PPT
Threads.ppt
PPTX
Thread
PPTX
Threads
PPTX
THREADS of Operating System by Noman Zahid
PDF
PPTX
Threads .ppt
PPTX
OPERATING SYSTEM chapter no 3rd (8).pptx
PPT
chapter4-processes nd processors in DS.ppt
PPTX
Threads
PPTX
1 Multithreading basics.pptx
PPTX
dos slide share.pptx
PPT
OS Thr schd.ppt
PPTX
A Comprehensive Guide to Threads and Processes in Computing
PDF
Parallel and Distributed Computing chapter 3
PPTX
UNIT-2-PROCESS MANAGEMENT in opeartive system.pptx
PDF
Real time operating systems
PDF
Multithreaded Programming Part- II.pdf
PPTX
Computer Architecture
PDF
Unit 2 part 2(Process)
PDF
Hardware Multithreading.pdf
Threads.ppt
Thread
Threads
THREADS of Operating System by Noman Zahid
Threads .ppt
OPERATING SYSTEM chapter no 3rd (8).pptx
chapter4-processes nd processors in DS.ppt
Threads
1 Multithreading basics.pptx
dos slide share.pptx
OS Thr schd.ppt
A Comprehensive Guide to Threads and Processes in Computing
Parallel and Distributed Computing chapter 3
UNIT-2-PROCESS MANAGEMENT in opeartive system.pptx
Real time operating systems
Multithreaded Programming Part- II.pdf
Computer Architecture
Unit 2 part 2(Process)
Hardware Multithreading.pdf

New Microsoft Word Document (3)

  • 1. Kernel-Level Threads In this method, the kernel knows about and manages the threads. No runtime system is needed in this case. Instead of thread table in each process, the kernel has a thread table that keeps track of all threads in the system. In addition, the kernel also maintains the traditional process table to keep track of processes. Operating Systems kernel provides system call to create and manage threads. The implementation of general structure of kernel-level thread is <DIAGRAM> Advantages: • Because kernel has full knowledge of all threads, Scheduler may decide to give more time to a process having large number of threads than process having small number of threads. • Kernel-level threads are especially good for applications that frequently block. Disadvantages: • The kernel-level threads are slow and inefficient. For instance, threads operations are hundreds of times slower than that of user-level threads. • Since kernel must manage and schedule threads as well as processes. It require a full thread control block (TCB) for each thread to maintain information about threads. As a result there is significant overhead and increased in kernel complexity.