Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) PDF Download

Microcomputer Memory

  • Memory is an essential component of the microcomputer system.
  • It stores binary instructions and datum for the microcomputer.
  • The memory is the place where the computer holds current programs and data that are in use.
  • None technology is optimal in satisfying the memory requirements for a computer system.
  • Computer memory exhibits perhaps the widest range of type, technology, organization, performance and cost of any feature of a computer system.
  • The memory unit that communicates directly with the CPU is called main memory.
  • Devices that provide backup storage are called auxiliary memory or secondary memory.

Characteristics of memory systems 
The memory system can be characterised with their Location, Capacity, Unit of transfer, Access method, Performance, Physical type, Physical characteristics, Organisation.

Location

  • Processor memory: The memory like registers is included within the processor and termed as processor memory.
  • Internal memory: It is often termed as main memory and resides within the CPU.
  • External memory: It consists of peripheral storage devices such as disk and magnetic tape that are accessible to processor via i/o controllers.

Capacity

  • Word size: Capacity is expressed in terms of words or bytes.
    — The natural unit of organisation
  • Number of words: Common word lengths are 8, 16, 32 bits etc.
    — or Bytes

Unit of Transfer 

  • Internal:  For internal memory, the unit of transfer is equal to the number of data lines into and out of the memory module.
  • External: For external memory, they are transferred in block which is larger than a word.
  • Addressable unit
    — Smallest location which can be uniquely addressed
    — Word internally
    — Cluster on Magnetic disks

Access Method

  • Sequential access: In this access, it must start with beginning and read through a specific linear sequence. This means access time of data unit depends on position of records (unit of data) and previous location.
    — e.g. tape
  • Direct Access: Individual blocks of records have unique address based on location.Access is accomplished by jumping (direct access) to general vicinity plus a sequential search to reach the final location.
    — e.g. disk
  • Random access: The time to access a given location is independent of the sequence of prior accesses and is constant. Thus any location can be selected out randomly and directly addressed and accessed. — e.g. RAM
  • Associative access: This is random access type of memory that enables one to make a comparison of desired bit locations within a word for a specified match, and to do this for all words simultaneously.
    — e.g. cache

Performance

  • Access time: For random access memory, access time is the time it takes to perform a read or write operation i.e. time taken to address a memory plus to read / write from addressed memory location. Whereas for non-random access, it is the time needed to position read / write mechanism at desired location.
    • Time between presenting the address and getting the valid data
  • Memory Cycle time: It is the total time that is required to store next memory access operation from the previous memory access operation.
    Memory cycle time = access time plus transient time (any additional time required before a second access can commence).
    • Time may be required for the memory to “recover” before next access
    • Cycle time is access + recovery
  • Transfer Rate: This is the rate at which data can be transferred in and out of a memory unit.
    • Rate at which data can be moved
    • For random access, R = 1 / cycle time
    • For non-random access, Tn = Ta + N / R; where Tn – average time to read or write N bits, Ta – average access time, N – number of bits, R – Transfer rate in bits per second (bps).

Physical Types

  • Semiconductor
    • RAM
  • Magnetic
    • Disk & Tape
  • Optical
    • CD & DVD
  • Others
    • Bubble
    • Hologram

Physical Characteristics 

  • Decay: Information decays mean data loss.
  • Volatility: Information decays when electrical power is switched off.
  • Erasable: Erasable means permission to erase.
  • Power consumption: how much power consumes?

Organization

  • Physical arrangement of bits into words
  • Not always obvious
    - e.g. interleaved
The document Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Computer Architecture & Organisation (CAO).
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
20 videos|86 docs|48 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on Memory System - Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

1. What is a memory system in computer science engineering?
Ans. A memory system in computer science engineering refers to the hierarchy of storage devices used in a computer to store and retrieve data. It typically includes primary memory (RAM) and secondary memory (hard disk drives, solid-state drives), which work together to provide fast and reliable data access for the computer.
2. How does the memory system work in a computer?
Ans. The memory system in a computer works by storing data in different levels of memory hierarchy based on their speed and capacity requirements. The CPU first accesses data from the primary memory (RAM) where the most frequently used data is stored. If the required data is not found in RAM, it retrieves it from the secondary memory (hard disk drives, solid-state drives). This process ensures efficient data access and management.
3. What are the advantages of having a hierarchical memory system?
Ans. A hierarchical memory system offers several advantages in computer science engineering. Firstly, it provides faster access to frequently used data as it is stored in the primary memory. Secondly, it allows for larger data storage capacity by utilizing secondary memory devices. Additionally, it helps in optimizing cost as primary memory is more expensive but faster, while secondary memory is cheaper but slower.
4. How is virtual memory related to the memory system in a computer?
Ans. Virtual memory is a technique used by the memory system in a computer to efficiently manage the available memory resources. It allows the computer to use a portion of the secondary storage (hard disk) as an extension of the primary memory (RAM). When the RAM becomes full, less frequently used data is moved to the virtual memory on the disk, enabling the system to continue running smoothly.
5. What are the challenges in designing an efficient memory system for a computer?
Ans. Designing an efficient memory system for a computer involves addressing several challenges. One challenge is balancing the cost and performance trade-off between primary and secondary memory. Another challenge is optimizing data placement and retrieval algorithms to minimize access time. Additionally, managing virtual memory efficiently and ensuring data integrity and reliability are also important considerations in memory system design.
20 videos|86 docs|48 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Summary

,

Free

,

Viva Questions

,

mock tests for examination

,

past year papers

,

video lectures

,

ppt

,

Sample Paper

,

Exam

,

study material

,

practice quizzes

,

Extra Questions

,

pdf

,

MCQs

,

Important questions

,

shortcuts and tricks

,

Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Previous Year Questions with Solutions

,

Objective type Questions

,

Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Memory System | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Semester Notes

;