Hi/Lo Thresholds only for extrema and prog-extrema.
Added condition to mandate high and low thresholds only for extrema and progressive extrema power capping strategies.
This commit is contained in:
parent
089b106fdb
commit
5a6a43937c
1 changed files with 12 additions and 8 deletions
|
@ -179,9 +179,12 @@ func main() {
|
|||
} else {
|
||||
if *powerCapPolicy == "extrema" {
|
||||
extrema = true
|
||||
} else {
|
||||
} else if *powerCapPolicy == "prog-extrema" {
|
||||
progExtrema = true
|
||||
}
|
||||
// High and Low thresholds are currently only needed for extrema and
|
||||
// progressive extrema.
|
||||
if extrema || progExtrema {
|
||||
// High and Low Thresholds.
|
||||
// These values are not used to configure the scheduler.
|
||||
// hiThreshold and loThreshold are passed to the powercappers.
|
||||
|
@ -192,6 +195,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Tasks
|
||||
// If httpServer is disabled, then path of file containing workload needs to be provided.
|
||||
|
|
Reference in a new issue