in Operating System retagged by
3,365 views
0 votes
0 votes

Decreasing the RAM causes

  1. fewer page faults
  2. more page faults
  3. virtual memory gets increased
  4. virtual memory gets decreased
in Operating System retagged by
by
3.4k views

2 Answers

1 vote
1 vote

Decreasing RAM causes more page faults

By having less RAM, you will typically force the system to use more virtual memory on the HDD. This results in the CPU having to do a bit more work e.g. moving data between RAM and HDD and tweaking page tables, particularly when there is a context switch. Therefore, there is less CPU time available to the applications and more time for paging.

We can also think as solutions of thrashing i.e. decreasing degree of multiprogramming and increasing main memory (RAM) size.

1 vote
1 vote
A page fault is a type of exception raised by computer hardware when a running program accesses a memory page that is not currently mapped by the memory management unit (MMU) into the virtual address space of a process.
When handling a page fault, the operating system generally tries to make the required page accessible at the location in physical memory, or terminates the program in case of an illegal memory access.
So, Decrease the physical RAM on your machine could result in more page faults
Answer:

Related questions