Hardware Articles

Page 3 of 32

What are thread libraries?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 15K+ Views

A thread is a lightweight subprocess and the basic unit of CPU utilization, consisting of a program counter, a stack, and a set of registers. Threads enable concurrent execution within a single process, allowing multiple sequences of instructions to run simultaneously. Given below is the structure of threads within a process − Thread Structure in Process Process Shared: Code, Data, Files Thread 1 Registers Stack Program Counter ...

Read More

What are the merits and demerits of a distributed system?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 653 Views

A Distributed Operating System is a type of operating system that manages multiple computers connected through a network as a single coherent system. Unlike traditional centralized systems, distributed OS coordinates resources across multiple machines while presenting a unified interface to users. It extends beyond network operating systems by providing higher levels of integration and transparency. In a distributed system, multiple CPUs work together but appear as a single system to end users. Resources like CPU cycles, memory, storage, and network interfaces can be shared seamlessly across different sites. All processors communicate through high-speed networks such as LANs or WANs, ...

Read More

What are Scheduling Queues?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 18K+ Views

Scheduling queues are data structures used by the operating system to organize processes in different states. The OS maintains several types of queues to efficiently manage process scheduling and resource allocation. Types of Scheduling Queues The operating system uses three main types of scheduling queues − Job Queue − Contains all processes entering the system Ready Queue − Stores processes in the ready state waiting for CPU allocation Device Queues − Hold processes waiting for specific I/O devices Process Flow Through Queues Process Movement Through Scheduling Queues ...

Read More

What are different types of CPU scheduling and the scheduling criteria?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 5K+ Views

The process scheduler is responsible for assigning processes to the CPU based on specific scheduling algorithms. It manages the order in which processes are executed to optimize system performance and resource utilization. CPU scheduling involves selecting which process should run next when the CPU becomes available. The scheduler uses various algorithms and policies to make these decisions, balancing factors like efficiency, fairness, and response time. Types of CPU Scheduling Algorithms CPU scheduling algorithms can be categorized into different types based on their approach − Preemptive vs Non-Preemptive Preemptive Scheduling Non-Preemptive Scheduling ...

Read More

What are multithreading models?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 663 Views

Multithreading models define the relationship between user threads and kernel threads. User threads are managed by thread libraries in user space without direct kernel support, while kernel threads are created and managed directly by the operating system kernel. The mapping between user and kernel threads determines how efficiently an application can utilize system resources and achieve true parallelism on multiprocessor systems. Types of Multithreading Models There are three primary multithreading models that define how user threads are mapped to kernel threads − Many-to-One Model This model maps multiple user threads to a single kernel thread. ...

Read More

What is the relationship between process states and the machine cycle?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 1K+ Views

Let us understand what a process state is and how it relates to the machine cycle. Process States Process states are the different stages in which a process exists during its lifetime. There are basically five states of processes − New − The process is about to be created but not yet created. It is the program present in secondary memory that will be picked up by the OS to create the process. Ready − The process enters the ready state after creation, meaning the process is loaded into main memory and waiting for CPU allocation. ...

Read More

What are the different types of process states and queues?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 2K+ Views

Let us begin by understanding the types of process states and their transitions in operating system process management. Types of Process States A process goes through several states during its lifecycle. Each state represents the current activity of the process and determines what the operating system can do with it. New − The process is being created. The program exists in secondary memory but has not yet been loaded into main memory or assigned resources. Ready − The process is loaded in main memory and waiting for CPU time. It has all necessary resources except the ...

Read More

What are a scheduler and a dispatcher in OS?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 7K+ Views

In operating systems, the scheduler and dispatcher work together to manage process execution. The scheduler decides which process should run next, while the dispatcher actually transfers control to the selected process. Understanding their roles is crucial for comprehending how an OS efficiently manages multiple processes. Scheduler A scheduler is a system component that selects processes from various queues and determines their execution order. Its primary function is to decide which process runs first based on specific scheduling algorithms and system policies. Types of Schedulers There are three different types of schedulers, each operating at different levels ...

Read More

What is Process Suspension and Process Switching?

Bhanu Priya
Bhanu Priya
Updated on 17-Mar-2026 7K+ Views

Process suspension and process switching are two fundamental concepts in operating system process management. Process suspension involves temporarily moving a process out of main memory, while process switching involves changing which process is currently executing on the CPU. Process Suspension Process suspension occurs when the operating system moves a process from main memory to secondary storage (disk) to free up memory space. When processes in main memory enter the blocked state, the OS may suspend one of them by transferring it to disk and bringing another process into memory. Most operating systems use additional suspended states beyond ...

Read More

How to Format a Hard Disk on Linux OS

karthikeya Boyini
karthikeya Boyini
Updated on 17-Mar-2026 816 Views

In this article, we will learn how to format and configure a hard disk on Linux OS. When a new drive is installed and visible to the BIOS, it is automatically detected by the operating system. Disk drives are assigned device names beginning with hd or sd followed by a letter indicating the device order (e.g., /dev/sda, /dev/sdb). Detecting the New Hard Drive First, verify that the new drive is detected by listing all storage devices: # ls /dev/sd* /dev/sda /dev/sda1 /dev/sda2 /dev/sdb This output shows that /dev/sda is divided into two partitions (/dev/sda1 ...

Read More
Showing 21–30 of 319 articles
« Prev 1 2 3 4 5 32 Next »
Advertisements