Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update embed/templates/scripts/run_pd_scale.sh.tpl
  • Loading branch information
nexustar authored Nov 8, 2022
commit 2000e8d9870b84234ebea4e657ae3a7583d1c3c0
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