Changeset 665


Ignore:
Timestamp:
Jun 29, 2008, 12:50:32 AM (16 years ago)
Author:
price
Message:

remote-create: document load-balancing algorithm

We take the host with more RAM free.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-remote-server/files/usr/sbin/sipb-xen-remote-create

    r664 r665  
    33Picks a host to "create" (boot) a VM on, and does so.
    44
    5 For now, a very dumb algorithm for which host to boot on:
    6 the one with fewer machines running.
    7 
    8 TODO: load-balance based on something like actual free RAM
     5Current load-balancing algorithm: wherever there's more free RAM.
    96
    107TODO: use a lock to avoid creating the same VM twice in a race
Note: See TracChangeset for help on using the changeset viewer.