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

Deadlock and Starvation

Blog banner

File system

Blog banner

OPERATING SYSTEM

Blog banner

The New Rules of UI/UX Design Every Website Must Follow in 2026

Blog banner

Photography

Blog banner

Major achievement

Blog banner

Memory Management Techniques

Blog banner

Asana

Blog banner

Protect yourself from System Hacking with these Simple Steps

Blog banner

Best Time to Visit Arcadia, Florida & Why Oak Tree Hotel Is Always Ready

Blog banner

Memory management

Blog banner

GraphQL

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

What is Network Security?

Blog banner

How social media affect

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Vikrant’s first blog

Blog banner

LIFEHACKER

Blog banner

"Audit" In Data Science

Blog banner

Getting into anime My anime suggestions

Blog banner

?Why Does My Breath Still Smell After Brushing?

Blog banner

Memory Management in Operating System

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Synchronization

Blog banner

Importance of Network Security Risk

Blog banner

Amazon

Blog banner

S-Tool : Steganography

Blog banner

Caching windows

Blog banner

Music

Blog banner

SAVE TREES

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

An Overivew Of Cache Memory

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Deadlock and starvation

Blog banner

NETSUITE

Blog banner

Random Forests

Blog banner

Spyware

Blog banner