• Leigh Stoller's avatar
    Big update to the stats gathering code ... · 495f6803
    Leigh Stoller authored
    This change attempts to make the stats gathering code more reliable by
    not relying on the testbed_stats records to reconstruct usage
    statistics.  The main source of errors and total confusion in the
    current stats code is that testbed_stats includes all the errors and
    transitions, from which I have to reconstruct what happened in order
    to determine usage by a project or user.
    
    The new stats code still generates the testbed_stats code, but actual
    usage is recorded as it happens, in the experiment_resources table, as
    swapins, swapouts, and swapmods occur. Its also much faster to compute
    the data for the tables in the web interface, not having to scan a
    zillion testbed_stats records in php.
    
    There is a time consuming update to the records that takes place with
    a lot of tables locked.
    495f6803
Name
Last commit
Last update
..
Archive.pm.in Loading commit data...
Experiment.pm.in Loading commit data...
GNUmakefile.in Loading commit data...
Group.pm.in Loading commit data...
Image.pm.in Loading commit data...
Interface.pm.in Loading commit data...
Node.pm.in Loading commit data...
NodeType.pm.in Loading commit data...
OSinfo.pm.in Loading commit data...
Project.pm.in Loading commit data...
User.pm.in Loading commit data...
audit.in Loading commit data...
avail.in Loading commit data...
backup.in Loading commit data...
changepid.in Loading commit data...
changeuid.in Loading commit data...
dbboot.in Loading commit data...
dbcheck.in Loading commit data...
dbfillcheck.in Loading commit data...
dhcpd_makeconf.in Loading commit data...
dumperrorlog.in Loading commit data...
dumperrorlog.proxy.in Loading commit data...
elabinelab_bossinit.in Loading commit data...
genelists.in Loading commit data...
genelists.proxy.in Loading commit data...
grabron.in Loading commit data...
idlemail.in Loading commit data...
idletimes.in Loading commit data...
if2port.in Loading commit data...
interswitch.in Loading commit data...
inuse.in Loading commit data...
libadminctrl.pm.in Loading commit data...
libdb.pm.in Loading commit data...
libdb.py.in Loading commit data...
libtbdb.pm.in Loading commit data...
mysqld_watchdog.in Loading commit data...
nalloc.in Loading commit data...
newwanode.in Loading commit data...
nfree.in Loading commit data...
node_status.in Loading commit data...
nodeip.in Loading commit data...
nodelog.in Loading commit data...
readycount.in Loading commit data...
schemacheck.in Loading commit data...
setsitevar.in Loading commit data...
showgraph.in Loading commit data...
sitevarscheck.in Loading commit data...
stategraph.in Loading commit data...
unixgroups.in Loading commit data...
update_permissions.in Loading commit data...
webcontrol.in Loading commit data...
xmlconvert.in Loading commit data...