A brief introduction to IO, storage, and file systems

Table of contents

1. What is IO

Category 1: Memory IO

Category 2: Device IO

 2. Storage

 Three: File system

 Summarize


1. What is IO

I(input): put data

O(output): take out data

So what we usually talk about IO actually means putting data and storing data.

Here, we generally divide IO into two major categories

Category 1: Memory IO

This type of IO is mainly targeted at the hardware in the computer

In memory IO, the CPU will read the data from the register and store it into memory. When data needs to be read, the CPU reads the data from memory and stores it into a register. Memory IO is very fast and efficient because memory is accessed very quickly, often reaching speeds of several gigabytes per second.

 

 

Category 2: Device IO

This type of IO mainly refers to our peripherals (U disk, keyboard) storing and taking out data from the computer.

The most classic one is our USB flash drive. We can intuitively see the speed of its IO when copying data.

 

 2. Storage

Simply put, it is where data is stored in our computers.

What kind of hard drive, memory, USB flash drive, etc.

Each storage medium has its own benefits and applicable scenarios

USB flash drive: used to store small files and can easily transfer files from one computer to another

Memory: The reading and writing speed is very fast but the data stored in the memory will be lost after the computer is turned off, therefore, it is only suitable for temporary storage of data.

Hard disk: The reading and writing speed of the hard disk is slow. The data is retained after the computer is shut down and restarted. It is suitable for long-term data storage.

Solid state drive: an upgraded version of the hard disk, which is more expensive and has faster IO speed. However, because of the high cost, the storage capacity is generally smaller, about 100-300GB (it may become larger and larger with the development of the times).

 Three: File system

It is to organize and manage the data in the computer in a certain way.

The function of the file system is to allow the computer to easily access data stored on the hard disk or other storage devices.

Management, storage, reading and writing operations

and ensuring the security, integrity and reliability of data

Take my Win10 computer as an example, it feels like an N-ary tree.

 Summarize

1.IO is storing and reading data, and it is also the most important operation of the computer.

2. Data is stored in various devices, such as hard disk, memory, and USB flash drive.

3. Data is managed by the file system

Guess you like

Origin blog.csdn.net/qq_62718027/article/details/131351251