wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Concurrency and memory

profile
Yakin Shah
Aug 13, 2024
0 Likes
0 Discussions
74 Reads

_Concurrency:_

 

Concurrency refers to the ability of an operating system to execute multiple processes or threads simultaneously, improving system utilization and responsiveness. It involves:

 

1. _Process scheduling:_ Allocating CPU time to processes.

2. _Context switching:_ Switching between processes quickly.

3. _Synchronization:_ Managing access to shared resources.

 

Concurrency techniques:

 

1. _Multitasking:_ Running multiple processes concurrently.

2. _Multithreading:_ Running multiple threads within a process.

3. _Multiprocessing:_ Running multiple processes on multiple CPUs.

 

_Memory:_

 

Memory refers to the storage space where data and program instructions are held while a computer is running. The operating system manages memory, ensuring efficient use and preventing conflicts.

 

Memory Management:

 

1. _Process isolation:_ Each process has its own memory space.

2. _Memory allocation:_ Assigning memory to processes.

3. _Memory deallocation:_ Reclaiming memory from terminated processes.

4. _Paging and segmentation:_ Dividing memory into smaller units for efficient use.

5. _Virtual memory:_ Using disk space as an extension of physical memory.

 

Memory Types:

 

1. _RAM (Random Access Memory):_ Fast, volatile memory for running programs.

2. _ROM (Read-Only Memory):_ Non-volatile memory for storing firmware.

3. _Cache memory:_ Fast, small memory for frequently accessed data.

4. _Virtual memory:_ Combination of physical memory and disk space.

 

Effective memory management and concurrency enable efficient use of system resources, improving overall performance and user experience.


Comments ()


Sign in

Read Next

Direct Memory Access

Blog banner

Threads

Blog banner

How to grow followers on Instagram business account?

Blog banner

Operating system evolution

Blog banner

Rock, Paper, Scissors Game in Common Lisp

Blog banner

Virtual Memory

Blog banner

Multiple-Processor Scheduling in Operating System

Blog banner

undefined

Blog banner

Impact of social media on the human life

Blog banner

Modern OS

Blog banner

IP Address

Blog banner

Starvation

Blog banner

Population

Blog banner

NETSUITE

Blog banner

File sharing

Blog banner

Creating Digitally Signed Document

Blog banner

Zomato (Income Sources)

Blog banner

Blog on health and fitness

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

Save Girl Child

Blog banner

The Laws of Karma

Blog banner

BharatPe

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Assignment-3

Blog banner

MORDERN UNIX SYSTEM

Blog banner

What is Internet

Blog banner

AN EVENT-BASED DIGITAL FORENSIC INVESTIGATION

Blog banner

Modern operating system

Blog banner

Dr. Venkadavarahan

Blog banner

Operating system

Blog banner

Mumbai famous street food

Blog banner

EdTech (Education Technology)

Blog banner

Social Media.

Blog banner

EFT

Blog banner

Threads

Blog banner

Broken Authentication Attacks

Blog banner

Blockchain Security Technique

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Theads

Blog banner

Service stratergy principles

Blog banner

Critical success factors

Blog banner

An Overivew Of Cache Memory

Blog banner