Chapter 3

TUNING SYSTEM PERFORMANCE

tuned

Installing and activating tuned:

systemctl is-enabled tuned;
systemctl is-active tuned;
yum list tuned
yum install tuned
systemctl enable --now tuned

command to show which profiles available in tuned:

tuned-adm list
Available profiles:
- accelerator-performance     - Throughput performance based tuning with disabled higher latency STOP states
- aws                         - Optimize for aws ec2 instances
- 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
Current active profile: virtual-guest

You can ask tuned recommended profile:

tuned-adm recommend

To choose profile and activate it use:

tuned-adm profile virtual-host
tuned-adm active

To turn off tuned use:

tuned-adm off
tuned-adm active

output:
No current active profile.

nice levels

Taska ayrılmış processing gücünü artırıb azaltmaq üçün nice levellərdən istifadə edirik.

top toolundakı PR sütunu ilə əməliyyat sisteminin nice level-i arasında value-ların mappingi

Əmri spesifik nice leveldə icra etmək:
nice -n 10 ls -la

Proses(lər)in nice levelini dəyişmək:
renice -n 19 3521
renice -n 10 2967 2983

Last updated

Was this helpful?