Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ALL PARTS WORK TOGETHER. I will not accept answers that dont have a 1,2, and 3. 1: Consider the Intrinsity FastMATH TLB and cache implementation.

ALL PARTS WORK TOGETHER.

I will not accept answers that dont have a 1,2, and 3.

1: Consider the Intrinsity FastMATH TLB and cache implementation. The original design uses a 32 bit virtual memory address and a 32 bit physical memory address. Using a 4096 bytes (4 Kib) page size, each physical page number consists of 20 bits. Now assume that physical disk addresses are small enough to fit in the same number of bits as a physical memory address (e.g. for this problem it's 32 bits). How many bits would it take to implement a full page table for this virtual memory scheme? Include valid bits, dirty bits, reference bits, and the space for physical/disk addresses in your calculation. For simplicity, assume that every virtual page number needs a corresponding page table entry (PTE).

2: Now suppose the Intrinsity Fast Math processor is redesigned using an 8 KiB page size. Assume that physical disk addresses are small enough to fit in the same number of bits as a physical memory address. Assuming each virtual page number needs a corresponding PTE, how many bits would it take to implement a full page table for this virtual memory scheme?

3: Using C or C++, implement a program that will automatically perform the calculations which you had to manually compute in order to solve questions 1 and 2. You may still assume that disk addresses require the same number of bits as physical memory addresses. Your program will print the number of bits that would be required to implement the full page table.

You must accept several arguments on the command line (in this exact order):

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

What is the relation of physical mathematics with examples?

Answered: 1 week ago

Question

What are oxidation and reduction reactions? Explain with examples

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago