Making up VMs from Many Weak Nodes of Edge Computing

针对边缘计算资源有限及节点频繁变动的问题,提出一种基于图重新分区的负载均衡机制。该机制将高性能物理节点拆分为多个虚拟机,并将若干弱节点组合成单一虚拟机,以实现资源的有效利用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

In last blog we have discuss virtualization and using virtual machine to provide services for users. However, differences between cloud computing and edge computing make it impossible to apply theories of creating VMs and load balance mechanisms of cloud computing to edge computing directly. Firstly, resources of smart edge devices that make up edge computing nodes are relatively small and limited. Besides, due to the physical nodes of fog computing join and quit system frequently, tasks and resource change dynamically.

A graph repartition method is proposed by Song Ningning et al. to solve the above problem of edge computing[1]. The main idea of it is that dividing powerful physical machine into several virtual machine nodes and combining a number of weak physical machine to one virtual machine.

I、Dividing Powerful Physical Machine Nodes to Several VMs

The physical nodes in an edge computing system can be expressed as a non-directed and weight value connected graph Gp={Vp,Ep} , Vp represents a collection of physical nodes in an edge computing system and Ep represents a collection of link between physical nodes.

  1. We assume that resource required by a standard VM in this system is noted as Δ . If resource of a physical machine greater than Δ , then it will be divided into k VMs and a virtual physical node. k can be obtained by using this formula: k=res(Vpi)/Δ , where res(Vpi) means resource of a physical machine Vpi . A virtual physical node is composed by remnant resource that is not enough to make up one VM after removing k VMs from original physical machine.
  2. All virtual physical nodes and original physical nodes that are smaller than Δ are in collection Vp . Initializing Vnew={} and let Enew={} .

II、Combining Weak Physical Nodes to One VM

  1. In the collection Ep , we select the edge e=<u,v> that is biggest link weight value and node u is an element of the collection ofVp and not in the collection Vnew . When there are multiple choices, we choose the biggest one and put v into collection Vnew and put e into collection Enew. Repeat this operation until all nodes in Vp are traversed and form a new collection T={Vnew,Enew} .
  2. Removing some low weighted edges in T to form a forest F={fw} and res(fw)>Δ .
  3. Physical nodes and virtual physical nodes of all the trees in the forest F <script type="math/tex" id="MathJax-Element-8719">F</script> are aggregated to form a virtual machine node.
  4. When physical nodes come in or drop out of the system, the system should repeat this algorithm to obtain a new partition scheme.

The process can be shown in the following picture.

Original Paper: Ningning, Song & Chao, Gong & Xingshuo, An & Qiang, Zhan. (2016). Fog computing dynamic load balancing mechanism based on graph repartitioning. China Communications. 13. 156-164. 10.1109/CC.2016.7445510.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值