Docsity

Condor and BOINC: Distributed and Volunteer Computing Systems - Prof. Alan L. Sussman, Study Guides, Projects, Research of Computer Science

Partial preview of the text

Download Condor and BOINC: Distributed and Volunteer Computing Systems - Prof. Alan L. Sussman and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

Condor and BOINC

Distributed and Volunteer Computing Presented by Adam Bazinet

Condor

  • Developed at the University of Wisconsin-Madison
  • Condor is aimed at High Throughput Computing (HTC) on collections of distributively owned resources
  • Mainly used to scavenge idle CPU cycles from workstations

Condor Daemons

  • condor_master - keeps other daemons running
  • condor_startd - advertises a given resource
  • condor_starter - spawns a remote Condor job
  • condor_schedd - local job scheduler
  • condor_shadow - coordinates with submitted job
  • condor_collector - keeps status of Condor pool
  • condor_negotiator - does all matchmaking

Condor Universes

  • Universes are runtime environments for jobs
    • Standard universe
      • Provides checkpointing and remote system calls
  • Application must be re-linked with condor_compile
    • Vanilla universe
      • Instead of with remote system calls, files are accessed with NFS/AFS or explicitly transferred to the executing host
    • Other universes: PVM, MPI, Globus, Java, Scheduler

condor submit file (part 2)

Most often, you'll need to transfer files (be they the program executable, various dependencies, or program input files).

Should_transfer_files = YES

This is a list of the input files to be transferred. It is not necessary to specify the executable here.

Transfer_input_files = file1,joe./my/home/dir/file2,~/file

This directs Condor to return output when the program is finished executing.

WhenToTransferOutput = ON_EXIT

The requirements string identifies the attributes that a host must match in order to execute this job, and it can be very complex.

The examples here restrict job execution to a particular architecture and operating system.

Requirements = Arch == "INTEL" && OpSys == "LINUX" #Requirements = Arch == "PPC" && Arch == "OSX" #Requirements = Arch == "SUN4u" && OpSys == "SOLARIS28"

You can be emailed about the results of a job using the directives below.

Notification = Complete #Notification = Error #Notification = Never Notify_user = [email protected]

This directive is necessary to "end" the submit file and instruct Condor how many copies of the job to submit.

Queue 1

condor_q

...

condor_status

...

condor_status -long

...

Matchmaking (cont’d) Job Requirements Resource Requirements and Capabilities

Condor - A Hunter of Idle Workstations

Michael J. Litzkow, Miron Livny, Matt W. Mutka

Design Goals

  • Condor is designed to serve users executing long running background jobs on idle workstations
  • Job placement should be transparent
  • Job migration should be supported
  • Fair access to cycles is expected
  • The system should be low overhead

The Scheduling Spectrum

  • At one end: a centralized, static coordinator would handle scheduling
  • At the other end: workstations cooperate to conduct a scheduling policy
  • In the middle: Condor!

Checkpointing

  • When a job is interrupted, RU checkpoints it - the state of the program is sent back to submitting machine, and the job may be rescheduled
  • Checkpoints consist of the text, data, bss, and stack program segments, registers, status of open files, outstanding messages to the shadow , and so on...

Checkpointing (cont’d)

  • Adding checkpointing requires re-linking an application with condor_compile , which fattens up the binary a good deal
  • Programs now use much more RAM than they did in the past, so checkpointing in the Condor fashion may be problematic in some cases...