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

Who decides your overthinking, anyway?

Blog banner

Deadlocks in Operating Systems

Blog banner

Life

Blog banner

Place to visit in pune

Blog banner

How Laughing Gas Makes Your Dental Visit So Much Easier

Blog banner

How China Regained It's World's Largest Growing Economy Status

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Lifestyle of a photographer

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

SMARTSHEET

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Intrusion Detection System

Blog banner

DATA SCIENCE IN BUSINESS AND MARKETING

Blog banner

Pooja Silver

Blog banner

Key to success in Sports

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

KAHAWA TEA

Blog banner

semaphores in os

Blog banner

security controls

Blog banner

Malware Detection Techniques for Mobile Devices

Blog banner

Health and fitness in technology

Blog banner

File management

Blog banner

How to lose belly fat

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

Study of Sniffing Tools

Blog banner

Virtual machine

Blog banner

Design in figma

internet email and it's applications

Blog banner

Procedure For Corporate High-Tech Investigations

Blog banner

Uniprocessor scheduling

Blog banner

What makes Nugget RC Racing Florida’s Most Exciting Racing Events?

Blog banner

TEAMWORK

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

Decoding the Weave — How to Identify Original Patola Art on a Fabric

Blog banner

Photorec - media recovery tool

Blog banner

Fault tolerance

Blog banner

Cycling

Blog banner

AN EVENT-BASED DIGITAL FORENSIC INVESTIGATION

Blog banner

Recipe of Paneer Butter Masala

Blog banner

File Allocation Methods

Blog banner

How To Secure Operating Systems ?

Blog banner