Closed Bug 1588799 Opened 5 years ago Closed 4 years ago

generic-worker: support headless environments in multiuser engine

Categories

(Taskcluster :: Workers, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED MOVED

People

(Reporter: pmoore, Unassigned)

References

Details

Currently multiuser engine of generic-worker on Windows, macOS and Linux assumes the use of the interactive desktop session, which imposes the following penalties:

  1. It requires gdm3 to be installed and running on linux, which impacts performance, available memory, speed, etc
  2. It prevents us from running multiple workers in parallel (so only one worker process per host machine)
  3. It requires a reboot between each task on all three platforms, which costs time

By providing a headless configuration option to the multiuser engine, we can

  1. remove the need for the simple engine
  2. run multiple workers per host machine, where wanted
  3. reduce the runtime dependencies on Linux (i.e. no desktop, x server, etc)

I would imagine a generic-worker config setting like "headlessTasks": [true|false] with default false, for backwards compatibility. If set to true there would be no reboots, and the task command processes would not be associated to a desktop session.

See Also: → 1583936
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → MOVED
Duplicate of this bug: 1609102
You need to log in before you can comment on or make changes to this bug.