As for the most of metric components optimalValue equals zero, it's better to exclude such oprimal values from the optimalCV su on compile time. This is implemented by wrapping optimalValue computation function into a Maybe monad.
Oleg Ponomarev (1): Improve computeOptimalCV function src/Ganeti/HTools/Cluster/MetricsComponents.hs | 17 ++++------------- src/Ganeti/HTools/Cluster/MetricsTH.hs | 17 ++++++++++++----- 2 files changed, 16 insertions(+), 18 deletions(-) -- 1.9.1
