top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the requirements for a swapper to work?

0 votes
187 views
What are the requirements for a swapper to work?
posted Jan 12, 2016 by Sathaybama

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

The swapper works on the highest scheduling priority. Firstly it will look for any sleeping process, if not found then it will look for the ready-to-run process for swapping. But the major requirement for the swapper to work the ready-to-run process must be core-resident for at least 2 seconds before swapping out. And for swapping in the process must have been resided in the swap device for at least 2 seconds. If the requirement is not satisfied then the swapper will go into the wait state on that event and it is awaken once in a second by the Kernel.

answer Jan 12, 2016 by Shivaranjini
...