文章目录
1. flash 和 ram
很多硬盘是由 flash 做的,硬盘包括 SSD, HDD, CD, U盘,所以 flash memory 和 RAM 是两大类。
Flash memory is used primarily for storage, while RAM (random access memory) performs calculations on the data retrieved from storage.
有人总是把 RAM 解释为用来存储临时数据的东西,我觉得并不准确,相反更容易引起误解。如果说硬盘(HDD/SSD)是书籍、试卷–用来记录你想长期保存的数据。当你需要做题或者看书的时候,你需要把这些书籍读入你的大脑或者列在草稿纸上,再进行思考或计算。此时 RAM 就是人的大脑或者是草稿纸,当计算机想要运行 QQ,微信的时候就需要先把存储在硬盘的微信程序读入 RAM,然后 CPU 再进行处理运行。
1.1. RAM 分为 DRAM 和 SRAM
There are two types of RAM commonly used in a computer system: dynamic RAM (DRAM) and static RAM (SRAM). In addition to being the fastest option, SRAM is much more expensive than DRAM, so it is mainly used as the cache memory inside the integrated circuit that is a computer’s CPU. DRAM is mainly used as the primary operational memory, running the OS and applications.
1.2. SSD 和 HDD 的区别(都属于硬盘flash)
很多硬盘是由 flash 做的,硬盘包括 SSD, HDD, CD, U盘,所以 硬盘 和 RAM 是两大类。
The main difference between a solid state drive (SSD) and a hard disk drive (HDD) is how data is stored and accessed. HDDs use mechanical spinning disks and a moving read/write head to access data, while SSDs use memory chips.
2. flash 和 硬盘
When discussing solid state drives (SSDs), many people — even experts — use the terms “flash” and “SSD” interchangeably.
The difference between the two might be easiest to understand with an analogy. And one of the most apt analogies that gets used in the storage industry is that flash is like eggs and an SSD is like an omelet. In the same way that an omelet is made mostly of eggs, an SSD is made mostly of flash. And if someone asked what you had for breakfast, it would be understandable if you answered “eggs,” even if what you really had, was an omelet. Continuing the analogy, you can also do lots of things with eggs besides making omelets. In the same way, you can do lots of things with flash besides making SSDs.
Flash is a storage medium based on silicon chips that can be written to or erased with electricity. Other examples of stora