{"id":22861944,"url":"https://github.com/escapace/ansible-tuned","last_synced_at":"2025-10-28T05:46:13.863Z","repository":{"id":84825550,"uuid":"254964076","full_name":"escapace/ansible-tuned","owner":"escapace","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-07T06:31:25.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"trunk","last_synced_at":"2025-02-06T13:18:46.282Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/escapace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-11T22:10:48.000Z","updated_at":"2025-01-07T06:31:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"871106dc-3ad5-49de-82c5-10d3d5ce1de2","html_url":"https://github.com/escapace/ansible-tuned","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fansible-tuned","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fansible-tuned/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fansible-tuned/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fansible-tuned/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/escapace","download_url":"https://codeload.github.com/escapace/ansible-tuned/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246443523,"owners_count":20778247,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","tuned"],"created_at":"2024-12-13T10:11:54.356Z","updated_at":"2025-10-28T05:46:13.828Z","avatar_url":"https://github.com/escapace.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# escapace.tuned\n\nThis Ansible role installs and configures the tuned system tuning daemon on Linux systems. Tuned is a daemon that monitors system activity and dynamically adjusts system settings to optimize performance for different workloads. The role supports both single profile configuration and multiple profile stacking, with automatic profile recommendation based on system characteristics.\n\n## Role Variables\n\n### tuned_profile\n\nThe tuned profile(s) to activate. Can be specified as a string for a single profile or a list for multiple profiles. Defaults to `recommended` which automatically selects the best profile for the system, or `aws` when running on EC2 instances.\n\n**Type**: `string` or `list`  \n**Default**: `recommended` (or `aws` for EC2 instances)\n\n#### Available Profiles\n\n| Profile                   | Description                                                                                                                   |\n| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `accelerator-performance` | Throughput performance based tuning with disabled higher latency STOP states                                                  |\n| `atomic-guest`            | Optimize virtual guests based on the Atomic variant                                                                           |\n| `atomic-host`             | Optimize bare metal systems running the Atomic variant                                                                        |\n| `aws`                     | Optimize for AWS EC2 instances                                                                                                |\n| `balanced`                | General non-specialized tuned profile                                                                                         |\n| `balanced-battery`        | Balanced profile biased towards power savings changes for battery                                                             |\n| `desktop`                 | Optimize for the desktop use-case                                                                                             |\n| `hpc-compute`             | Optimize for HPC compute workloads                                                                                            |\n| `intel-sst`               | Configure for Intel Speed Select Base Frequency                                                                               |\n| `latency-performance`     | Optimize for deterministic performance at the cost of increased power consumption                                             |\n| `network-latency`         | Optimize for deterministic performance at the cost of increased power consumption, focused on low latency network performance |\n| `network-throughput`      | Optimize for streaming network throughput, generally only necessary on older CPUs or 40G+ networks                            |\n| `optimize-serial-console` | Optimize for serial console use                                                                                               |\n| `powersave`               | Optimize for low power consumption                                                                                            |\n| `recommended`             | Automatically select the best profile for the system                                                                          |\n| `throughput-performance`  | Broadly applicable tuning that provides excellent performance across a variety of common server workloads                     |\n| `virtual-guest`           | Optimize for running inside a virtual guest                                                                                   |\n| `virtual-host`            | Optimize for running KVM guests                                                                                               |\n\n### Other Variables\n\n**tuned_daemon**: Enable the tuned daemon.\n**Type**: `boolean`  \n**Default**: `true`\n\n**tuned_dynamic_tuning**: Enable dynamic tuning. When disabled, only static tuning will be used. Can be individually disabled in plugins.  \n**Type**: `boolean`  \n**Default**: `true`\n\n**tuned_sleep_interval**: TuneD daemon sleep interval for checking events, in seconds. Controls responsiveness time and power savings.  \n**Type**: `integer`  \n**Default**: `1`\n\n**tuned_update_interval**: Update interval for dynamic tuning, in seconds. Must be multiple of sleep_interval. Set to 0 to disable periodic wakeups.  \n**Type**: `integer`  \n**Default**: `10`\n\n**tuned_enable_recommend**: Enable recommend functionality. When disabled, recommend command is unavailable and returns hardcoded profile (balanced).  \n**Type**: `boolean`  \n**Default**: `true`\n\n**tuned_reapply_sysctl**: Reapply user sysctl settings after TuneD sysctl settings. When true, TuneD won't override user-provided system sysctl settings.  \n**Type**: `boolean`  \n**Default**: `true`\n\n## Examples\n\n### Single Profile\n\n```yaml\n- hosts: servers\n  roles:\n    - role: escapace.tuned\n      vars:\n        tuned_profile: 'throughput-performance'\n```\n\n### Multiple Profiles\n\n```yaml\n- hosts: servers\n  roles:\n    - role: escapace.tuned\n      vars:\n        tuned_profile:\n          - 'latency-performance'\n          - 'virtual-guest'\n```\n\n### Custom Configuration\n\n```yaml\n- hosts: servers\n  roles:\n    - role: escapace.tuned\n      vars:\n        tuned_profile: 'network-latency'\n        tuned_dynamic_tuning: false\n        tuned_sleep_interval: 5\n        tuned_update_interval: 30\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescapace%2Fansible-tuned","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fescapace%2Fansible-tuned","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescapace%2Fansible-tuned/lists"}