問題タブ [numactl]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
linux - ローカル変数は異なる numa ノードに割り当てられますか?
malloc と numa_alloc(1) の 2 つのメモリ割り当てを持つアプリケーションがある場合 (2 つの numa ノード 0 と 1 があると仮定)、malloc はノード 0 でメモリを使用し、numa_alloc はノード 1 で割り当てられます。
このアプリケーションでは、int x や sem_t tst などのローカル変数があるとします。これらのローカル変数はどこに割り当てられますか。ノード0または1で?
それらがノード 1 に割り当てられた場合、すべてのアプリケーション関連の割り当てをノード 0 で実行する必要があり、ノード 1 が Numa 割り当てにのみ使用されるように制限する方法はありますか?