prbr: add tab2list for inspecting the db


git-svn-id: https://scalaris.googlecode.com/svn/trunk@6653 71766da9-9752-0410-ab17-bfafa751c56a
lb_active: fall back to items when requests unavailable

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6654 71766da9-9752-0410-ab17-bfafa751c56a
lb_active: changes in trigger handling

modules should maintain their triggers individually

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6655 71766da9-9752-0410-ab17-bfafa751c56a
web interface: round load values

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6656 71766da9-9752-0410-ab17-bfafa751c56a
lb_info: change load definition

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6657 71766da9-9752-0410-ab17-bfafa751c56a
lb_active: get_load_metric may return unknown

a metric is unknown in collection phase

- values in lb_info can be unknown

- lb_info:is_valid/1 can be used to check if an lb_info contains no
unknown values.

- lb_stats:default_value/1 provides a wrapper if an explicit value is
  neeeded

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6658 71766da9-9752-0410-ab17-bfafa751c56a
lb_active_directories: perform a maximum amount of transfers each round

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6659 71766da9-9752-0410-ab17-bfafa751c56a
lb_active_directories: retry maximum for writing to dht

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6660 71766da9-9752-0410-ab17-bfafa751c56a
some minor changes

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6661 71766da9-9752-0410-ab17-bfafa751c56a
lb_active_directories: clear directory regularly

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6662 71766da9-9752-0410-ab17-bfafa751c56a
lb_active_directories: change balancing criteria

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6663 71766da9-9752-0410-ab17-bfafa751c56a
lb_active: introduce confidence value for request balancing

- compare number of requests with number of items
- if not enough requests have been captured the confidence is low
- request balancing is not performed when the confidene is low

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6664 71766da9-9752-0410-ab17-bfafa751c56a
lb_stats: exclude lb_active process in reductions

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6665 71766da9-9752-0410-ab17-bfafa751c56a
lb_active: remove on_inactive handler

- handler not needed anymore
- interrupts the load balancing modules
- load balancing is handleded optimistically: continue to balance load
  but abort if invalid or outdated load data is involved

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6666 71766da9-9752-0410-ab17-bfafa751c56a
lb_active: dialyzer fixes, remove some load metrics

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6667 71766da9-9752-0410-ab17-bfafa751c56a
lb_active: move trigger handling to modules completely

git-svn-id: https://scalaris.googlecode.com/svn/trunk@6668 71766da9-9752-0410-ab17-bfafa751c56a
wip