Skip to content

Commit 41cbd7b

Browse files
committed
[Performance] Remove cfn-hup from compute nodes as a temporary mitigation to restore good performance.
Running cfn-hup on compute nodes can cause a major performance degradation on large clusters. This change will be vended as a custom cookbook to mitigate the performance degradation. Side effect of this change is that cluster updates will not be supported.
1 parent 2b959bc commit 41cbd7b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

cookbooks/aws-parallelcluster-platform/spec/unit/recipes/supervisord_config_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@
7070

7171
it 'has the correct content' do
7272
is_expected.to render_file('/etc/parallelcluster/parallelcluster_supervisord.conf')
73-
.with_content("[program:cfn-hup]")
7473
.with_content("[program:computemgtd]")
7574

7675
is_expected.not_to render_file('/etc/parallelcluster/parallelcluster_supervisord.conf')

cookbooks/aws-parallelcluster-platform/templates/supervisord/parallelcluster_supervisord.conf.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Local modifications could be overwritten.
33
<%# HeadNode, ComputeFleet, LoginNode -%>
44
<% case node['cluster']['node_type'] -%>
5-
<% when 'HeadNode', 'ComputeFleet', 'LoginNode' -%>
5+
<% when 'HeadNode', 'LoginNode' -%>
66
[program:cfn-hup]
77
command = <%= node['cluster']['scripts_dir']%>/cfn-hup-runner.sh
88
autorestart = true

0 commit comments

Comments
 (0)