Engine (SGE)
What is SGE?
Sun Grid Engine (SGE) is an open
source community effort to facilitate the
adoption of distributed computing
solutions. Sponsored by Sun
Microsystems
Features :
SGE Components
Host type
Master Host
Control all jobs
Run at frontend node
Execution Host
Host that compute the job(s)
Run at compute node
Submit Host
Where user log-in and submit their job
In ROCKS, frontend is also Submit Host
Administrative Host
Where admin log-in and do administrative task over SGE
Also frontend in ROCKS.
6
SGE Components
SGE Software Components
sge_commd - Communication daemon. Centralizing
all communication. Run on all nodes
sge_qmaster - Entry point for all command (qsub,
qstat, etc). Run at Master Host (frontend)
sge_execd - Execution daemon. Run only on remote
computing resource. Run at Execution Host (compute
node)
SGE Utility (qsub, qdel, qstat, etc) - Utility
command for user job submission and statistics.
Install on Submit Host and Administrative Host only.
7
SGE Components
Queue
A container for a class of jobs allowed to
execute on a host concurrently
A queue determines jobs types
10
11
Job statistics
Now create another job script called
simplejob2 with the following content
#!/bin/sh
date
echo sleep 10000 seconds
sleep 1000
12
14
Job deletion
Use qstat to see the job id of
simplejob2
15
16
17
20
22
24
25
26
Job suspension
You can suspend the job state at any time
Suspend queued job stop that job from being
launched
28
Running qmon
X-Windows is required by qmon for
providing GUI
Start X-Windows by startx
Start the qmon by qmon
31
32
33
Queue Control
Only one compute node usually consists
of one queue but you can add more
queues or remove existing queues
Slot management
Slot is the capacity of a queue that can handle
concurrent jobs
May provide Number of slot of a queue =
Number of processor of the compute node
34
35
36
37
38
The End