Storage Structure in OS
Primary memory
Primary memory, also known as main memory, is a memory that can be accessed directly by the CPU. some basic storage devices -
1. Registers: These are the smallest devices and the data is stored in them as bits because they are the smallest devices that can be accessed very quickly.
2. Caching: The buffer size is slightly larger than that of the registry, but its speed is slower than that of the registry.
3. Main memory: It includes two types of memory: 1.RAM 2. ROM
- RAM (Random Access Memory): Everything opened in the computer is loaded into the main memory, which is fast but small in size, unable to store programs and data in the central disk. Try to find out with the help of an example MS Word stored in secondary memory and when you double click it to open, it will be loaded into main memory for execution. It is also very volatile, which means it will lose its content when power is suspended.
- ROM (Read Only Memory): All data resides in auxiliary memory and is loaded into the main memory at runtime. For example, Photoshop software is stored in secondary memory and when opened will move to the main memory for execution. Furthermore, it is non-volatile in nature, which means it retains its contents even when the power is suspended.
Secondary memory
The CPU does not have direct access to secondary storage. Before the CPU can use the data, it must pull the data from the secondary storage into the main storage. It can kept in very large quantities forever. This is an example of secondary storage, electronic storage, magnetic disks, optical discs, magnetic tapes, etc.
0 Comments