Skip to content

Proposal: add Core Scheduling support #1113

@kailun-qin

Description

@kailun-qin

Linux 5.14 adds the support for Core Scheduling.

Core scheduling support allows userspace to define groups of tasks that can share a core. These groups can be specified either for security usecases (one group of tasks don’t trust another), or for performance usecases (some workloads may benefit from running on the same core as they don’t need the same hardware resources of the shared core, or may prefer different cores if they do share hardware resource needs). This is achieved by setting and copying core scheduling task cookies between the threads (PID), processes (TGID), and process groups (PGID). See the kernel doc for further details.

This would be useful for all containers within a pod. Also, it is particularly helpful for multi-tenant environments.

runc requirement: opencontainers/runc#3061.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions