Show Table of Contents
A.13. numactl
「Numactl」使系統管理員能夠運作一個有特定排程或記憶體位置原則的程序。 「Numactl」也可以為共享記憶體區段或檔案設定一個持續原則,並設定程序的親和性和程序的記憶體親和性。
「Numactl」提供一些實用選項。此附錄簡述其中一些選項並給予使用建議,但並非詳盡。
- --hardware
- 顯示系統上可用節點的列表,包含節點間相對距離。
- --membind
- 確保記憶體自特定節點分配。若特定位置沒有足夠的記憶體,分配將會失效。
- --cpunodebind
- 確保特定命令和其子程序在特定節點執行。
- --phycpubind
- 確保特定命令和其子程序在特定處理器執行。
- --localalloc
- 指明記憶體應一直分配自本地節點。
- --preferred
- 指明一個分配記憶體的慣用節點。若記憶體不能夠從此特定節點分配,則另一節點將會作為後援使用。
更多有關這些以及其他參數的詳細資料,請參閱:
$ 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.