查看CPU支持的模式
[root@lxtxtech ~]# 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
- 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
Current active profile: throughput-performance
[root@lxtxtech ~]#
设置高性能模式
[root@lxtxtech ~]# tuned-adm profile throughput-performance
[root@lxtxtech ~]#
设置省点模式
[root@lxtxtech ~]# tuned-adm profile server-powersave
[root@lxtxtech ~]#
查看当前模式
[root@lxtxtech ~]# tuned-adm active
Current active profile: throughput-performance
[root@lxtxtech ~]#