Skip to content

[Tech Request]: support dynamic hardware resources reflection #16537

Closed

Description

@aylei

Is there an existing issue for the same tech request?

  • I have checked the existing issues.

Does this tech request not affect user experience?

  • This tech request doesn't affect user experience.

What would you like to be added ?

Support dynamic hardware resources reflection in MO, the hardware resources MO reported to HAKeeper should be refreshed when the underlying allocated resources changed.

Why is this needed ?

Currently, MO discover the allocated hardware resources only once. In dynamic environments where the resource of MO is not consistent (e.g. tune cpu/memory limit via cgroup dynamically), the discovered value would be stale.

Additional information

No response

Activity

  1. added
    kind/tech-request
    on May 31, 2024
  2. self-assigned this
    on May 31, 2024
  3. modified the milestones: 1.3.0-Backlog, 1.3.0 on May 31, 2024
  4. assigned and unassigned on Jun 5, 2024
  5. xzxiong commented on Sep 3, 2024

    @xzxiong
    Contributor

    change:

    1. mo 计算当前cn 的 cgroup配置,并通过 hakeeper 推送给所有的cn, reload the cpu/mem setting if cgroup config changed. #18167
    2. 基于query_service 提供 rpc 接口对 go runtime 参数 GOMAXPROCS 和 GOMEMLIMIT 进行修改 QueryService add rpc api GOMAXPROCS and FileServiceCache #18330
      • 接口 GoMaxProcs
      • 接口 GoMemLimit
  6. modified the milestones: 2.0.0, 2.0.1 on Nov 4, 2024
  7. TangxingZhou commented on Nov 13, 2024

    @TangxingZhou

    验证通过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions