1 网络化无人作战系统“多层云架构”设计
2 “多层云架构”资源配置模型
2.1 “多层云架构”数据中心模型
2.2 “多层云架构”资源实体属性
2.3 “多层云架构”资源数学模型
2.4 “多层云架构”任务分析及资源分配模型
2.4.1 任务类型分析
2.4.2 资源分配模型
3 基于负载均衡的跨云层任务分配方法
表1 寻找放置任务的最优虚拟机算法(FDA) |
| Algorithm Finding the DeployableVM based on AP(FDA) |
|---|
| Input: AP(R, AR), globalAvailableVMList and gloableUsedVMList Ensure: deployableVM to deploy the request 1: deployableVM =Ø 2: if size(usedVMList) == size(availableVMList) then 3: clear usedVMList 4: end if 5: while VM in AP(R, AR) do 6: if VM not in usedVMList then 7: add VM to usedVMList 8: deployableVM = VM 9: break 10: end if 11: end while 12: return deployableVM |
表2 AR型任务抢占资源分配算法(ATSA) |
| Algorithm AR TaskScheduling Algorithm(ATSA) |
|---|
| Input: the AR task, different clouds, ETM matrix Ensure: VMj to take the AR task ni 1: get the appropriate best-effort tasklist P and the VMs executing them from each cloud schedu-ler 2: send task check requests of ni to all other schedulers 3: receive the earliest resource available time responses from all other schedulers 4: find the VMj giving the least EFT of ni among the VMs executing tasklist P, assuming no other task preempts ni 5: pause and save the task excuting in VMj 6: return VMj |
4 仿真分析
4.1 实验环境
表3 仿真实验环境 |
| 实验环境 | 参数 |
|---|---|
| 操作系统 | Windows 7 旗舰版 |
| 处理器 | Intel(R) Core(TM) i3-2100 CPU @3.10GHZ |
| 安装内存 | 2.00GB |
| 系统类型 | 32位操作系统 |
| Java版本 | 1.8.0-45 |
| Eclipse版本 | 4.4.2 |
| CloudSim版本 | 3.0.2 |
4.2 实验参数设置
表4 物理机性能参数取值范围 |
| 参数 | 最小值 | 最大值 |
|---|---|---|
| CPU核数 | 8 | 16 |
| CPU主频数/Mips | 5000 | 10000 |
| 内存大小/MB | 8*1024 | 16*1024 |
| 硬盘大小/MB | 400*1024 | 800*1024 |
| 网络带宽/(MB/s) | 8*1024 | 16*1024 |
表5 数据中心组成结构 |
| Datacenter0 | Datacenter1 | Datacenter3 | |
|---|---|---|---|
| 计算型物理机数 | 3 | 2 | 1 |
| 存储型物理机数 | 2 | 2 | 1 |
| 通信型物理机数 | 2 | 1 | 1 |
| 合计 | 7 | 5 | 3 |
表6 虚拟机性能参数取值范围 |
| 参数 | 最小值 | 最大值 |
|---|---|---|
| CPU核数 | 1 | 2 |
| CPU主频数/Mips | 625 | 1250 |
| 内存大小/MB | 1024 | 2*1024 |
| 硬盘大小/MB | 50*1024 | 100*1024 |
| 网络带宽/(MB/s) | 1024 | 2*1024 |
表7 服务请求主要参数 |
| 参数 | 最小值 | 最大值 |
|---|---|---|
| CPU核数 | 1 | 2 |
| CPU主频数/Mips | 625 | 1250 |
| 内存大小/MB | 1024 | 2*1024 |
| 硬盘大小/MB | 50*1024 | 100*1024 |
| 网络带宽/(MB/s) | 1024 | 2*1024 |
中国指挥与控制学会会刊 