托管数据中心的利润最大化
1. 力导向资源分配算法
力导向资源分配算法的主要目的是在托管数据中心中实现资源的最优分配,从而最大化总利润。以下是该算法的伪代码:
Algorithm 13.1 Force directed resource assignment ()
// Find an initial solution
mi = metric for ranking clients;
For (index = 1:number of clients){
i = argmax (Mi);
nt
i = metric for ranking tiers in client i;
For (temp = 1 to |Ti|){
t = argmax (Nt);
Initial Assingmnent (i);
Update resource availability;
}
Remove client I from mi;
}
// Update resource shares
For i = 1 to num servers{
(Mt
ij) = Adjust ResourceShares(αt
ij);
}
// Force-Directed Search
Resource Consolidate ();
P = total profit;
该算法主要分为三个步骤:
1. 寻找初始解 :通过贪婪技术对客户端和应用层进行排序,依次为客户
超级会员免费看
订阅专栏 解锁全文
1477

被折叠的 条评论
为什么被折叠?



