Regarding Minimum Migration Time (MMT) VM selection policy

882 views
Skip to first unread message

Scribe Hwang

unread,
Dec 6, 2011, 9:31:10 PM12/6/11
to clou...@googlegroups.com
Hi,

I read this journal paper: Anton Beloglazov, and Rajkumar Buyya, "Optimal Online Deterministic Algorithms and Adaptive Heuristics for Energy and Performance Efficient Dynamic Consolidation of Virtual Machines in Cloud Data Centers", Concurrency and Computation: Practice and Experience, 2011.
I have a question about the VM selection policy "MMT".

MMT is to migrate a VM that requires the minimum time to complete compared to other VMs.
And the time consumed = Memory of VM / Bandwidth of host.

But how can I get the actual memory usage of VM in CloudSim? We didn't run a guest OS actually.
Does your workload data contain memory usage? I just know the workload data simulates a real CPU utilization of a VM.

In a real scenario, I can deploy a VM and monitor its memory usage in VM monitor.
How about the MMT implementation in CloudSim? Do you use random memory usage model or real workload data?

If permitted, could you provide the source code about this section?
---
By the way. The workload data provided by CoMon, PlanetLab, is not free to get anymore.
http://comon.cs.princeton.edu/
Any alternative workload data source suggested?

Best regards,
Scribe Hwang

Anton Beloglazov

unread,
Jan 11, 2012, 7:31:03 PM1/11/12
to clou...@googlegroups.com
Hi Scribe,

Thanks for having a look at the paper. We have just released CloudSim 3.0. This new version includes all the algorithms (including the mentioned MMT policy) and the PlanetLab workload traces used in the paper.

Please let me know if you have any further questions.

Best regards,
Anton

Scribe Hwang

unread,
Feb 20, 2012, 3:55:00 AM2/20/12
to clou...@googlegroups.com
Thank you Anton.
The new version is awesome! It includes many new features you mentioned in that paper.
And the workload data helps many people. Thanks again.

public Vm getVmToMigrate(PowerHost host) {
    List<PowerVm> migratableVms = getMigratableVms(host);
    if (migratableVms.isEmpty()) {
        return null;
    }
    Vm vmToMigrate = null;
    double minMetric = Double.MAX_VALUE;
    for (Vm vm : migratableVms) {
        if (vm.isInMigration()) {
            continue;
        }
        double metric = vm.getRam();
        if (metric < minMetric) {
            minMetric = metric;
            vmToMigrate = vm;
        }
    }
    return vmToMigrate;
}

I took my time studying the MMT algorithm, and I still can't find how did you simulate the RAM usage.
Because MMT actually needs RAM to determine which VM requires less time to move.
I even can't find anything like generating randomized RAM usage or workload data similar to CPU utilization.

Or are you use the VM initialize RAM setting directly?
(ex: 1VM with 2000MIPS CPU and 512MB RAM, you use 512 instead of actual run-time RAM)

Thank you.

Best regards,
Scribe Hwang

Anton Beloglazov

unread,
Feb 20, 2012, 4:00:29 AM2/20/12
to clou...@googlegroups.com
Hi Scribe,

You are right, for this simulations I didn't simulate run-time RAM usage, but just used the amount of RAM initially set as a parameter of a VM.

Best regards,
Anton

Scribe Hwang

unread,
Feb 20, 2012, 4:23:20 AM2/20/12
to clou...@googlegroups.com
Thank you. It helps me a lot!

Best regards,
Scribe Hwang

Student

unread,
Dec 11, 2012, 3:18:51 AM12/11/12
to clou...@googlegroups.com
Hello,

Can you please tell me how to modify the MMT algorithm? I Just cant find the source of it !  I actually need to make some modification on it and see results ! its part of my research !

Can you please briefly explain to me how to try the algorithm? I mean after I modify it, how to run it and test the result in terms of power consumption?! 

Do you think running the ThrMmt.java would be sufficient to obtain results using the MMT algorithm? I mean can I test the MMT modification results by running it on the ThrMmt.java??

Your help is highly appreciated !

chintan kanadia

unread,
Dec 11, 2012, 8:10:42 AM12/11/12
to clou...@googlegroups.com

To modify MMT, u need to modify VM SELECTION POLICY MMT in packages of power cloudsim....

--
 
 
 
Reply all
Reply to author
Forward
0 new messages