Zexi Li
3f794b8ff5
optimized(scheduler): reduce scheduling time ( #22004 )
2025-02-05 10:25:05 +08:00
Zexi Li
da3eb1c0cc
Automated cherry pick of #15120 : optimize(scheduler): global cache for schedtag ( #15124 )
...
* optimize(scheduler): global cache for schedtag
* feat(scheduler): informer of schedtag
2022-10-08 20:49:49 +08:00
Zexi Li
cbee060b46
fix(scheduler): testing failed ( #14944 )
2022-09-07 13:58:54 +08:00
Zexi Li
0ddf85a4bb
fix(scheduler): fill storage and network results
2022-09-05 22:04:33 +08:00
Qiu Jian
282cbb1624
fix: scheduler options not updated by OptionManager
2022-06-17 23:26:14 +08:00
rainzm
a31d408421
fix(scheduler): consider perfer and avoid score when sorting HostPriorityList
2021-12-03 15:01:16 +08:00
rainzm
47d26c0cb0
fix(scheduler): correct sorting for HostPriorityList
2021-12-02 21:04:24 +08:00
Zexi Li
22e2896afc
fix(scheduler): cpu arch match
2021-09-22 11:14:06 +08:00
Zexi Li
49749609b4
fix(region,scheduler): baremetal reuse ip
2021-06-18 15:45:50 +08:00
Zexi Li
bdd112e80b
fix(scheduler): storage predicate add actualCapacity filter
2020-12-19 19:56:26 +08:00
Zexi Li
0ed41b09e1
scheduler: forecast api with candidates result
2020-11-04 21:10:07 +08:00
Zexi Li
cc32bb39ef
feature: support cloudprovider, cloudregion and zone schedtag
2020-10-30 10:58:34 +08:00
rainzm
9d18b94ad6
refactor(scheduler): make forcast result clearer
...
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:27:31 +08:00
rainzm
0bd84dd4b0
feat: Add method 'Sku' to CandidatePropertyGetter
2020-09-07 16:14:28 +08:00
rainzm
4b4875cd70
feat: Add IResultHelper
...
1. Adjust the package structure about pkg/scheduler/core and
pkg/scheduler/manager
2. Add IResultHelper
3. Change the signature of genericScheduler.Schedule
func (*Unit, []Candidater) (*SchedResultItemList, error) ==>
func (*Unit, []Candidater, IResultHelper) (*ScheduleResult, error)
2020-09-07 16:13:20 +08:00
Qiu Jian
b8238d2059
fix: scheduler aware policy
2020-09-04 10:36:21 +08:00
wanyaoqi
75cd041d79
baremetal colloct isolated devices info ( #7357 )
2020-08-28 12:10:34 +08:00
rainzm
ed4847dffc
opt(scheduler): better sort for hosts when selectHost
2020-08-01 17:28:22 +08:00
rainzm
fa0450b454
feat(scheduler): Change the action for guests with backup and instanceGroup
...
1. 对于主机组的打散功能,放在调度的最后单独处理。
2. 主备机的调度,通过在主机和备机之间设置一个粒度为1的主机组来实现。
3. 虚拟机的调度默认打散,在打散的基础上,选择容量大的宿主机。
3. 主备机中,主机和备机的默认打散流程分散开,互不影响。
2020-07-21 20:29:47 +08:00
Zexi Li
d8d6e8c5b5
scheduler: fix memory over committed
2020-06-16 18:51:13 +08:00
Zexi Li
db65bf4ef0
scheduler: fix min counter get count not correct
2020-05-15 15:04:38 +08:00
Qiu Jian
a687d49181
fix: add scheduler support
2020-03-27 01:20:30 +08:00
Zexi Li
4f3d7c2c32
scheduler: fix disk allocated not balanced
2020-03-14 16:39:26 +08:00
yunion-ci-robot
a1526d07de
Merge pull request #4901 from wanyaoqi/feature/wyq/sync-on-slave-start
...
backup guest fix
2020-01-19 15:43:12 +08:00
wanyaoqi
c0e2019acd
backup guest fix
2020-01-19 10:46:24 +08:00
Yousong Zhou
7c29b06669
scheduler: network_predicate: allow onecloud vpc networks
2020-01-17 17:48:04 +08:00
Yousong Zhou
d17452240b
scheduler: simplify MinCounters
2020-01-17 17:48:04 +08:00
Yousong Zhou
da68e7fccf
scheduler: simplify findCandidatesThatFit()
2020-01-17 17:48:03 +08:00
Qiu Jian
bc7f62a2ad
scheduler schedule according to quota limit
2020-01-03 13:58:04 +08:00
Zexi Li
e8377a8709
baremetal: add cdrom boot schedule
2019-10-23 11:18:27 +08:00
Rain
0c93b0c7d4
Feature: Unforced Group which prioritize scheduling guest to host with
...
enough resources of InstanceGroup and then to host even if this hosts has
no enough resources. Add groups desc in SGuest.ToSchedDesc. The backup
guest also occupies InstanceGroup resources now.
2019-10-17 12:57:43 +08:00
Rain
10991015ef
guest persion
2019-10-09 20:43:35 +08:00
Zexi
9bc81fe94c
scheduler: optimize forecast filter info
2019-07-15 09:15:25 +08:00
yunion-ci-robot
170f010c9a
Merge pull request #1384 from wanyaoqi/feature/wyq/live-migrate-filter-cpu-model
...
feature: live migrate filter cpu model
2019-06-27 16:58:50 +08:00
wanyaoqi
fa370a7c6d
- live migrate filter cpu model
...
- fix list export keys
2019-06-26 13:01:11 +08:00
Zexi
fcf600f6b2
scheduler: add schedule filter interface to guestdriver
2019-06-21 17:09:44 +08:00
Zexi
d17fbaf02c
scheduler: fix prefer avoid score
2019-06-21 13:57:13 +08:00
Zexi
4257263097
scheduler: support sharable candidate
2019-06-12 11:33:01 +08:00
Zexi
bef1848357
scheduler: host filter by cloudprovider domain id
2019-06-10 12:17:56 +08:00
Zexi
64cca04a17
scheduler: add pending usage process
2019-05-29 19:57:44 +08:00
Zexi
d185dfa932
scheduler: fix nets result not select
2019-05-29 15:54:51 +08:00
Zexi
8c3a1460cd
baremetal schedule net bonding check
2019-04-26 00:20:40 +08:00
Zexi
8b1cc4fbee
fix: prepaid recycle host not check storage types
2019-04-24 19:25:50 +08:00
Zexi Li
e01c4e590f
support network schedtag
2019-04-18 09:48:18 +08:00
Zexi Li
eab87ed6df
fix: scheduler forecast backup server not work ( #399 )
2019-04-15 15:17:10 +08:00
Zexi Li
2393df6bda
fix: scheduler schedtag filters execute when candidates specified ( #277 )
2019-04-08 22:24:34 +08:00
Qiu Jian
004d9b6f95
update copyright headers of all source
2019-03-29 14:47:48 +08:00
Zexi Li
6df6880501
define scheduler apis output and input structs
2019-03-20 12:03:29 +08:00
Zexi Li
19c341c297
scheduler: use compute models
2019-03-20 12:03:29 +08:00
Yousong Zhou
4c82dae39b
Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-goimports-270
2019-03-13 13:33:51 +00:00