Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Colocate tasks #402

Merged
20 commits merged into from
Jan 6, 2021
Merged

Colocate tasks #402

20 commits merged into from
Jan 6, 2021

Conversation

bmc-msft
Copy link
Contributor

Enables co-locating multiple tasks in a given work-set.

Tasks are bucketed by the following:

  • OS
  • job id
  • setup container
  • VM SKU & image (used in pre-1.0 style tasks)
  • pool name (used in 1.0+ style tasks)
  • if the task needs rebooting after the task setup script executes.

Additionally, a task will end up in a unique bucket if any of the following are true:

  • The task is set to run on more than one VM
  • The task is missing the task.config.colocate flag (all tasks created prior to this functionality) or the value is False

This updates the libfuzzer template to make use of colocation. Users can specify co-locating all of the tasks or co-locating the secondary tasks.

@bmc-msft
Copy link
Contributor Author

NOTE: This does not attempt to de-dup the containers locally. Data from one task consumed by another continues to be marshalled through the service.

@bmc-msft bmc-msft requested review from chkeita and ranweiler January 4, 2021 19:44
@ghost
Copy link

ghost commented Jan 6, 2021

Hello @bmc-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit c1a50f6 into microsoft:main Jan 6, 2021
@bmc-msft bmc-msft deleted the colocate-tasks branch January 20, 2021 11:12
@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants