Files related to my CS self study
Table size will decrease as page size increase. But the problem with larger page would be internal fragmentation in the pages.
./paging-linear-translate.py -P 1k -a 16k -p 32k -v -u 0
All the addresses are invalid as none of the pages are allocated
./paging-linear-translate.py -P 1k -a 16k -p 32k -v -u 25
Page size is 1k, log(1k) = 10
bits are required to describe every address. Address space size is 16k. There can be 16 pages in total, so log(16) = 4
more bits are required to describe a page number.
0b10011 1111000110
-> 20422The first one is unrealistically small.
The program doesn’t work when: