{ "sheetModels": [ { "title": "Sheet1", "rootTopicKey": "cb7065fc-c391-4828-b59e-0d508e9ddb6a", "editorRootTopicKey": "cb7065fc-c391-4828-b59e-0d508e9ddb6a", "focusKey": "f0996cb4-d7cb-4dbf-ad81-99a906eb3da1", "topics": [ { "key": "6deb6c36-7d7a-4b06-a9a8-253815a23196", "parentKey": "cb7065fc-c391-4828-b59e-0d508e9ddb6a", "subKeys": [ "da5c5fc2-cc37-41b5-81c7-c6563e35bc02", "7ebef4e0-7370-4eb5-a2b3-e3767e519252", "58b8ea8b-c88a-40db-a85f-53c6a1568d88", "70b26f06-9efa-48ee-9887-2cd66902e484" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "替换算法" } ] }, { "key": "58b8ea8b-c88a-40db-a85f-53c6a1568d88", "parentKey": "6deb6c36-7d7a-4b06-a9a8-253815a23196", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "最不经常使用" } ] }, { "key": "37b6635a-d768-4f6d-acb6-9f2da20b9c88", "parentKey": "f24649e7-4b3c-4092-adac-f64a35965f2a", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "组相联映射" } ] }, { "key": "7ebef4e0-7370-4eb5-a2b3-e3767e519252", "parentKey": "6deb6c36-7d7a-4b06-a9a8-253815a23196", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "最少使用" } ] }, { "key": "930eac2d-abd2-4a21-ae8d-4cb7578a0621", "parentKey": "7f09ce24-a329-44a6-bb13-9f1e1add7aa9", "subKeys": [ "3020df10-d8c8-4280-a554-51950e23c0ca" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "如果高速缓存已满" } ] }, { "key": "1e949a95-d2a1-4055-84a9-22a7481486c2", "parentKey": "beb7ffc0-7de5-4a0f-a618-4f48167e7309", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "将内存中的数据发送给CPU" } ] }, { "key": "cb7065fc-c391-4828-b59e-0d508e9ddb6a", "parentKey": null, "subKeys": [ "1082400e-94c3-4150-a660-607784ad00d0", "f24649e7-4b3c-4092-adac-f64a35965f2a", "6deb6c36-7d7a-4b06-a9a8-253815a23196", "e89a3554-514f-4844-9517-da4ba7dbda89" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "缓存命中" } ] }, { "key": "7f09ce24-a329-44a6-bb13-9f1e1add7aa9", "parentKey": "beb7ffc0-7de5-4a0f-a618-4f48167e7309", "subKeys": [ "b96dbd71-97d9-4384-9aae-d9b9bb8d8cb8", "930eac2d-abd2-4a21-ae8d-4cb7578a0621" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "将内存中的数据存储到高速缓存" } ] }, { "key": "ec192570-43ef-46c0-b027-6dfc752b45b5", "parentKey": "1082400e-94c3-4150-a660-607784ad00d0", "subKeys": [ "7e8f6ec1-b272-40a9-9ec8-76104991e1f4", "beb7ffc0-7de5-4a0f-a618-4f48167e7309" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "CPU访问数据时,先在高速缓存中查找" } ] }, { "key": "f0996cb4-d7cb-4dbf-ad81-99a906eb3da1", "parentKey": "f24649e7-4b3c-4092-adac-f64a35965f2a", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "CPU需要在高速缓存中查找数据(根据一个内存地址),需要一个映射关系,确定某个内存地址的数据(可能)记录在高速缓存的哪里" } ] }, { "key": "e89a3554-514f-4844-9517-da4ba7dbda89", "parentKey": "cb7065fc-c391-4828-b59e-0d508e9ddb6a", "subKeys": [ "effa4a97-403d-4f08-916c-96391f90467d" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "一致性问题" } ] }, { "key": "effa4a97-403d-4f08-916c-96391f90467d", "parentKey": "e89a3554-514f-4844-9517-da4ba7dbda89", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "一个数据,可能同时存在于内存和高速缓存,那么这个数据更新的时候,如何保证两处同时更新?" } ] }, { "key": "1082400e-94c3-4150-a660-607784ad00d0", "parentKey": "cb7065fc-c391-4828-b59e-0d508e9ddb6a", "subKeys": [ "ec192570-43ef-46c0-b027-6dfc752b45b5" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "高速缓存的工作原理" } ] }, { "key": "3020df10-d8c8-4280-a554-51950e23c0ca", "parentKey": "930eac2d-abd2-4a21-ae8d-4cb7578a0621", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "替换哪个数据?" } ] }, { "key": "bdb4ca1d-62c2-4663-a3a4-d263f800dbbc", "parentKey": "b96dbd71-97d9-4384-9aae-d9b9bb8d8cb8", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "将数据缓存到哪里?" } ] }, { "key": "70b26f06-9efa-48ee-9887-2cd66902e484", "parentKey": "6deb6c36-7d7a-4b06-a9a8-253815a23196", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "随机替换" } ] }, { "key": "439fce1c-d5d2-4e6a-9f7b-bdb616b7c01b", "parentKey": "f24649e7-4b3c-4092-adac-f64a35965f2a", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "内存的数据需要写入高速缓存,需要通过一个映射关系,确定内存的数据要写入到高速缓存的哪里" } ] }, { "key": "f24649e7-4b3c-4092-adac-f64a35965f2a", "parentKey": "cb7065fc-c391-4828-b59e-0d508e9ddb6a", "subKeys": [ "439fce1c-d5d2-4e6a-9f7b-bdb616b7c01b", "f0996cb4-d7cb-4dbf-ad81-99a906eb3da1", "db92245e-4cb7-418b-a6f7-c71de05c62fc", "1d3ae979-f10d-4239-a4ea-9ec2a447dba9", "37b6635a-d768-4f6d-acb6-9f2da20b9c88" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "高速缓存和内存的映射方式" } ] }, { "key": "1d3ae979-f10d-4239-a4ea-9ec2a447dba9", "parentKey": "f24649e7-4b3c-4092-adac-f64a35965f2a", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "全相联映射" } ] }, { "key": "da5c5fc2-cc37-41b5-81c7-c6563e35bc02", "parentKey": "6deb6c36-7d7a-4b06-a9a8-253815a23196", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "先进先出" } ] }, { "key": "7e8f6ec1-b272-40a9-9ec8-76104991e1f4", "parentKey": "ec192570-43ef-46c0-b027-6dfc752b45b5", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "找到直接返回" } ] }, { "key": "b96dbd71-97d9-4384-9aae-d9b9bb8d8cb8", "parentKey": "7f09ce24-a329-44a6-bb13-9f1e1add7aa9", "subKeys": [ "bdb4ca1d-62c2-4663-a3a4-d263f800dbbc" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "如果高速缓存未满" } ] }, { "key": "beb7ffc0-7de5-4a0f-a618-4f48167e7309", "parentKey": "ec192570-43ef-46c0-b027-6dfc752b45b5", "subKeys": [ "1e949a95-d2a1-4055-84a9-22a7481486c2", "7f09ce24-a329-44a6-bb13-9f1e1add7aa9" ], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "找不到再去内存中读取" } ] }, { "key": "db92245e-4cb7-418b-a6f7-c71de05c62fc", "parentKey": "f24649e7-4b3c-4092-adac-f64a35965f2a", "subKeys": [], "collapse": false, "style": null, "blocks": [ { "type": "CONTENT", "data": "直接映射" } ] } ], "config": { "viewMode": "MindMap", "readOnly": false, "allowUndo": true, "layoutDir": 0, "theme": { "name": "defaultTheme", "randomColor": false, "background": "#DDDDDD", "highlightColor": "#C31004", "marginH": 50, "marginV": 5, "contentStyle": { "lineHeight": "1" }, "linkStyle": { "lineRadius": 5, "lineWidth": "2px", "lineColor": "#595959", "lineType": "curve" }, "rootTopic": { "contentStyle": { "background": "#C31004", "color": "#fff", "fontSize": "34px", "borderRadius": "5px", "padding": "16px 18px 16px 18px" }, "subLinkStyle": { "lineType": "curve" } }, "primaryTopic": { "contentStyle": { "background": "#333", "borderRadius": "5px", "color": "#fff", "fontSize": "14px", "padding": "6px 10px 5px 10px" }, "subLinkStyle": { "hasUnderline": true, "lineType": "round" } }, "normalTopic": { "contentStyle": { "borderRadius": "5px", "background": "#fff0", "color": "#383833", "fontSize": "13px", "padding": "1px" }, "subLinkStyle": { "hasUnderline": true, "lineType": "round" } } } } } ], "extData": {}, "currentSheetIndex": 0, "formatVersion": "0.1" }