summaryrefslogtreecommitdiffstats
path: root/tools/enable-pre-commit-hook.sh
diff options
context:
space:
mode:
authorMonsyne Dragon <mdragon@rackspace.com>2012-09-24 19:38:09 +0000
committerMonsyne Dragon <mdragon@rackspace.com>2012-09-25 20:36:55 +0000
commit8887f10c66bca248f289db8f834ae8f36f9a03a1 (patch)
tree3347a2976f0fcc005e5fcf65cd3fa38701e0f4d6 /tools/enable-pre-commit-hook.sh
parent6e89cd0b8cec0c233e55ea8f4e2bf4f2855073af (diff)
downloadnova-8887f10c66bca248f289db8f834ae8f36f9a03a1.tar.gz
nova-8887f10c66bca248f289db8f834ae8f36f9a03a1.tar.xz
nova-8887f10c66bca248f289db8f834ae8f36f9a03a1.zip
Collect more accurate bandwidth data for XenServer
This changes the method used to poll xenserver for bandwidth data. The reccomended way of collecting such data from xenserver (namely the RRD files provided by the hosts) do not seem to be reliable, they will sometimes be correct, often will be signifigantly under (> 10%), and occasionally will show artifacts, such as phantom 4gb bandwidth 'spikes'. This patch changes that to use the much simpler method of simply polling the byte counters on the VIF network devices on the host. (We have old non-nova code that does that on xenserver, and that method is known to work). This should also make it much easier for other hypervisors other than xenserver to implement bandwidth polling, as polling the counters is a rather more universal method. Fixes bug 1055737 Change-Id: I6a280d8bbfcc74914f888b11bc09349a270a5f58
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions