RAM ROM Cache Memory Registers
RAM ROM Cache Memory Registers
RAM ROM Cache Memory Registers
RAM
ROM
CACHE MEMORY
REGISTERS
Meaning of RAM.
RAM or Random Access Memory also
known as volatile memory is a form of
computer data storage device which
stores most commonly accessed data in
the computer.
RAM
HARD (Random Access USER
Memory)
DRIVE
Command to computer
(less access time)
Typical RAM and its location in motherboard
Types Of RAM
DRAM (Dynamic RAM)
SRAM (Static RAM)
i. Dynamic RAM
DRAM or dynamic random access memory is that type
of RAM which stores data using a transistor and
capacitor which are comprised together in a memory
cell.
→high speed buffer made up of SRAM (static RAM) that stores the
most frequently accessed data and instructions for quick retrieval.
→more expensive.
TYPES OF CACHE
MEMORY
❶Memory
cache(portion on
memory of high-
speed SRAM)
❷Disk cache(used to
access commonly
accessed data)
❸Internet browser
cache(used to help
improve how fast
data is opened while
browsing the
Internet.)
WHERE IS CACHE
LOCATED ?
○Level 1 - in the processor
○Level 2 - dedicated for the processor but not
in the processing logic
○Level 3 - shared between processors
ADVANTAGES AND
DISADVANTAGES
Advantages
Reduce load on Web Services/ Database
Increase Performance
Reliability (Assuming db backed cache.
Server goes down and db is backed by
cache. There is no time wasted to
repopulate as in memory cache)
Disadvantages
Could run into issues syncing caches
Increased Maintenance
Scalability Issues
PROCESS FLOW
-
Contents
Introduction to registers
Functioning of registers
Registers perform
Types of registers
Working of a memory device
REGISTERS
• Very small amount of very fast memory built into the
CPU to speed up its operations by providing quick
access to commonly used values,
• The fastest way for the system to manipulate data,
• Mostly implemented as an array of SRAM (Static
Random Access Memory),
• Normally measured by the number of bits they can
hold
Functioning of REGISTERS
Used by the CPU for performing the operations.
Decode
Execute
Types of Registers
Memory Address Registers
Program Counter
Accumulator Register
Memory Data Register
Index Register
Memory Buffer Register
Data Register
How do the memory devices work?
THANK YOU FOR YOUR
ATTENTION.