System call to obtain page fault statistics
₹600-1500 INR
Pago na entrega
PART A:
Develop a system call called pgfltstat() to obtain the page fault statistics for individual processes, group of processes and all the processed in the system.
The system call pgfltstat() takes pid and val as parameter to distinguish he class of processes. The val can be numbers like 1,2,3.. based on these values, pid takes id of processes for single, group or multiple processes. The pgfltstat() should contain a structure to return the following 3 values.
1) Total No of processes.
2) Major page fault.
3) minor page fault.
Therefore the function prototype is: int pgfltstat(int val, pid_t_pid, pf_info_struct * info)
Develop logic for above mentioned sys call and provide a flow chart for the same.
PART B:
1) Write a user space program which periodically calls the developed system call. This program is used to determine the variation in page fault rate to analyze system performance.
2) Develop a file based application for reading and writing data to a buffer and include it as part of process being used for page fault monitoring.
3) Repeat 1 and 2 with different input parameter values such as single processed, set of processes and all processes.
4) Tabulate and plot fault rate versus number of page frames for single, group and all processes.
ID do Projeto: #8418265
Sobre o projeto
3 freelancers estão ofertando em média ₹3833 nesse trabalho
I accept your project and will gladly deliver it in time, but I need further information, kindly send me your documentation or a previous version of the project. regards.