• No results found

Scheduling Algorithms for Dynamic Workload

N/A
N/A
Protected

Academic year: 2021

Share "Scheduling Algorithms for Dynamic Workload"

Copied!
14
0
0

Loading.... (view fulltext now)

Full text

(1)

Managed by

Scheduling Algorithms

for Dynamic Workload

Dalibor Klusáček (MU)

Hana Rudová (MU)

Ranieri Baraglia (CNR - ISTI)

Gabriele Capannini (CNR - ISTI)

(2)

Outline

Motivation & Problem description

Applied techniques

Queue-based

(Backfilling)

Schedule-based

(Dispatching rules & Local Search)

Simulation toolkit

Preliminary results

(3)

The general

job scheduling problem

includes:

Selection of a processing resource for every job

Selection of a job processing order/time for every resource

Driven by different constraints:

Job QoS requirements (e.g. deadline and sw licenses)

Data/time dependencies between jobs

Processing limitation of resources (e.g. sw licences), etc.

Objectives:

To optimize the system throughput maximizing the overall

resource utilization

To guarantee a maximum level of performance required

from applications

(4)

Job Scheduling on Computational Grids

In the past a lot of research effort was devoted to

understand and develop job scheduling algorithms

(e.g. FCFS, Backfilling, Gang scheduling, etc.)

Nowadays many of these algorithms are exploited into

commercial and open source job schedulers

However, none of these scheduler capabilities deal

with an entire wide range of constraints and

requirements (e.g.

job’s deadline

) presented by the

users

(5)

Commercial and Open-source

Cluster Management Software

Examples:

Maui scheduler

Load Lever

Load sharing facility

Portable Batch System

Sun Grid Engine

FCFS, Backfilling, EASY backfilling

FCFS, backfilling, gang scheduling,

external schedulers

FCFS, fair-share, preemptive, backfilling,

service Level Agreements

FCFS, Shortest Job First, user/group

Priorities, fair-share

FCFS, job priorities and fair-share, migration

support.

(6)

Current Problem

Machines

Parallel machines with different number of CPUs

Different machines with different CPU speed

Jobs

Dynamically arriving jobs

With/without deadline

Job require >= 1 CPU

Known job-execution time

Objective function

(7)

Queue-based Algorithms

Queues

Basic methods

Trivial queue-based technique used as a comparison

with advanced techniques

FCFS:

First Come First Serve

EDF:

Earliest Deadline First

Backfilling

Easy Backfilling

(8)

Backfilling

Is an optimization of the FCFS algorithm

Tries to balance the goals of utilization and

maintaining FCFS order.

Requires that each job also specifies its

maximum execution time. While the job at the

head of the queue is waiting, it is possible for

other, smaller jobs, to be scheduled, especially if

they would not delay the start of the job on the

head of the queue.

Several variants of backfilling algorithm were

proposed.

(9)

Algorithms with Global Schedule

Global schedule

Both resource and time assignment considered

Dispatching rules

Used for initial schedule generation

MTEDF:

Minimum Tardiness Earliest Deadline First

Local Search

Local changes in schedule by movement of jobs

(10)

Simulation Toolkit

GridSim-based simulator

Implemented at MU

http://www.fi.muni.cz/~xklusac/gridsim

Centralized scheduler

Our extensions

Simulated scenarios

Static vs. dynamic problems

Sequentional/parallel jobs, chain of jobs

Total tardiness, makespan minimization

Different scheduling techniques

ERD, EDD, MTERD

Tabu search, Hill climbing, Simulated Annealing

(11)

Current Data Sets and Algorithms

1500 jobs

1-16 CPU

30% no-deadline jobs

150 machines

(cca 1500 CPUs)

2-16 CPU, different CPU rates

7 different types of problem with 20 data sets

Arrival time distribution

(high/low frequency)

FCFS, EDF

Easy Backfilling

MTEDF

(12)

Preliminary Results

F

C

F

S

F

C

F

S

F

C

F

S

E

as

y-B

ac

kf

illi

ng

E

as

y-B

ac

kf

illi

ng

E

as

y-B

ac

kf

illi

ng

E

D

F

E

D

F

E

D

F

M

T

E

D

F

M

T

E

D

F

M

T

E

D

F

T

ab

u

S

ea

rc

h

T

ab

u

S

ea

rc

h

T

ab

u

S

ea

rc

h

0

10

20

30

40

50

60

70

80

90

100

Ta-04

Ta-06

Ta-08

Arrival time distribution

Jo

b

s

n

o

t

m

ee

ti

n

g

t

h

e

d

ea

d

li

n

e

(%

)

FCFS

Easy-Backfilling

EDF

MTEDF

Tabu Search

0

5000

10000

15000

20000

25000

30000

35000

40000

45000

50000

Ta-04

Ta-06

Ta-08

Arrival tim e distribution

to

ta

l

sc

h

ed

u

li

n

g

t

im

e

(m

s)

FCFS

Easy-Backfilling

EDF

MTEDF

Tabu Search

(13)

Future Work

Problem extensions

Estimated running time, SW licenses, RAM size

New algorithms

Flexible backfilling

Extension of current algorithms

Improvements in the data representation for global

schedule

More complex reasoning for parallel jobs

(14)

References

Related documents

Using Chi-squared analyses, respondents’ an- swers to how frequently they treated each of the cat- egories of special needs patients were compared with their responses to 1) year

I am a Masters level student at Smith College School for Social Work, and I am conducting a research study to explore how coming out as undocumented and sharing life stories with

She does not provide the extensive introduc- tion to the techniques of canning found in the other guides in this section, nor does she provide the traditional recipes found in

Conclusão: A versão em Português europeu do the Alcohol, Smoking and Substance Involvement Screening Test (‘Tabaco’, ‘Bebidas Alcoólicas’ e ‘ Cannabis ’)

(Counsel for Genworth Life Insurance Company and Genworth Life and Annuity Insurance Company (formerly General Electric Capital Assurance Company, First Colony Life Insurance

Efforts to develop an international governance structure that supports growth of global electronic commerce involves creating a new global structure or regime that emerges

The TCAM-based deep packet inspection algorithm developed in this paper uses a jumping window scheme, which is supported by position-aware sub-patterns and the state transition

An industry configration in which only the large network integrates and excludes (or raises cost of) its downstream rival does not appear as an equilibrium outcome: in the presence of