L01-Introduction to Operating System
L01-Introduction to Operating System
Chapter 1: Introduction
< STORAGE
> COST
< SPEED
> STORAGE
< COST
STORAGE
▪ Main Memory:
▪ memory that can be directly accessible by the CPU –
RAM / ROM / Cpu Cache
▪ Accessible means – external to the CPU
STORAGE
▪ Main Memory: RAM (random access memory)
▪ Reading takes roughly takes the same time regardless of the
location
▪ RAM – Quick read/write times – load open programs / OS
from the slower secondary storage (HD/SSD), so it can
access directly by cpu
▪ Volatile
▪ Main Memory: ROM (read only memory)
▪ can only be red, can't be changed once programmed
▪ Used in small amounts to store essential program
▪ E.g., those needed to be run order to boot the computer
(bios)
▪ Non-Volatile
STORAGE
▪ Main Memory: CPU Cache
▪ A type of memory that stores copies of frequently used data
▪ Cache faster than RAM, lower capacity
▪ CPU cache is physically closer to the processor, it is checked
before RAM in the 'fetch' stage
STORAGE - Caching
▪ Multitasking environments must be careful to use most recent value,
no matter where it is stored in the storage hierarchy
▪ File-System management
❑ Files usually organized into directories
❑ Access control on most systems to determine who can access what
❑ OS activities include
Creating and deleting files and directories
Primitives to manipulate files and directories
Rerefence:https://medium.com/teamresellerclub/type-1-and-type-2-hypervisors-what-makes-them-different-6a1755d6ae2c
Computing Environments (Cloud Computing)
▪ Delivers computing, storage, even apps as a service across a network
▪ Logical extension of virtualization because it uses virtualization as the
base for it functionality.
❑ Amazon EC2 has thousands of servers, millions of virtual machines,
petabytes of storage available across the Internet, pay based on usage
▪ Many types
❑ Public cloud – available via Internet to anyone willing to pay
❑ Private cloud – run by a company for the company’s own use
❑ Hybrid cloud – includes both public and private cloud components
❑ Software as a Service (SaaS) – one or more applications available via
the Internet (i.e., word processor)
❑ Platform as a Service (PaaS) – software stack ready for application
use via the Internet (i.e., a database server)
❑ Infrastructure as a Service (IaaS) – servers or storage available over
Internet (i.e., storage available for backup use)
Computing Environments (Cloud Computing)
Source: https://www.bigcommerce.com/