Lecture11 PDF
Lecture11 PDF
Colin Perkins
http://csperkins.org/teaching/2004-2005/gc5/
Lecture Outline
Hardware, software
Local Scheduling
Broker
Resource
Copyright © 2004 University of Glasgow
Resource Selection
Broker
1
Resource
1 Resources advertise status
Copyright © 2004 University of Glasgow
Resource Selection
Broker
3 1
2
Resource
1 Resources advertise status Job
Copyright © 2004 University of Glasgow
Broker
3 1
2
Resource
1 Resources advertise status Job
Copyright © 2004 University of Glasgow
4
2 Solicit resources for job
3 Broker matches job with eligible resource
– Does the job have access to a file system? All or part of it?
• How does constraining access to the file system affect ability to load shared
libraries? (e.g. the jail facility on FreeBSD)
Executing Jobs
• Condor
• OpenPBS
• Sun Grid Engine
• Xgrid
Copyright © 2004 University of Glasgow
Local Scheduling: Condor
• http://www.cs.wisc.edu/condor/
• Network batch queuing system for clusters and cycle-stealing
– Jobs have dispatch priority; facilities for ordered jobs and master-worker
operation
– Scheduling performed using standard workstation scheduler
• Automatically distributes code, data and retrieves results
• Uses ClassAds to match jobs to resources
– Schema-free requirements specification language
• Robustness via checkpoint and recovery
– Requires re-linking against a modified libc
– Generally very robust in practice
Copyright © 2004 University of Glasgow
• OpenPBS http://www.openpbs.org/
• Sun Grid Engine http://gridengine.sunsource.net/
• Xgrid http://www.apple.com/acg/xgrid/
In general:
• Security, authentication, authorisation and accounting neglected
Copyright © 2004 University of Glasgow
Hardware, software
Grid Scheduling
Planner Capabilities
and policies
Resource
Job
Copyright © 2004 University of Glasgow
The Need For Middleware