## 历史

• $1K = 2^{10}\ (10\ bits) = 1,024$
• $1M = 2^{20}\ (20\ bits) = 1,048,576$
• $1G = 2^{30}\ (30\ bits) = 1,073,741,824$
• $1T = 2^{40}\ (40\ bits) = 1,099,511,627,776$

## 虚拟内存管理

256 MB 内存可以存放 256 MB 大小的内容，表示这些内容需要的地址空间为 256 MB / 1 Byte = 256M。

### 段式内存管理

• 逻辑地址 = 段标识符 : 段内偏移
• 段标识符 → 段基址
• 线性地址 = 段基址 + 段内偏移

### 页式内存管理

$1G = 1M \times 1K$

0%
{"ft_lang_label":"__label__zh","ft_lang_prob":0.9825104,"math_prob":1.000008,"size":3787,"snap":"2020-45-2020-50","text_gpt3_token_len":3355,"char_repetition_ratio":0.07084325,"word_repetition_ratio":0.0,"special_character_ratio":0.22577238,"punctuation_ratio":0.025263159,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99925613,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-12-05T14:19:42Z\",\"WARC-Record-ID\":\"<urn:uuid:7c2dc7de-ec95-4af4-af74-f469f024207f>\",\"Content-Length\":\"51567\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:1737fc17-f8b1-49ba-87f2-addc34d30f5e>\",\"WARC-Concurrent-To\":\"<urn:uuid:fd5d73d2-0a0e-42dd-9986-48befcac70f4>\",\"WARC-IP-Address\":\"185.199.109.153\",\"WARC-Target-URI\":\"https://www.junhaow.com/2018/08/15/036%20%7C%20%E5%85%B3%E4%BA%8E%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86%E7%9A%84%E6%80%BB%E7%BB%93/\",\"WARC-Payload-Digest\":\"sha1:CLJ5M4HAJMXFX2LLY2GUHUVPGDMDH632\",\"WARC-Block-Digest\":\"sha1:J5LDFGR3PGF7UWQZQSNVUFJV77XAUYZS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-50/CC-MAIN-2020-50_segments_1606141747887.95_warc_CC-MAIN-20201205135106-20201205165106-00661.warc.gz\"}"}