Skip to content

Commit ceec0ea

Browse files
Dr-XYZkrahets
andauthored
Specify currency unit in the "Price" row of the storage compar… (#1755)
* Specify currency unit as CNY in the "Price" row of the storage comparison table * Revert changes to the English version * Change currency unit to USD * fix * fix space * Update ram_and_cache.md --------- Co-authored-by: Yudong Jin <krahets@163.com>
1 parent 7751ea1 commit ceec0ea

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

docs/chapter_array_and_linkedlist/ram_and_cache.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
<p align="center"> 表 <id> &nbsp; 计算机的存储设备 </p>
1212

13-
| | 硬盘 | 内存 | 缓存 |
14-
| ------ | ---------------------------------------- | -------------------------------------- | ------------------------------------------------- |
15-
| 用途 | 长期存储数据,包括操作系统、程序、文件等 | 临时存储当前运行的程序和正在处理的数据 | 存储经常访问的数据和指令,减少 CPU 访问内存的次数 |
16-
| 易失性 | 断电后数据不会丢失 | 断电后数据会丢失 | 断电后数据会丢失 |
17-
| 容量 | 较大,TB 级别 | 较小,GB 级别 | 非常小,MB 级别 |
18-
| 速度 | 较慢,几百到几千 MB/s | 较快,几十 GB/s | 非常快,几十到几百 GB/s |
19-
| 价格 | 较便宜,几毛到几元 / GB | 较贵,几十到几百元 / GB | 非常贵,随 CPU 打包计价 |
13+
| | 硬盘 | 内存 | 缓存 |
14+
| -------------- | ---------------------------------------- | -------------------------------------- | ------------------------------------------------- |
15+
| 用途 | 长期存储数据,包括操作系统、程序、文件等 | 临时存储当前运行的程序和正在处理的数据 | 存储经常访问的数据和指令,减少 CPU 访问内存的次数 |
16+
| 易失性 | 断电后数据不会丢失 | 断电后数据会丢失 | 断电后数据会丢失 |
17+
| 容量 | 较大,TB 级别 | 较小,GB 级别 | 非常小,MB 级别 |
18+
| 速度 | 较慢,几百到几千 MB/s | 较快,几十 GB/s | 非常快,几十到几百 GB/s |
19+
| 价格(人民币) | 较便宜,几毛到几元 / GB | 较贵,几十到几百元 / GB | 非常贵,随 CPU 打包计价 |
2020

2121
我们可以将计算机存储系统想象为下图所示的金字塔结构。越靠近金字塔顶端的存储设备的速度越快、容量越小、成本越高。这种多层级的设计并非偶然,而是计算机科学家和工程师们经过深思熟虑的结果。
2222

en/docs/chapter_array_and_linkedlist/ram_and_cache.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ There are three types of storage devices in computers: <u>hard disk</u>, <u>rand
1010

1111
<p align="center"> Table <id> &nbsp; Computer storage devices </p>
1212

13-
| | Hard Disk | Memory | Cache |
14-
| ---------- | -------------------------------------------------------------- | ------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
15-
| Usage | Long-term storage of data, including OS, programs, files, etc. | Temporary storage of currently running programs and data being processed | Stores frequently accessed data and instructions, reducing the number of CPU accesses to memory |
16-
| Volatility | Data is not lost after power off | Data is lost after power off | Data is lost after power off |
17-
| Capacity | Larger, TB level | Smaller, GB level | Very small, MB level |
18-
| Speed | Slower, several hundred to thousands MB/s | Faster, several tens of GB/s | Very fast, several tens to hundreds of GB/s |
19-
| Price | Cheaper, a few cents to a few dollars / GB | More expensive, tens to hundreds of dollars / GB | Very expensive, priced with CPU |
13+
| | Hard Disk | Memory | Cache |
14+
| ----------- | -------------------------------------------------------------- | ------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- |
15+
| Usage | Long-term storage of data, including OS, programs, files, etc. | Temporary storage of currently running programs and data being processed | Stores frequently accessed data and instructions, reducing the number of CPU accesses to memory |
16+
| Volatility | Data is not lost after power off | Data is lost after power off | Data is lost after power off |
17+
| Capacity | Larger, TB level | Smaller, GB level | Very small, MB level |
18+
| Speed | Slower, several hundred to thousands MB/s | Faster, several tens of GB/s | Very fast, several tens to hundreds of GB/s |
19+
| Price (USD) | Cheaper, a few cents / GB | More expensive, a few dollars / GB | Very expensive, priced with CPU |
2020

2121
The computer storage system can be visualized as a pyramid, as shown in the figure below. The storage devices at the top of the pyramid are faster, have smaller capacities, and are more expensive. This multi-level design is not accidental, but a deliberate outcome of careful consideration by computer scientists and engineers.
2222

zh-hant/docs/chapter_array_and_linkedlist/ram_and_cache.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
<p align="center"> 表 <id> &nbsp; 計算機的儲存裝置 </p>
1212

13-
| | 硬碟 | 記憶體 | 快取 |
14-
| ------ | ---------------------------------------- | -------------------------------------- | ------------------------------------------------- |
15-
| 用途 | 長期儲存資料,包括作業系統、程式、檔案等 | 臨時儲存當前執行的程式和正在處理的資料 | 儲存經常訪問的資料和指令,減少 CPU 訪問記憶體的次數 |
16-
| 易失性 | 斷電後資料不會丟失 | 斷電後資料會丟失 | 斷電後資料會丟失 |
17-
| 容量 | 較大,TB 級別 | 較小,GB 級別 | 非常小,MB 級別 |
18-
| 速度 | 較慢,幾百到幾千 MB/s | 較快,幾十 GB/s | 非常快,幾十到幾百 GB/s |
19-
| 價格 | 較便宜,幾毛到幾元 / GB | 較貴,幾十到幾百元 / GB | 非常貴,隨 CPU 打包計價 |
13+
| | 硬碟 | 記憶體 | 快取 |
14+
| -------------- | ---------------------------------------- | -------------------------------------- | ------------------------------------------------- |
15+
| 用途 | 長期儲存資料,包括作業系統、程式、檔案等 | 臨時儲存當前執行的程式和正在處理的資料 | 儲存經常訪問的資料和指令,減少 CPU 訪問記憶體的次數 |
16+
| 易失性 | 斷電後資料不會丟失 | 斷電後資料會丟失 | 斷電後資料會丟失 |
17+
| 容量 | 較大,TB 級別 | 較小,GB 級別 | 非常小,MB 級別 |
18+
| 速度 | 較慢,幾百到幾千 MB/s | 較快,幾十 GB/s | 非常快,幾十到幾百 GB/s |
19+
| 價格(人民幣) | 較便宜,幾毛到幾元 / GB | 較貴,幾十到幾百元 / GB | 非常貴,隨 CPU 打包計價 |
2020

2121
我們可以將計算機儲存系統想象為下圖所示的金字塔結構。越靠近金字塔頂端的儲存裝置的速度越快、容量越小、成本越高。這種多層級的設計並非偶然,而是計算機科學家和工程師們經過深思熟慮的結果。
2222

0 commit comments

Comments
 (0)