From 86d91b3b5bef6599dc180d3abf936a01bdc46097 Mon Sep 17 00:00:00 2001 From: Pradyumna Kaushik Date: Fri, 6 Jan 2017 15:56:49 -0800 Subject: [PATCH] changed the CapMargin to 70 and Window to 20 as they are the optimal ones. --- constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants/constants.go b/constants/constants.go index 08ad28a..bcd051b 100644 --- a/constants/constants.go +++ b/constants/constants.go @@ -68,7 +68,7 @@ func UpdateCapMargin(newCapMargin float64) bool { var StarvationFactor = PowerThreshold / CapMargin // Window size for running average -var WindowSize = 160 +var WindowSize = 20 // Update the window size. func UpdateWindowSize(newWindowSize int) bool {