wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Concurrency and memory

profile
Yakin Shah
Aug 13, 2024
0 Likes
0 Discussions
75 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

Junk food vs healthy food

Blog banner

How India made the GIS its Own, and its Use in Infrastructural Developments

Blog banner

social media issue

Blog banner

american greatines

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

Data Mining

Blog banner

How to Avoid being a Victim of Cybercrime

Blog banner

How to Plan a Week of Healthy Meals Without Stress

Blog banner

Power of words

Blog banner

child Labour

Blog banner

Direct Memory Access

Blog banner

FRIENDSHIP

Blog banner

HTML vs HTML5

Blog banner

Linux 94

Blog banner

Why You Need 2FA (Two-Factor Authentication) On Your Email And Other Online Accounts

Blog banner

PERSONAL STORIES

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

How to feel Happy everyday day

Blog banner

The Future of Cybersecurity: Trends, Challenges, and Strategies

Blog banner

The Power of Teamwork: Learning Collaboration Through Everyday Activities

Blog banner

Virtualization

Blog banner

Blog name

Blog banner

Security requirements for Safe E-Payments

Blog banner

What is a Dumpster Diving Attack?

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

PYTHON

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Memory Hierarchy

Blog banner

Self-love: Being the reason of your own smile

Blog banner

Deadlock in Operating System

Blog banner

Travel: Everything Everywhere!

Blog banner

Fault Tolerance in an Operating System

Blog banner

Making Money through Instagram

Blog banner

Dekkers Algorithm

Blog banner

Education: Key to your Prosperity

Blog banner

DURGA POOJA

Blog banner

Explain Kernel in OS

Blog banner

Risk mitigation and management

Blog banner

Best password managers: Reviews of the top products

Blog banner

Reconnaissance

Blog banner

Predictive Analytics: How Data Science Predicts Trends(Weather ,Stock Market,Sales Forecasting ).

Blog banner