Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Cynosure-EPR

  • 2 years ago

How do I figure out how many pages of each page size exist? Page size: 512, 1024, 2048 (words) Number of frames allocated to the process: 4, 8, 12 There is a list of 3001 memory addresses that need to happen, but I can't really start until I figure out how many total page numbers exist.

  • This Question is Closed
  1. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    i thot page size is fixed for a system.....is it not?

  2. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    and wat do u mean by 3001? the memory size is 3001?

  3. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    yeah it's like the range of those addresses...........so i think u can get a lower bound on the size of memory

  4. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    and u got to repeat this thing with each page size............. so consider the 512 size case....

  5. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    um i wonder if u need the total number of pages.............like say the max mem address is round 90000 and memory size occurs in powers of two(generally....well u can allot any size to a vm) and say u fix the size of page to be 512..........so the number of pages depends on the size of memory u give and if u want a page fault sitaution i think u should give a memory less than that like 90000 so there should some swaps and stuff........so it depends on the memory u give to this virtual machine?

  6. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    no i meant some thing like faar less than the range of the memory addresses............u want to observe the demand paging concept r8..........so if u give enough memory there would be no page fault? so..........so no virtualisation?

  7. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    i was thinking something like there are 24 frames in total........so like if memory size is like 24*512*sizeof(word).......there would be no page fault? so smthin like 60-70% of that size? that's wat i was thinking.....and i dont might do if u are not allowed to make up the amount of memory

  8. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    *dont kno wat u might

  9. Cynosure-EPR
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    I see what you're saying but I'm pretty sure it's not allowed. However, there are only 4 frames for one problem, 8 for the next, and 12 for the next. So, with the entire range of memory from that list of memory locations you would have enough memory but the frames would be allocated so you can't use it all which would give us page faults. I think that's the correct solution.

  10. A.Avinash_Goutham
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    ok may be.......... i think u shud check it out.........

  11. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.