Show Table of Contents
A.13. numactl
관리자는 Numactl을 사용하여 지정된 스케줄링 또는 메모리 배치 정책에 따라 프로세스를 실행할 수 있습니다. Numactl은 공유 메모리 세그먼트나 파일에 영구 정책을 설정하고 프로세서 친화도 및 메모리 친화도를 설정할 수 있습니다.
Numactl은 여러 유용한 옵션을 제공합니다. 다음 부분에서는 이러한 옵션 중 일부만을 소개하고 사용 방법에 대해 설명합니다.
- --hardware
- 노드 간의 상대 거리를 포함하여 시스템에서 사용 가능한 노드의 인벤토리를 표시합니다.
- --membind
- 특정 노드에서만 메모리를 할당하도록 합니다. 지정된 위치에 사용 가능한 메모리가 충분하지 않을 경우 할당 실패합니다.
- --cpunodebind
- 지정된 노드에서만 지정된 명령 및 하위 프로세스를 실행하도록 합니다.
- --phycpubind
- 지정된 프로세서에서만 지정된 명령 및 하위 프로세스를 실행하도록 합니다.
- --localalloc
- 로컬 노드에서 항상 할당되어야 하는 메모리를 지정합니다.
- --preferred
- 메모리 할당에서 기본 설정 노드를 지정합니다. 지정된 노드에서 메모리를 할당할 수 없는 경우 다른 노드가 대체로 사용됩니다.
이러한 매개 변수 및 기타 다른 매개 변수에 대한 보다 자세한 내용은 man 페이지에서 참조하십시오:
$ man numactl

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.