Este contenido no está disponible en el idioma seleccionado.
A.5. tuned-adm
tuned-adm is a command line tool that enables you to switch between Tuned profiles to improve performance in a number of specific use cases. It also provides the
tuned-adm recommend sub-command that assesses your system and outputs a recommended tuning profile.
As of Red Hat Enterprise Linux 7, Tuned includes the ability to run any shell command as part of enabling or disabling a tuning profile. This allows you to extend Tuned profiles with functionality that has not been integrated into Tuned yet.
Red Hat Enterprise Linux 7 also provides the
include parameter in profile definition files, allowing you to base your own Tuned profiles on existing profiles.
The following tuning profiles are provided with Tuned and are supported in Red Hat Enterprise Linux 7.
- throughput-performance
- A server profile focused on improving throughput. This is the default profile, and is recommended for most systems.This profile favors performance over power savings by setting
intel_pstateandmin_perf_pct=100. It enables transparent huge pages and uses cpupower to set theperformancecpufreq governor. It also setskernel.sched_min_granularity_nsto10μs,kernel.sched_wakeup_granularity_nsto15μs, andvm.dirty_ratioto40%. - latency-performance
- A server profile focused on lowering latency. This profile is recommended for latency-sensitive workloads that benefit from c-state tuning and the increased TLB efficiency of transparent huge pages.This profile favors performance over power savings by setting
intel_pstateandmax_perf_pct=100. It enables transparent huge pages, uses cpupower to set theperformancecpufreq governor, and requests acpu_dma_latencyvalue of1. - network-latency
- A server profile focused on lowering network latency.This profile favors performance over power savings by setting
intel_pstateandmin_perf_pct=100. It disables transparent huge pages, and automatic NUMA balancing. It also uses cpupower to set theperformancecpufreq governor, and requests acpu_dma_latencyvalue of1. It also setsbusy_readandbusy_polltimes to50μs, andtcp_fastopento3. - network-throughput
- A server profile focused on improving network throughput.This profile favors performance over power savings by setting
intel_pstateandmax_perf_pct=100and increasing kernel network buffer sizes. It enables transparent huge pages, and uses cpupower to set theperformancecpufreq governor. It also setskernel.sched_min_granularity_nsto10μs,kernel.sched_wakeup_granularity_nsto 15 μs, andvm.dirty_ratioto40%. - virtual-guest
- A profile focused on optimizing performance in Red Hat Enterprise Linux 7 virtual machines as well as VMware guests.This profile favors performance over power savings by setting
intel_pstateandmax_perf_pct=100. It also decreases the swappiness of virtual memory. It enables transparent huge pages, and uses cpupower to set theperformancecpufreq governor. It also setskernel.sched_min_granularity_nsto10μs,kernel.sched_wakeup_granularity_nsto 15 μs, andvm.dirty_ratioto40%. - virtual-host
- A profile focused on optimizing performance in Red Hat Enterprise Linux 7 virtualization hosts.This profile favors performance over power savings by setting
intel_pstateandmax_perf_pct=100. It also decreases the swappiness of virtual memory. This profile enables transparent huge pages and writes dirty pages back to disk more frequently. It uses cpupower to set theperformancecpufreq governor. It also setskernel.sched_min_granularity_nsto10μs,kernel.sched_wakeup_granularity_nsto 15 μs,kernel.sched_migration_costto5μs, andvm.dirty_ratioto40%. cpu-partitioning- The
cpu-partitioningprofile partitions the system CPUs into isolated and housekeeping CPUs. To reduce jitter and interruptions on an isolated CPU, the profile clears the isolated CPU from user-space processes, movable kernel threads, interrupt handlers, and kernel timers.A housekeeping CPU can run all services, shell processes, and kernel threads.You can configure thecpu-partitioningprofile in the/etc/tuned/cpu-partitioning-variables.conffile. The configuration options are:isolated_cores=cpu-list- Lists CPUs to isolate. The list of isolated CPUs is comma-separated or the user can specify the range. You can specify a range using a dash, such as
3-5. This option is mandatory. Any CPU missing from this list is automatically considered a housekeeping CPU. no_balance_cores=cpu-list- Lists CPUs which are not considered by the kernel during system wide process load-balancing. This option is optional. This is usually the same list as
isolated_cores.
For more information oncpu-partitioning, see the tuned-profiles-cpu-partitioning(7) man page.
For detailed information about the power saving profiles provided with
tuned-adm, see the Red Hat Enterprise Linux 7 Power Management Guide.
For detailed information about using
tuned-adm, see the man page:
man tuned-adm
$ man tuned-adm