Commit Graph
28 Commits
Author SHA1 Message Date
wanyaoqi 44ed13473a feat(region,host,host-deployer): support set uefi boot order (#22560) 2025-05-30 10:31:03 +08:00
wanyaoqi 166698bdd2 feat(host): cgroupv2 support (#22314) 2025-03-28 16:13:05 +08:00
wanyaoqi 84ecb2ec49 fix(region,host,scheduler): isolated device balance with to reserve cpus (#21614) 2024-11-17 22:45:59 +08:00
wanyaoqi e87a0b6cc3 feat(region,host): guest numa allocate (#19498) 2024-02-18 19:35:23 +08:00
wanyaoqi 7324d99748 fix(host): check subgroup enabled on cgroup init
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-19 17:56:00 +08:00
wanyaoqi 1570b17eb3 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:52:25 +08:00
wanyaoqi d51d7599d2 feat(region,host): refector guests cgroups (#14558)
* feat(region,host): refector guests cgroups

hostagent will create a root group cloudpods.hostagent at init.
guests group under cloudpods.hostagent. Qemu start params add '-S'
option freeze guest at first, after guest set cgroup or other initialize
hostagent will resume guest.

host support reserve cpus. if has reserved cpus, hostagent will create a
group cloudpods.hostagent.reserved, one thing to note is set host
reserved cpus must ensure host no guests running.

climc usage:
  climc host-reserve-cpus --cpus '2-3,32-33' --mems '0-1' \
    --disable-sched-load-balance <IDS>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* hostman: disable cpuset balancer

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-02 18:00:48 +08:00
Qiu Jian 0529327e13 fix: compatible with new io scheduler(bfq/mq-deadline) of new Linux kernel
1. support bfq/mq-deadline multiqueue io scheduler
2. add delay for link setup
2021-07-14 02:18:05 +08:00
Zexi Li e770f4f653 feat(host): aware of kubelet eviction config 2021-07-07 21:27:39 +08:00
wanyaoqi 945fac0a4b fix host error output 2020-09-07 21:06:59 +08:00
wanyaoqi 7bf48c992e - add command executor
- host prepare for deploy on container
- procutils adpat to executor
2019-12-04 20:49:39 +08:00
wanyaoqi 55547d9ca7 host cpuset bugfix 2019-05-14 18:16:09 +08:00
wanyaoqi 0602036b81 - host dhcp srever start after guest manager init
- fix cpuset out of range
2019-05-09 10:34:53 +08:00
Zexi db0e303798 make 'go test ./...' pass 2019-04-15 19:54:46 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
wanyaoqi b67eb79797 fix cpu set 2019-03-15 12:20:30 +08:00
wanyaoqi 44f9b4c818 fix cgroups 2019-03-14 11:57:56 +08:00
Yousong Zhou 8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
wanyaoqi dd7ec6518b gendoc 2019-01-26 11:58:45 +08:00
wanyaoqi 60fe104da2 snapshot recycle, disk recycle, dhcp relay use raw socket 2019-01-25 20:32:44 +08:00
wanyaoqi 8ac044c8c5 fix code 2019-01-24 11:48:12 +08:00
wanyaoqi a230bfa997 temp commit 2019-01-22 11:23:17 +08:00
wanyaoqi 0865d53297 temp 2019-01-18 18:02:00 +08:00
wanyaoqi ae6430bd04 use procutils replace exec 2019-01-17 10:46:53 +08:00
wanyaoqi 6810bd8b50 fix code 2019-01-16 16:02:21 +08:00
wanyaoqi be7f8f1e95 host complie success 2019-01-16 12:09:06 +08:00
wanyaoqi 71856e430e guest migrate snapshot 2019-01-14 16:44:01 +08:00
wanyaoqi 3d2183a7c9 temp 2019-01-10 11:34:54 +08:00