[RFE]Add weight to l3 agent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
[Existing problem]
Currently, neutron will treat all l3 agent as the same. The default LeastRoutersSch
[Proposal]
Add a configuration to l3_agent.ini to represent the weight of l3 agent. Admins/Operators can set higher weight to the l3 agent with higher performance. The l3 agent with higher weight will have higher chance to be selected by the L3Scheduler.
A simple algorithm of weight is to be linear correlation with performance of hosts. And Admins/Operators will need to estimate the performance of hosts. For example, performance of host A is 10 times than host B. Admins/Operators then set weight of l3 agent in host A to 10, and l3 agent in host B to 1. L3Scheduler will calculate load of l3 agents with such comparison:
X/10 ~ Y/1(X=routers in l3 agent A; Y=routers in l3 agent B)
[Benefits]
Neutron can provide a better scheduling by leveraging the difference of performance of l3 agents' hosts
[What is the enhancement?]
Configuration file changes.
Code change in the L3 scheduler.
tags: | added: rfe |
Changed in neutron: | |
assignee: | nobody → Hong Hui Xiao (xiaohhui) |
summary: |
- [REF]Add weight to l3 agent + [RFE]Add weight to l3 agent |
Changed in neutron: | |
status: | Confirmed → Incomplete |
Changed in neutron: | |
status: | Incomplete → New |
This sounds to me like priority scheduling, but what's unclear is the fairness of the algorithm. Please provide more details.