retagged by
3,412 views

2 Answers

1 votes
1 votes

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 votes
1 votes
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

0 votes
0 votes
1 answer
1
Arjun asked Dec 7, 2018
2,089 views
Find the effective access time for the memory for the given data.Page fault service time $=8$ msAverage memory access time $=20$ nsOne page fault is generated for every m...
0 votes
0 votes
1 answer
2
Arjun asked Dec 7, 2018
2,573 views
The process executes the following code and after execution ______ number of child process get createdfork(); fork(); fork(); fork();$4$$1$$15$$16$
0 votes
0 votes
2 answers
3
Arjun asked Dec 7, 2018
1,209 views
In the disk, swap space is used to _______.save XML filessave process datasave driverssave HTML files
0 votes
0 votes
1 answer
4
Arjun asked Dec 7, 2018
973 views
In a system, counting semaphore was initialized to $10$, then $6P$(wait) operations and $4V$ (signal) operations were completed on this semaphore. So _____ is the final v...