Commit d051475b authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

Added allowfixnode flag in the experiments table for Tim so he can tweak

vnode weights (like CPU) and do a swapmod. This is a hammer but will do
for now.
parent 40aa14aa
......@@ -283,6 +283,8 @@ CREATE TABLE experiments (
eventkey varchar(64) default NULL,
idx int(10) unsigned NOT NULL auto_increment,
sim_reswap_count smallint(5) unsigned NOT NULL default '0',
veth_encapsulate tinyint(4) NOT NULL default '1',
allowfixnode tinyint(4) NOT NULL default '0',
PRIMARY KEY (eid,pid),
KEY idx (idx),
KEY batchmode (batchmode)
......@@ -1251,3 +1251,9 @@ last_net_act,last_cpu_act,last_ext_act);
alter table images add frisbee_pid int(11) default '0' \
after load_address;
1.220: Add allowfixnode flag to experiments table so it can be turned off.
This is useful when a user changes the vnode resources (such as cpu)
for a vnode and then does a swapmod.
alter table experiments add allowfixnode tinyint(4) \
not null default 1;
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