Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
346 views
in Technique[技术] by (71.8m points)

java - Host how can we execute according to the cloudlets arrival time when there are multiple VMs

If we have 50 cloudlets,10 VMs and one Host how can we execute them according to the cloudlets arrival time, not to the VM orders in the host. note that I using cloudsim simulator

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Cloudlets are scheduled on the base of arrival, not on the base of VMs. 1st cloudlet is bound to the first VM and second to 2nd VM and so on. If you want to bound cloudlet to specific VM use broker.bindCloudletToVm(cloudlet id, vm id) function.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...