wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Memory Management

profile
Vrudanshi Bavliya
Aug 14, 2024
0 Likes
0 Discussions
66 Reads

Memory management is the process of controlling and coordinating a computer’s main memory. It ensures that blocks of memory space are properly arranged and allocated so the operating system (OS) , applications and other running processes have the memory they need to carry out their operations. 

 Types of Memory

Registers – It is a temporary Storage area built in a CPU access time of register is below 10ns, and registers have lowest capacity that is of few KB of words. 

Cache Memory – It is a high speed memory. The purpose of cache memory is to store those program that are repeatedly used or likely to be used in the near future. 

Main Memory – It is also known as Primary memory or RAM or Physical memory. The CPU can execute only the data that is present in the Main memory . It is the temporary storage location where data of currently running programs are stored for short period of time. 

Secondary Memory – It allows user to store data that can be easily retrieved. This memory cannot be directly used. It can be accessed only by the main memory. For example:- Magnetic tape, magnetic disk, hard disc etc.

Principles for effective memory

Make the common case fast - The principal says that the data which is more frequently used should be kept in faster device. It is based on amdhal's law. 

Principle of locality - It is based on locality of references , According to this, the programs tend to reuse data and instruction they have used recently. 90/10 rule comes from empirical Observation:- a program spends 90% of its time in 10% of its code. An Implication of locality is that we can predict with reasonable accuracy what instructions and data a program will use in the near future based on its accesses in the recent past. 

Two different types of locality

Temporal locality - States that recently accessed items are likely to be accessed in the near future. 

Spatial locality - States that items whose addresses are near one another tend to be referenced closed together in time.



Comments ()


Sign in

Read Next

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Improving the Accuracy of GPS and GNSS

Blog banner

Buffer Overflow

Blog banner

Why we should do reading

Blog banner

Embaded operating system

Blog banner

Online Education

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Article on Zoho Corporation

Blog banner

Mumbai

Blog banner

Objectives and Functions of Operating System

Blog banner

BrainGate Technology

Blog banner

Cache memory

Blog banner

KAHAWA TEA

Blog banner

Defining youtubr

Blog banner

38_Exploring The Honeynet Project

Blog banner

Perfectionism and High-Performance culture

Blog banner

Art and Culture of Rajasthan

Blog banner

Routers

Blog banner

Importance Of Yoga.

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Types Of scheduling

Blog banner

Privacy LAWs in IT

Blog banner

Population

Blog banner

Deadlock in Operating System

Blog banner

Deadlock and Starvation

Blog banner

Metasploit

Blog banner

INTERNET SECURITY

Blog banner

Spitting Pink in the Sink: Why Your Gums Randomly Bleed

Blog banner

Capacity management in ITSM

Blog banner

Importance of modern technology era

Blog banner

Embedded Operating System

Blog banner

Cybersecurity Standards for Automotive

Blog banner

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

Memory Management

Blog banner

How to make Pancakes

Blog banner

Software Piracy & Online Data Protection in Digital World

Blog banner

My First Dream Bike

Blog banner

Paging

Blog banner

Financial Stress and Mental Health

Blog banner

Booting Process In Operating System

Blog banner