Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
cd7aac62
Commit
cd7aac62
authored
Apr 25, 2007
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cut off +load plab feature weights to 0.99 max.
parent
31896ce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tbsetup/plab/plabmetrics.in
tbsetup/plab/plabmetrics.in
+5
-0
No files found.
tbsetup/plab/plabmetrics.in
View file @
cd7aac62
...
...
@@ -339,6 +339,11 @@ sub InsertMetrics($%)
}
else
{
$scaled
=
$load
/
$MAXLOAD
;
}
# proper, valid feature weights have to be less than 1
if
(
$scaled
>
0.99
)
{
$scaled
=
0.99
;
}
#
# Plab people request that we not start jobs on nodes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment