RHEL Performance Tuning Tools for


stay RHEL in , We can use tuned Tools , Tune according to the load characteristics of the system . The ways of tuning are divided into Static and dynamic .

Configure static tuning

tuned  The daemons apply system settings when the service starts or when a new tuning profile is selected . Static tuning will change the configuration file by  tuned  Predefined application at run time  kernel  Parameters to configure . For static tuning , Kernel parameters are set for overall performance expectations , It doesn't change with activity .

Configure dynamic tuning

For dynamic tuning ,tuned  The daemons monitor system activity , And according to  runtime  Change to adjust the settings . Start with the initial settings declared in the selected tuning profile , Dynamic tuning constantly adjusts to the current workload .tuned  The daemons monitor the activity of these components and adjust parameter settings , To maximize performance during periods of high activity , And reduce the set value during low activity .tuned  The daemons will use the performance parameters provided in the predefined tuning profile .



Installation and startup tuned Tools


[[email protected] ~]$ yum install tuned
[[email protected] ~]$ systemctl enable --now tuned

Tuned  The configuration files provided by the application are divided into the following categories :

  • Energy efficient profile

  • Performance enhanced profiles

Performance enhanced profiles include profiles that focus on the following aspects :

  • Low latency for storage and networking

  • High throughput of storage and network

  • Virtual machine performance

  • Virtualization host performance

With red hat Enterprises Linux 8 Distributed tuning profiles :

 picture

View the current system in use profile:

[[email protected] ~]#  tuned-adm active

 picture

tuned-adm list Command lists all available tuning profiles , Includes built-in profiles and custom tuning profiles created by system administrators .

tuned-adm list

 picture

Use tuned-adm The name of the configuration file configuration file can switch the active configuration file to a configuration file that is more in line with the current adjustment requirements of the system. .

[[email protected] ~]#  tuned-adm profile throughput-performance

[[email protected] ~]# tuned-adm active

Current active profile: throughput-performance



tuned-adm Command to adjust the configuration file for the system recommendation . This mechanism is used to determine the default configuration file of the system after installation .

[[email protected] ~]# tuned-adm recommend

virtual-guest


tuned-adm The recommended output is based on various system characteristics , Includes whether the system is a virtual machine and other predefined categories selected during system installation .


Settings changes to restore the current profile , Refer to the following command :

[[email protected] ~]# tuned-adm off

[[email protected] ~]# tuned-adm active

No current active profile.