What is paging?

This explains the paging, slide # 6:

http://www.cs.ucc.ie/~grigoras/CS2506/Lecture_6.pdf

in my lectures, but I can’t let life understand me. I know his way of translating virtual addresses to physical addresses. Thus, the virtual addresses that are on the disks are divided into pieces 2 ^ k. I am really confused after that. Can someone please explain this to me in simple words?

+5
source share
2 answers

Paging is, as you have already noted, a type of virtual memory. To answer the question raised by @John Curtsy: it is distributed separately from virtual memory in general, because there are other types of virtual memory, although paging is now (by far) the most common.

Swap virtual memory is pretty simple: you break up all of your physical memory into blocks of basically equal size (although choosing from two or three sizes is pretty common in practice). Creating blocks of equal size makes them interchangeable.

. . - . . () 4K , 12 . () 32- , 20 .

, . "" . (, ), , Present. ( , ) , , , , , ..

, , CPU . , , . , , 20 12 , , .

, . , , . "Present" . .

, CPU , . , CPU . , , , , . , , , - - , .

, , , : , ( ) ( ). , , . , ( ), . , , , , - , , , .

, - ( ) . , (, 4K 8K) .. , , , , ( ARM, x86, MIPS, SPARC ..).

+11

, , , . I.e, 32- 4- , (2 ^ 32) ^ (2 ^ 4) ( , 32- ).

+2

All Articles