[one-users] Help need understanding the scheduler

Shi Jin jinzishuai at gmail.com
Fri Oct 30 22:09:54 PDT 2009


Hi there,

I am using the default scheduler coming with OpenNebula. According the
documentation at
http://www.opennebula.org/doku.php?id=documentation:rel1.4:template,
I assume the VM are scheduled according to their priority if no
REQUIREMENT is present. Is this correct?

However, this is part of my sched.log:
Fri Oct 30 22:44:36 2009 [HOST][D]: Discovered Hosts (enabled): 0 1 2
Fri Oct 30 22:44:36 2009 [VM][D]: Pending virtual machines : 138
Fri Oct 30 22:44:36 2009 [SCHED][I]: Select hosts
        PRI     HID     HSID
        -------------------
Virtual Machine: 138
        0.983083        1
        1       2
        0.946115        0


Fri Oct 30 22:44:36 2009 [SCHED][I]: Dispatching virtual machine 138 to HID: 1

I am not sure what HID and HSID are but i guess the table lists
priority and host id. The above case chosen a host with neither the
highest nor the lower priority number. Is this normal? In my opinion,
it should have chosen host with HID 2. Maybe I didn't completely
understand the whole scheduler. Could you please explain a little bit?
Thanks a lot.
-- 
Shi Jin, Ph.D.



More information about the Users mailing list