---
title: Tuning the host system for high performance
description: The API Security Enforcer (ASE) ships with a script to tune the host Linux operating system for handling high TCP concurrency and optimizing performance.
component: pingintelligence
version: 5.2
page_id: pingintelligence:installing_pingintelligence_for_apis:pingintelligence_manual_deployment_tuning_host_system
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/installing_pingintelligence_for_apis/pingintelligence_manual_deployment_tuning_host_system.html
revdate: June 5, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  example: Example:
  example-2: Example:
---

# Tuning the host system for high performance

The API Security Enforcer (ASE) ships with a script to tune the host Linux operating system for handling high TCP concurrency and optimizing performance.

## About this task

To understand the tuning parameters, see the tuning script comments. When running the tuning script, changes are displayed on the console to provide insight into system modifications.

To undo system changes, run the `untune` script.

|   |                                                                                                                                                                               |
| - | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | You should be a `root` user to run the `tune` and `untune` scripts.If you are installing ASE as a non-root user, run the `tune` script for your platform before starting ASE. |

The following commands are for tuning RHEL. For tuning Ubuntu, use the Ubuntu tuning scripts.

## Steps

* To tune the host system:

  1. In the command line, run the `tune_rhel7.sh` command.

     ### Example:

     ```
     /opt/pingidentity/ase/bin/tune_rhel7.sh
     ```

     |   |                                                                                                           |
     | - | --------------------------------------------------------------------------------------------------------- |
     |   | If ASE is deployed in a Docker Container, run the `tune` script on the host system, not in the container. |

  2. Close the current shell after running the `tune` script and proceeding to start ASE.

* To untune the host system and bring the system back to its original state, run the `untune_rhel7.sh` command.

  ### Example:

  ```
  /opt/pingidentity/ase/bin/untune_rhel7.sh
  ```
