取消
顯示結果 
搜尋替代 
您的意思是: 

What's the difference between paging and swaping?

What's the difference between paging and swaping?

paging 和 swaping 定義有何不同?
2 回覆

What's the difference between paging and swaping?

單位不同

paging:once one page

To provide more physical memory, the vm subsystem monitors

the amount of available physical memory and might transfer pages to a

secondary memory device called a swap device .A swap device is a block device in a configurable section of a disk. The kernel retrieves pages from a swap device on demand when a process references the pages. This memory

management policy is called paging.



swapping:one several pages

Under heavy loads, an entire process might be transferred to a swap device.

Aprocess called the swapper manages the transfer of pages between physical

memory and a swap device. This memory management policy is called

What's the difference between paging and swaping?

Swapping and paging are not precisely the same

thing. A swap or a page fault occurs when a

chunk of data is required but that chunk is not

in memory. The chunk of data is then retrieved

from swap space on disk and exchanged with

something else if there is not enough space in

RAM. Thus the information is swapped between

RAM and a swap file on disk.