分布式计算中经济调度的时隙选择与协同分配算法解析
1. 引言
在分布式计算环境中,高效的时隙选择与协同分配对于经济调度至关重要。本文将介绍两种时隙搜索算法:基于局部价格的算法(ALP)和基于最大作业价格的算法(AMP),并通过实验对比它们的性能。
2. 时隙搜索算法
2.1 类定义
为了描述时隙和窗口,定义了以下两个类:
public class Slot{
public Resource cpu; //resource on which the slot is allocated
public int cash; // usage cost per time unit
public int start; // start time
public int end; // end time
public int length; // time span
…
}
public class Window {
int id; // window id
public int cash; // total cost
public int start; // start time
public int end; // end time
public int length; // time span
int slotsNumber; // number of r
超级会员免费看
订阅专栏 解锁全文
340

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



