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
a499b4b1
Commit
a499b4b1
authored
May 05, 2018
by
David Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase docker clientside parallelization.
parent
c03050eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
clientside/tmcc/linux/docker/libvnode_docker.pm
clientside/tmcc/linux/docker/libvnode_docker.pm
+3
-3
No files found.
clientside/tmcc/linux/docker/libvnode_docker.pm
View file @
a499b4b1
...
...
@@ -511,11 +511,11 @@ sub setConcurrency($)
if
(
$cpus
>
0
&&
$disks
>
0
&&
$ram
>
0
)
{
if
(
$ram
<
1024
||
(
!
SHAREDHOST
()
&&
$hasswapped
))
{
$MAXCONCURRENT
=
1
;
}
elsif
(
$cpus
<=
2
||
$disks
==
1
||
$ram
<=
2048
)
{
$MAXCONCURRENT
=
3
;
}
els
e
{
}
els
if
(
$cpus
<=
2
||
$disks
==
1
||
$ram
<=
2048
)
{
$MAXCONCURRENT
=
5
;
}
else
{
$MAXCONCURRENT
=
16
;
}
}
}
...
...
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