OS
主記憶體(main memory)和建立在處理器內的暫存器(register)是CPU唯一可以直接存取的記憶體
記憶體存取可能需要許多週期才能完成,在這情況下處理器通程需要停待(stall)
快取記憶體(cache):用來配合存取速度的差異的記憶體緩衝器,在記憶體與CPU之間
必須保護作業系統免於使用者行程存取
位址連結
邏輯位址空間與實體位址空間
動態載入
動態鏈結
共用程式庫
藉由暫時將行程由記憶體置換到備份儲存體(backing store),增加系統多元程式的程度
標準置換
行動裝置的置換
多重分割方法(multiple-partition method)
可變分割方法(variable-partition method)
動態儲存體配置問題(dynamic storage allocation problem)
斷裂(Fragmentation)
允許一個行程的實體位址不連續
程式人員用兩個量來指定每個位址
因此邏輯位址由以下二元(two tuple)所組成:<分段號碼,偏移量>
雖然程式人員可以用二維的位址,但是記憶體實際上仍為一維
允許一個行程的實體位址不連續,且避免了外部斷裂,但有內部斷裂
實體記憶體被分為許多大小相同的欄(frame)
邏輯位址
分欄表(frame table):紀錄欄是否可用或已被配置
分頁法會增加內容轉換的時間
硬體的支援
保護(Memory Protection)
共用分頁(Shared Pages)
階層式分頁表(Hierarchical Page Tables)
雜湊分頁表(Hashed Page Tables)
反轉分頁表(Inverted Page Table)
SPARC CPU上執行的Solaris是一個64位元的作業系統
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing