Commit 76c37c50 authored by Leigh Stoller's avatar Leigh Stoller

Add two crude controls to allow the user to change how virtual nodes

are packed 1) Add trivial_ok flag to virt_lans table. Global to the
lan or link, allow nodes in the lan or link to be colocated on the
same phys node. Perhaps make it per-node at some point. 2) Add
multiplex_factor to the experiments table to allow user to override
the multiplex_factor that is contained in the node_types table. Make
per type at some point.
parent 5f87a0d4
......@@ -276,6 +276,7 @@ CREATE TABLE experiments (
event_sched_pid int(11) default '0',
uselinkdelays tinyint(4) NOT NULL default '0',
forcelinkdelays tinyint(4) NOT NULL default '0',
multiplex_factor smallint(5) default NULL,
uselatestwadata tinyint(4) NOT NULL default '0',
usewatunnels tinyint(4) NOT NULL default '1',
wa_delay_solverweight float default '0',
......@@ -1407,6 +1408,7 @@ CREATE TABLE virt_lans (
uselinkdelay tinyint(4) default '0',
nobwshaping tinyint(4) default '0',
usevethiface tinyint(4) default '0',
trivial_ok tinyint(4) default '1',
KEY pid (pid,eid,vname)
......@@ -600,3 +600,16 @@ last_net_act,last_cpu_act,last_ext_act);
ALTER TABLE experiments ADD COLUMN autoswap_timeout int(4)
NOT NULL default '0' AFTER autoswap;
1.150: Add trivial_ok to virt_lans for (very) crude control of
colocation of virtual nodes.
alter table virt_lans add trivial_ok tinyint(4) default '1'
after usevethiface;
Add multiplex_factor to experiments table to allow user to
override the factor in the node_types table. Also very crude.
alter table experiments add multiplex_factor smallint(5)
default NULL after forcelinkdelays;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment