Commit 1e4785a6 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files


parent 2b72f2c9
stoller 2003/10/16 12:06:44 MDT
Modified files:
tmcd tmcd.c
tmcd/common update
tmcd/freebsd delaysetup
Brave new world of tmcc client side caching. The goal is to reduce the
number of connections to tmcd, and the resulting number of DB queries.
Currently thats about 24 per node when it boots. Each vnode adds
another 24 or so. The new approach is to use the "fullconfig" command,
which dumps the entire config in one shot, saving about 20 of those
connections. We still need to do the status/state commands for real of
course. When a node boots, it requests the fullconfig; the client side
takes this fullconfig, and dumps the individual sections to
/var/emulab/boot/tmcc/section_name. Subsequent requests first look for
it locally in the above named files, falling back to real tmcc if none
exists. The update command also refreshes the cache.
Tested for jails and plab node vservers as well.
Revision Changes Path
1.84 +50 -39 testbed/tmcd/
1.190 +0 -1 testbed/tmcd/tmcd.c
1.3 +185 -39 testbed/tmcd/common/
1.3 +3 -1 testbed/tmcd/common/
1.6 +1 -0 testbed/tmcd/common/update
1.11 +10 -8 testbed/tmcd/freebsd/delaysetup
1.38 +2 -1 testbed/tmcd/freebsd/
1.25 +3 -0 testbed/tmcd/freebsd/jail/
stoller 2003/10/13 11:59:28 MDT
Modified files:
Supports Markdown
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