1823182 Members
3457 Online
109647 Solutions
New Discussion юеВ

swapper and sched daemon

 
Amit Dixit_2
Regular Advisor

swapper and sched daemon

HI,
Can anyone explain the what does the swapper
daemon do and what is sched daemon for ?

And In solaris doeas the sched daemon always
has the PID 0, why swapper is is having PID
0 on HP-UX is it a constant ?

Thanks,
Amit
5 REPLIES 5
Jose Mosquera
Honored Contributor

Re: swapper and sched daemon

Hi,

Pls check attachment.

Rgds.
David Child_1
Honored Contributor

Re: swapper and sched daemon


From HP documentation:

"Two computational elements maintain page availability:
├В┬╖ Paging thresholds trigger the gamut of paging events.
├В┬╖ The vhand and sched daemons (system processes) handle the actual paging and deactivation.

vhand monitors free pages to keep their number above a threshold and ensure sufficient memory for demand paging. vhand governs the overall state of the paging system. sched becomes operative when the number of pages available in memory diminishes below a certain level. vhand and sched will be described in the context of their work shortly.
NOTE: The sched process is known colloquially as the swapper
Steven E. Protter
Exalted Contributor

Re: swapper and sched daemon

Interesting thread on the topic.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=206881

An old document that probably explains how a PID can be zero.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5965-4642/5965-4642_top.html&con=/hpux/onlinedocs/5965-4642/00/00/5-con.html&toc=/hpux/onlinedocs/5965-4642/00/00/5-toc.html&searchterms=sched%7cswapper&queryid=20040927-102132

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Amit Dixit_2
Regular Advisor

Re: swapper and sched daemon

Hi,
Can anyone explain which daemon on HP and
on solaris takes care of process
monitoring

i.e. which process should utilize CPU and
when ?
can anyone tell the name of the daemon for
both the O.S.
Jose Mosquera
Honored Contributor

Re: swapper and sched daemon

Hi again,

Take a look here:
http://www.unixguide.net/cgi-bin/unixguide.cgi

Rgds.