Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin GroupIdentity is not supported by system #2077

Closed
845630340 opened this issue May 31, 2024 · 2 comments
Closed

plugin GroupIdentity is not supported by system #2077

845630340 opened this issue May 31, 2024 · 2 comments
Labels
kind/question Support request or question relating to Koordinator

Comments

@845630340
Copy link

What happened:

Hi~
I followed steps here to try "QoS Management for Out-of-Band Applications on Host".
https://koordinator.sh/docs/user-manuals/host-application-qos

But in the end I could not find the /sys/fs/cgroup/cpu/host-latency-sensitive/nginx/cpu.bvt_warps_ns file.

I find some information about GroupIdentity in koordlet log:

I0531 15:18:59.905356   27198 cgroup_driver.go:225] Node yz2-75-149 use 'cgroupfs' as cgroup driver according to the cgroup name
I0531 15:18:59.905700   27198 kidled_util.go:147] file scan_period_in_seconds is not exist file not exist
W0531 15:19:00.013516   27198 runtimehooks.go:114] new nri mode runtimehooks server error: failed to validate nri server, err: nri socket path "/host-var-run/nri/nri.sock" does not exist
I0531 15:19:00.013561   27198 callback_runner.go:76] states informer callback runtime-hooks-reconciler has registered for type RegisterTypeAllPods
I0531 15:19:00.013569   27198 callback_runner.go:76] states informer callback host-app-reconciler has registered for type RegisterTypeNodeSLOSpec
I0531 15:19:00.013581   27198 runtimehooks.go:163] start register plugins for runtime hook
I0531 15:19:00.013589   27198 runtimehooks.go:169] runtime hook plugin CoreSched enable false
I0531 15:19:00.013608   27198 bvt.go:54] register hook GroupIdentity
I0531 15:19:00.013628   27198 hooks.go:50] hook GroupIdentity is registered
I0531 15:19:00.013675   27198 bvt.go:78] update system supported info to false for plugin GroupIdentity, supported msg file not exist
I0531 15:19:00.013686   27198 rule.go:59] new rule GroupIdentity has registered
I0531 15:19:00.013700   27198 reconciler.go:209] register reconcile function reconcile pod level cpu bvt value finished, info: level=pod, resourceType=cpu.bvt_warp_ns, filter=none, conditions=[]
I0531 15:19:00.013717   27198 reconciler.go:209] register reconcile function reconcile kubeqos level cpu bvt value finished, info: level=kubeqos, resourceType=cpu.bvt_warp_ns, filter=none, conditions=[]
I0531 15:19:00.013725   27198 runtimehooks.go:169] runtime hook plugin GroupIdentity enable true
I0531 15:19:01.520339   27198 interceptor.go:68] plugin GroupIdentity is not supported by system
I0531 15:19:01.522479   27198 host_qos_context.go:74] 
I0531 15:19:01.522484   27198 host_app_reconciler.go:163] calling host reconcile function reconcile host application cpu bvt value for app nginx finished
I0531 15:19:01.522492   27198 cpuset.go:162] get cpuset 0-1 for host application nginx from rule
I0531 15:19:01.522500   27198 host_qos_context.go:90] set host application nginx cpuset 0-1 on cgroup parent host-latency-sensitive/nginx
I0531 15:19:01.522505   27198 host_qos_context.go:74] 
I0531 15:19:01.522516   27198 executor.go:94] successfully cacheable update resource /host-cgroup/cpuset/host-latency-sensitive/nginx/cpuset.cpus to 0-1, isUpdated false
I0531 15:19:01.522523   27198 host_app_reconciler.go:163] calling host reconcile function set host application cpuset for app nginx finished
I0531 15:19:01.520605   27198 cpu_burst.go:208] start cpu burst strategy
I0531 15:19:01.522742   27198 cpu_burst.go:325] share pool usage / share pool total = [0.10970665110704547/2] = [0.054853325553522736],  threshold = [0.5]

What you expected to happen:

$ cat /sys/fs/cgroup/cpu/host-latency-sensitive/nginx/cpu.bvt_warps_ns
$ 2

Environment:

  • Koordinator version: - v1.4.1
  • Kubernetes version (use kubectl version): v1.28.2
  • docker/containerd version: docker 20.10.14
  • OS (e.g: cat /etc/os-release): Red Hat Enterprise Linux Server release 7.9 (Maipo)
  • Kernel (e.g. uname -a): Linux 4.20.12-1.el7.elrepo.x86_64 ✨ Add NodeMetric API #1 SMP Sat Feb 23 09:15:50 EST 2019 x86_64 x86_64 x86_64 GNU/Linux
  • cgroup driver: cgroupfs

Anything else we need to know:

@845630340 845630340 added the kind/question Support request or question relating to Koordinator label May 31, 2024
@saintube
Copy link
Member

saintube commented Jun 3, 2024

@845630340 The Group Identity feature is supported by some Linux distros like Anolis OS, while the RHEL 7 does not support it. In the environment without the Group Identity, you can try the CPUSuppress feature to suppress the BE pods and improve the performance of the colocated LS workloads.

@845630340
Copy link
Author

845630340 commented Jun 3, 2024

Get it! Thanks for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Support request or question relating to Koordinator
Projects
None yet
Development

No branches or pull requests

2 participants