Questo contenuto non è disponibile nella lingua selezionata.
4.2. Tuning CPUs with Tuna
Tuna commands can target individual CPUs. To list the CPUs on your system, see the Monitoring tab in Tuna GUI or the
/proc/cpuinfo
file for detailed information.
To specify the list of CPUs to be affected by your command, use:
#
tuna --cpus=cpu_list --run=COMMAND
Isolating a CPU causes all tasks currently running on that CPU to move to the next available CPU. To isolate a CPU, use:
#
tuna --cpus=cpu_list --isolate
Including a CPU allows threads to run on the specified CPU. To include a CPU, use:
#
tuna --cpus=cpu_list --include
The cpu_list argument is a list of comma-separated CPU numbers. For example,
--cpus=0,2
.