Skip to content

Commit

Permalink
Update embed/templates/scripts/run_pd_scale.sh.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar authored Nov 8, 2022
1 parent 58a63a4 commit 2000e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embed/templates/scripts/run_pd_scale.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cd "${DEPLOY_DIR}" || exit 1
{{- end}}

{{- if .NumaNode}}
exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} GODEBUG=madvdontneed=1 bin/pd-server \
exec numactl --cpunodebind={{.NumaNode}} --membind={{.NumaNode}} env GODEBUG=madvdontneed=1 bin/pd-server \
{{- else}}
exec env GODEBUG=madvdontneed=1 bin/pd-server \
{{- end}}
Expand Down

0 comments on commit 2000e8d

Please sign in to comment.