Sunday, September 20, 2015

Memory

Memory Types:


  • RAM
    • Data memory
    • Volatile
    • Fast
  • EEPROM / Flash
    • Program memory
    • Nonvolatile
    • From Wikipedia
    • Slow
  • Virtual memory
    • The OS combines regions of the RAM + regions of the Hard disk, and provide virtual addressing for them as if they are contiguous, to be used as a RAM
    • Have larger RAM, but slower
  • Cache memory
    • Faster than rams
    • Data cache, contains the data that is accessed frequently
    • Program cache, contains instructions that is being executed


Memory Management
  • The OS is responsible for allocating/deallocating/moving the heap/stack of the different processes

No comments:

Post a Comment