99
Landing in the Right Nest: New Negotiation Features for Enterprise Environments Jason Stowe

Landing in the Right Nest: New Negotiation Features for Enterprise Environments

  • Upload
    orde

  • View
    22

  • Download
    0

Embed Size (px)

DESCRIPTION

Landing in the Right Nest: New Negotiation Features for Enterprise Environments. Jason Stowe. New Features for Negotiation. Experience in Enterprise Environments. What is an Enterprise Environment?. Any Organization Using Condor with. Demanding Users. Demanding Users. - PowerPoint PPT Presentation

Citation preview

Page 1: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Landing in the Right Nest:New Negotiation Features for Enterprise Environments

Jason Stowe

Page 2: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

New Features for Negotiation

Page 3: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Experience in Enterprise Environments

Page 4: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

What is an Enterprise Environment?

Page 5: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Any Organization Using Condor with

Page 6: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Demanding Users

Page 7: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Demanding Users

Page 8: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Organization = Groups of Demanding Users

Page 9: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Purchased Computer Capacity

Page 10: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Guaranteed

Minimum Capacity

Page 11: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Need As Many as Possible

Page 12: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

As Soon as they submit

Page 13: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Vanilla/Java Universe

Page 14: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Avoid Preemption

Page 15: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

How do we ensure Resources land in the right Group’s Nest?

Page 16: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A valid definition ofEnterprise Condor Users?

Page 17: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

I started off as a Demanding User

Page 18: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Follow up to earlier work

Page 20: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Condor for Movies:75+ Million Jobs

1000+ CPUs (Linux/OSX)70+ TB storage

Page 21: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

(Project that added AccountingGroups)

Page 23: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Web-based Management Tools, Consulting, and 24/7 Support

Page 24: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A Conversation with Miron

Page 25: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Bob Nordlund’s idea for Condor += Hooks

Page 26: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Configuration with Pipes

CONDOR_CONFIG = cat /opt/condor/condor_config |

(Condor 6.8)

Page 27: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Demanding Condor Uses for Banks/Insurance Companies => This year, new features

Page 28: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Negotiation Policies to ManageNumber of Resources

Page 29: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

For Groups and Users

Page 30: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

What are the Requirements?

Page 31: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

-Guaranteed Minimum Quota-Fast Claiming of Quota-Avoid Unnecessary Preemption

Page 32: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Three Common Ways

Page 33: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

“Fair share” User PriorityPREEMPTION_REQUIREMENTS

Page 34: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Machine RANK

Page 35: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

AccountingGroups GROUP_QUOTA

Page 36: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Generally these are a progression

Page 37: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Story of a Pool

Page 38: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

100 Machines

A = 100

Page 39: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Fair-Share, User Priority

Page 40: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

It Works! More Users…

Page 41: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

100 Machines

A = 50 B = 50

Page 42: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

condor_userprio –setfactor A 2 condor_userprio –setfactor B 2

Page 43: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

PREEMPTION_REQUIREMENTS = RemoteUserPrio > SubmittorPrio

Page 44: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Works Well in Most cases

Page 45: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Suppose A has all 100 machines, and B submits 100 jobs

Page 46: Landing in the Right Nest: New Negotiation Features for Enterprise Environments
Page 47: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

User Priorities Cached at Beginning of Negotiation

And not updated…

Page 48: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

PREEMPTION_REQUIREMENTS = RemoteUserPrio > SubmittorPrio

Page 49: Landing in the Right Nest: New Negotiation Features for Enterprise Environments
Page 50: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Standard Universe = No Problem (Preemption doesn’t lose work)

Page 51: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Problem: Vanilla or Java Universe (Work is lost!)

Page 52: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Dampen these with NEGOTIATOR_MAX_TIME_PER_SUBMITTER

NEGOTIATOR_MAX_TIME_PER_PIESPIN

Page 53: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Slows matching rate,can lead to starvation

Page 54: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Time For RANK

Page 55: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

RANK = Owner =?= “A” on 50 Machines RANK = Owner =?= “B” on 50 Machines

Page 56: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Users get their “quota”

Page 57: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Tied to particular machines

Page 58: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

50 Machines

A = 50 B = 50

50 Machines

Page 59: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Problem: Group A submits 100 jobs on Empty Pool

Page 60: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A = 50 B = 50

A A

Page 61: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

50 jobs Finish

Page 62: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A = 50 B = 50

A A

Empty Empty

Page 63: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Group B submits 100 jobs,Empty Machines get jobs

A Jobs on B Machines are preempted

Page 64: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A = 50 B = 50

A

B

B

Page 65: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

B Jobs on A Machines are preempted.

Page 66: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A = 50 B = 50

A B

Page 67: Landing in the Right Nest: New Negotiation Features for Enterprise Environments
Page 68: Landing in the Right Nest: New Negotiation Features for Enterprise Environments
Page 69: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Skip Preemption, Use Empty Machines?

A = 50 B = 50

A A

Empty Empty

A = 50 B = 50

A A

B B

Page 70: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Accounting Groups, GROUP_QUOTA

Page 71: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

#New Machines = 200GROUP_QUOTA_A = 50GROUP_QUOTA_B = 50 GROUP_QUOTA_C = 50GROUP_QUOTA_D = 50GROUP_AUTOREGROUP = True

Page 72: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

200 Machines

A = 50 B = 50C = 50 D = 50

Page 73: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A, B Have 100 machines each, how does C get resources?

Page 74: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

PREEMPTION_REQUIREMENTS Still has cache/preemption issues

Page 75: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

We Need access to Up to Date Usage/Quota information

PREEMPTION_REQUIREMENTS

Page 76: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

A Conversation with Todd

Page 77: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

SubmitterUserPrio SubmitterUserResourcesInUse

(RemoteUser as well)

Page 78: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

SubmitterGroupQuotaSubmitterGroupResourcesInUse

(RemoteGroup as well)

Page 79: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

With Great Power Comes Great Responsibility

Page 80: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

IMPORTANT: Turn-off Caching (may slow down)PREEMPTION_REQUIREMENTS_STABLE= False

PREEMPTION_RANK_STABLE = False

Page 81: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

PREEMPTION_REQUIREMENTS = (SubmitterGroupResourcesInUse < SubmitterGroupQuota) && (RemoteGroupResourcesInUse > RemoteGroupQuota)

PREEMPTION_REQUIREMENTS_STABLE= False

RANK = 0

Page 82: Landing in the Right Nest: New Negotiation Features for Enterprise Environments
Page 83: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Now we have everything needed!

Page 84: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Demanding Groups of Users

Page 85: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Getting Purchased Compute Capacity (Quota, not tied to machine)

Page 86: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Getting Guaranteed

Minimum Capacity(GROUP_QUOTA)

Page 87: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Getting As Many as Possible

(Auto-Regroup)

Page 88: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Getting As Soon as they submit

(One Negotiation Cycle typically)

Page 89: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Avoids Preemption

A = 50 B = 50

A A

Empty Empty

A = 50 B = 50

A A

B B

Page 90: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

condor_status?

Page 91: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

It Works! (patched 6.8 and 6.9+)Code & Condor Community Process

Page 92: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Where do we go from here?What did we learn?

Page 93: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Wisconsin is Working on 6.9 Negotiation/Scheduling more Efficient

Page 94: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

In the FutureAllow us to Specify what we Account

For per VM/Slot (KFLOPS) ?

Page 95: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

That’s just me…

Page 96: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Come to tonight’s ReceptionParticipate in the Community

Page 97: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Talk with Condor Team.Talk with other users.

Page 98: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Help the community continue to work well for everyone.

Page 99: Landing in the Right Nest: New Negotiation Features for Enterprise Environments

Thank you. Questions?

http://www.cyclecomputing.comjstowe @ cyclecomputing.com