Changes between Version 5 and Version 6 of UsingBenito


Ignore:
Timestamp:
Jul 29, 2011 2:40:10 PM (13 years ago)
Author:
mikeryan
Comment:

qemu-only vs mixed mode

Legend:

Unmodified
Added
Removed
Modified
  • UsingBenito

    v5 v6  
    44
    55Benito is a containerized virtualization system which currently runs on the DETER testbed.
     6
     7We support two types of experiments: qemu-only and mixed mode. Nodes in a qemu-only experiment are all realized as qemu virtual machines and are automatically packed into physical nodes based on a packing parameter. Nodes in a mixed mode experiment may either be qemu virtual nodes or full-fledged physical machines. Currently they must be embedded manually.
    68
    79== Disclaimer ==
     
    2527Before running your experiment you should determine the DETER PID and EID under which you'll run the experiment. The EID should not refer to an existing experiment.
    2628
     29=== qemu-only experiments ===
     30
    2731You will need to specify a parameter called "packing". This parameter describes how many qemu virtual nodes will be embedded on each physical node. The host machines have four cores each, so for compute-bound tasks this value should not be higher than 4. For less CPU-intensive tasks, this number can in theory be as high as 10 or 20 (perhaps higher).
    28 
    29 === Creating the experiment ===
    3032
    3133Once you have determined the parameters described above, you may start an experiment by logging in to {{{users.isi.deterlab.net}}} and running these commands:
     
    3638}}}
    3739
     40=== Mixed mode experiments ===
     41
     42Mixed mode experiments may only be specified using a TopDL file. Each node must be specially annotated to incdicate its embedding. This is done by specifying an attribute on the node called {{{partition}}}.
     43
     44The {{{partition}}} attribute specifies the physical node on which a qemu virtual node is realized. This value must be numeric, though there are no restrictions on what numbers are used.
     45
     46If a node ''lacks'' the {{{partition}}} attribute, it is assumed to be a physical node.
     47
     48You can use the {{{shopdl.py}}} tool in the {{{util}}} subdirectory of the tree in order to ease manipulation of your TopDL file.
     49
     50Once you have annotated your TopDL file, you may start an experiment by logging in to {{{users.isi.deterlab.net}}} and running these commands:
     51
     52{{{
     53$ cd /share/benito
     54$ ./mixed_experiment.py <PID> <EID> <topdl-file>
     55}}}
     56
     57=== Creation ===
     58
    3859Upon successful creation, you will be presented with a URL for accessing your experiment via the web interface.
    3960
    4061It takes 1-2 minutes for DETER to create the experiment. The creation process has successfully completed once DETER reports "Status: swapped".
     62
     63== Swapping ==
    4164
    4265=== Swapping in ===