New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better task balancing #1482

merged 73 commits into from Jun 8, 2017
Jump to file or symbol
Failed to load files and symbols.
+1 鈭1
Diff settings


Just for now

Viewing a subset of changes. View all

improve comment

  • Loading branch information...
darcatron committed May 11, 2017
commit 13d331a6b60093211677ff2e19df2e6d461bc427
@@ -315,7 +315,7 @@ private boolean isLongRunning(SingularityTaskRequest taskRequest) {
private double scoreLongRunningTask(double longRunningMemUsedScore, double memFreeScore, double longRunningCpusUsedScore, double cpusFreeScore) {
// usage improves score
// unused, reserved resources improve score
return calculateScore(1 - longRunningMemUsedScore, memFreeScore, 1 - longRunningCpusUsedScore, cpusFreeScore, 0.50, 0.50);
ProTip! Use n and p to navigate between commits in a pull request.