Question

In: Computer Science

How does segmentation differ from paging? How does memory management facilitate processor and I/O usage? How...

  1. How does segmentation differ from paging?
  1. How does memory management facilitate processor and I/O usage?
  1. How does page size affect fault rate?

4. Describe the approach where segmentation is combined paging

Solutions

Expert Solution

1. Paging Segmentation

1. In paging, program is divided into fixed or mounted size pages. In segmentation, program is divided into variable size sections.
2. For paging operating system is accountable. For segmentation compiler is accountable.
3. Page size is determined by hardware. Here, the section size is given by the user.
4. It is faster in the comparison of segmentation. Segmentation is slow.
5. Paging could result in internal fragmentation. Segmentation could result in external fragmentation.

2. Due to memory mangaement RAM not only allows your CPU to access files faster, it can also help your processor run more processes at the same time. The more RAM you have, and the faster the RAM cycles in MHz, the more processes your CPU can run. It also helps to achieve faster i/o and reading and writing to files becomes very fast.

3. Since the number of frames is equal to the size of the memory divided by the page size, increasing the page size will proportionately decrease the number of frames.

4. In a combined paging/segmentation system a user address space is broken up into a number of segments at the discretion of the programmer. Each segment is in turn broken up into a number of fixed-size pages which are equal in length to a main memory frame. If a segment is less than a page in length, the segment occupies just one page.


Related Solutions

In a system employing a paging scheme for memory management; wasted space is due to: External...
In a system employing a paging scheme for memory management; wasted space is due to: External fragmentation Internal fragmentation Pages and frames of different specified sizes None of these are reasons for wasted space in a paging scheme The page table for each process maintains: The frame location for each page of the process The page location for each frame of the process The physical memory location of the process None of these are what the page table maintains The...
In common usage, how does the definition of a nerve differ from its physiological definition?
In common usage, how does the definition of a nerve differ from its physiological definition?
How does management in nursing practice differ from management in general?
How does management in nursing practice differ from management in general?
. How does Business Risk Management differ from Individual Risk Management?
. How does Business Risk Management differ from Individual Risk Management?
Define Risk Management. How does Risk Management of a small business differ from that of a...
Define Risk Management. How does Risk Management of a small business differ from that of a large firm?
How does management in nursing practice differ from management in general? What tasks are common to...
How does management in nursing practice differ from management in general? What tasks are common to both leadership and management. What are the major leadership styles? Which style is optimal to use in which situation?
How does management in nursing practice differ from management in general? What tasks are common to...
How does management in nursing practice differ from management in general? What tasks are common to both leadership and management. What are the major leadership styles? Which style is optimal to use in which situation?
How does management in nursing practice differ from management in general? What tasks are common to...
How does management in nursing practice differ from management in general? What tasks are common to both leadership and management. What are the major leadership styles? Which style is optimal to use in which situation
how does a paid for performance scheme o facilitate a more efficient allocation of resources (effort)...
how does a paid for performance scheme o facilitate a more efficient allocation of resources (effort) on the part of the employees (agents) within the firm? I’m not necessarily talking about the agency problems here … just how P4P could be better than some mandated policies and procedures imposed by a manager.
1) How does a bailment differ from a gift? 2) How does a bailment differ from...
1) How does a bailment differ from a gift? 2) How does a bailment differ from a lease? 3) Give an example of a bailment that is not a contract. Give an example of a bailment that is a contract.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT