> For the complete documentation index, see [llms.txt](https://alicenab.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alicenab.gitbook.io/linux/redhat/redhat-administration-2-rh134/chapter-3.md).

# 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.

<div data-full-width="true"><figure><img src="https://2273301741-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MaSvvJbAG6NSNXDy9Qs%2Fuploads%2FCV5lbrcXI5dRqYf3BpQu%2Fimage.png?alt=media&amp;token=27f70a79-6b1c-4809-9dd4-caa64ca67bef" alt=""><figcaption><p>top toolundakı PR sütunu ilə əməliyyat sisteminin nice level-i arasında value-ların mappingi</p></figcaption></figure></div>

```
Ə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

```
