tuned-adm: Configuración de Perfiles de Rendimiento en Linux

aff i?offer id=131&file id=2668&aff id=3675

tuned-adm es una herramienta que podemos utilizar a partir de Linux RedHat 8, que sirve para configurar un perfil de rendimiento para nuestro sistema como, por ejemplo, para el uso de bases de datos, rendimiento máximo, ahorro de energía o servidor virtual entre otros.

Para poder utilizar tuned-adm, tenemos que instalar el paquete tuned.

[[email protected] ~]# dnf install tuned -y
[[email protected] ~]# rpm -qa |grep -i tune
tuned-2.15.0-2.el8_4.1.noarch
[[email protected] ~]# 

Activación del servicio tuned

Para poder utilizar tuned-adm una vez instalado, el servicio del sistema tiene que estar activo:

[[email protected] ~]# systemctl enable tuned
[[email protected] ~]# systemctl start tuned
[[email protected] ~]# systemctl status tuned
● tuned.service - Dynamic System Tuning Daemon
   Loaded: loaded (/usr/lib/systemd/system/tuned.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-08-05 11:39:31 CEST; 6min ago
     Docs: man:tuned(8)
           man:tuned.conf(5)
           man:tuned-adm(8)
 Main PID: 1238 (tuned)
    Tasks: 4 (limit: 14088)
   Memory: 10.2M
   CGroup: /system.slice/tuned.service
           └─1238 /usr/libexec/platform-python -Es /usr/sbin/tuned -l -P

Aug 05 11:39:29 server1 systemd[1]: Starting Dynamic System Tuning Daemon...
Aug 05 11:39:31 server1 systemd[1]: Started Dynamic System Tuning Daemon.
[[email protected] ~]# 

Configuración de perfiles con tuned-adm

Lo primero que tenemos que hacer con tuned-adm es averiguar cuál es el perfil recomendado para nuestro sistema:

[[email protected] ~]# tuned-adm recommend
virtual-guest
[[email protected] ~]# 
  • Activación del perfil recomendado:
[[email protected] ~]# tuned-adm active
Current active profile: virtual-guest
[[email protected] ~]# 
  • Desactivación de tuned-adm:
[[email protected] ~]# tuned-adm active
No current active profile.
[[email protected] ~]# 
  • Listado de otros perfiles disponibles que nos pueden interesar:
@server1 ~]# tuned-adm list
Available profiles:
- accelerator-performance     - Throughput performance based tuning with disabled higher latency STOP states
- balanced                    - General non-specialized tuned profile
- desktop                     - Optimize for the desktop use-case
- hpc-compute                 - Optimize for HPC compute workloads
- intel-sst                   - Configure for Intel Speed Select Base Frequency
- latency-performance         - Optimize for deterministic performance at the cost of increased power consumption
- network-latency             - Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance
- network-throughput          - Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks
- optimize-serial-console     - Optimize for serial console use.
- powersave                   - Optimize for low power consumption
- throughput-performance      - Broadly applicable tuning that provides excellent performance across a variety of common server workloads
- virtual-guest               - Optimize for running inside a virtual guest
- virtual-host                - Optimize for running KVM guests
No current active profile.
[[email protected] ~]# 

Te puede interesar

  RUNDECK - Descubre la facilidad y el poder de automatizar

COMPÁRTEME

Deja un comentario