Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

How the Swapper works in unix?

7 like 0 dislike
Hello
How the Swapper works in unix?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by DBA-boss (120,990 points)

2 Answers

2 like 0 dislike
 
Best answer
The swapper is the only process that swaps the processes. The Swapper operates only in the Kernel mode and it does not uses System calls instead it uses internal Kernel functions for swapping. It is the archetype of all kernel process.
answered 1 year ago by eagles11 (179,830 points)
0 like 0 dislike
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.
answered 1 year ago by WebMaster-Admin (36,670 points)

Related questions

7 like 0 dislike
1 answer
5 like 0 dislike
1 answer
5 like 0 dislike
1 answer
5 like 0 dislike
1 answer
5 like 0 dislike
3 answers