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

Street foods

Blog banner

Race condition

Blog banner

Why Soft Skills Matter as Much as Grades?

Blog banner

Ethical Hacking

Blog banner

Memory input output management

Blog banner

What is a Dumpster Diving Attack?

Blog banner

Blockchain uses and use cases

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Deadlock and Starvation

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Article on team management software

Blog banner

GIS in Disaster Management

Blog banner

Big Data

Blog banner

Virtual memory

Blog banner

Big O Notation

Blog banner

Privacy LAWs in IT

Blog banner

All you need to know about “Off-page SEO”

Blog banner

The Laws of Karma

Blog banner

Dos (Denial of service) Attack

Blog banner

Introduction to GIS

Blog banner

Advantage of freedom

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

How To Secure Operating Systems ?

Blog banner

IT Service as as Value Creation

Blog banner

Steganography

Blog banner

Facebook marketing

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Kernel Memory Allocation In Linux.

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

What is metaverse?

Blog banner

Network Security Risks

Blog banner

Brain wash of social media

Blog banner

Indian Food

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

Memory Management - operating system

Blog banner

Getting to Kashmir: Alternative to the Jammu-Srinagar highway

Blog banner

INTERNET SECURITY

Blog banner

UniProcessor Scheduling

Blog banner

Man VS Nature

Blog banner

Memory managment

Blog banner

Importance Of Education.

Blog banner