Skip to content

[proposal] Support Linux Core Scheduling #1728

Open
@saintube

Description

@saintube

What is your proposal:

Koordinator supports the Linux core scheduling for containers, where containers belonging to different users can be isolated at the SMT level.

container-core-scheduling

Why is this needed:

For the scenarios aimed at security, the Core Scheduling feature is helpful to avoid SCAs (side-channel attacks) on the L1-level or L2-level while the apps of the same user still have chance to leverage SMTs.

Is there a suggested solution, if so, please add it:

  • Phase 1: Provide the fundamental Linux Core Scheduling for the containers.
  • Phase 2: Improve the performance of the Core Scheduling feature.
    • 2.1 Koordlet: Exports more metrics to trace the core sched operations working well.
    • 2.2 Koordlet: After the Anolis kernel fixes the compatibility problem and provides a more stable interface, the koordlet removes the workaround about when the node's CPU QoS policy is migrating from Group Identity to Core Scheduling. (no longer traverse the cgroup trees, add container-level reconcile for GI)
    • 2.3 Koord-scheduler: improves the scheduling scoring according to the density of the cookies.

The work of phase 1 is planned to be released in v1.5.0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions