System call to obtain page fault statistics

In Progress Posted Sep 7, 2015 Paid on delivery
In Progress Paid on delivery

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.

C Programming Linux

Project ID: #8418265

About the project

3 proposals Remote project Active Sep 7, 2015

3 freelancers are bidding on average ₹3833 for this job

sachitjani81

A proposal has not yet been provided

₹3333 INR in 1 day
(38 Reviews)
5.1
kinpaa

A proposal has not yet been provided

₹6666 INR in 1 day
(0 Reviews)
0.0
engstrokzesu

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.

₹1500 INR in 10 days
(0 Reviews)
0.0