Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamescherti/ansible-tuned
ansible-tuned: An Ansible role which configures tuned
https://github.com/jamescherti/ansible-tuned
ansible ansible-role tuned
Last synced: about 1 month ago
JSON representation
ansible-tuned: An Ansible role which configures tuned
- Host: GitHub
- URL: https://github.com/jamescherti/ansible-tuned
- Owner: jamescherti
- License: mit
- Created: 2024-12-16T18:34:19.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-16T19:24:03.000Z (about 2 months ago)
- Last Synced: 2024-12-16T19:46:00.164Z (about 2 months ago)
- Topics: ansible, ansible-role, tuned
- Language: Jinja
- Homepage: https://github.com/jamescherti/ansible-tuned
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-tuned
![License](https://img.shields.io/github/license/jamescherti/ansible-tuned)This Ansible playbook manages the installation, configuration, and activation of the tuned service.
Tuned is a dynamic adaptive system tuning tool used in Linux environments to optimize performance by adjusting various system settings dynamically. It provides pre-defined profiles that target specific use cases, such as high throughput, low latency, and energy saving, and automatically applies these configurations based on system activity.
For high traffic servers, using Tuned is beneficial as it can enhance network throughput and responsiveness by adjusting parameters like CPU frequency scaling, I/O scheduling, and network stack settings. This optimization results in improved server performance, reduced latency, and better handling of high loads, ultimately leading to a more efficient and reliable infrastructure for handling significant network traffic.
## Features
- Install tuned and configure it using the Ansible variables: `tuned_daemon`, `tuned_dynamic_tuning`, `tuned_sleep_interval`, `tuned_update_interval`, and `tuned_recommend_command`.
- Activate the specified tuned profile using the `tuned_profile` variable. (When the `tuned_profile` is not set, the role installs only tuned.)
- Supports Debian/Ubuntu and RedHat family based operating systems.## Usage
### Example Playbook
Here is an example of how to use ansible-tuned after installing it in the `roles/tuned` directory:
```yaml
- hosts: SERVER
roles:
- {role: tuned,
tuned_profile: "throughput-performance"}
```## Author and license
Copyright (C) 2020-2024 [James Cherti](https://www.jamescherti.com).
Distributed under terms of the MIT license.
# Links
- [ansible-tuned @GitHub](https://github.com/jamescherti/ansible-tuned)