{"id":2467,"date":"2018-09-20T14:53:46","date_gmt":"2018-09-20T18:53:46","guid":{"rendered":"https:\/\/easy-admin.ca\/?p=2467"},"modified":"2018-09-20T23:30:07","modified_gmt":"2018-09-21T03:30:07","slug":"tuned-automatic-performance-tuning","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2018\/09\/20\/tuned-automatic-performance-tuning\/","title":{"rendered":"Tuned \u2013 Automatic Performance"},"content":{"rendered":"<p><strong>Tuned<\/strong> is a powerful daemon for dynamically auto-tuning Linux server performance based on information it gathers from monitoring use of system components, to squeeze maximum performance out of a server.<\/p>\n<p>It does this by tuning system settings dynamically on the fly depending on system activity, using tuning profiles. Tuning profiles include sysctl configs, disk-elevators configs, transparent hugepages, power management options and your custom scripts.<\/p>\n<p><center><ins class=\"adsbygoogle\" data-ad-client=\"ca-pub-2601749019656699\" data-ad-slot=\"5590002574\" data-ad-format=\"auto\"><\/ins><\/center>By default <strong>tuned<\/strong> will not dynamically adjust system settings, but you can modify how the tuned daemon operates and allow it to dynamically alter settings based on system usage. You can use the <strong>tuned-adm<\/strong> command-line tool to manage the daemon once it is running.<\/p>\n<p>On <strong>CentOS\/RHEL 7<\/strong> and <strong>Fedora<\/strong>, <strong>tuned<\/strong> comes pre-installed and activated by default, but on older version of <strong>CentOS\/RHEL 6.x<\/strong>, you need to install it.<\/p>\n<pre># yum install tuned<\/pre>\n<p>After the installation, you will find following important tuned configuration files.<\/p>\n<ul>\n<li><strong>\/etc\/tuned<\/strong> \u2013 tuned configuration directory.<\/li>\n<li><strong>\/etc\/tuned\/tuned-main.conf<\/strong>\u2013 tuned mail configuration file.<\/li>\n<li><strong>\/usr\/lib\/tuned\/<\/strong> \u2013 stores a sub-directory for all tuning profiles.<\/li>\n<\/ul>\n<p>Now you can start or manage the <strong>tuned<\/strong> service using following commands.<\/p>\n<pre><strong>--------------- On RHEL\/CentOS 7 ---------------<\/strong> \r\n# systemctl start tuned\t        \r\n# systemctl enable tuned\t\r\n# systemctl status tuned\t\r\n# systemctl stop tuned\t\t\r\n<strong>--------------- On RHEL\/CentOS 6 ---------------<\/strong>\r\n# service tuned start\r\n# chkconfig tuned on\r\n# service tuned status\r\n# service tuned stop<\/pre>\n<p>Now you can control tuned using the <strong>tunde-adm<\/strong> tool. There are a number of predefined tuning profiles already included for some common use cases. You can check the current active profile with following command.<\/p>\n<pre>tuned-adm active<\/pre>\n<p>You can get a list of available tuning profiles using following command.<\/p>\n<pre># tuned-adm list<\/pre>\n<p>To switch to any of the available profiles for example <strong>throughput-performance<\/strong> \u2013 a tuning which results into excellent performance across a variety of common server workloads.<\/p>\n<pre># tuned-adm  profile throughput-performance\r\n# tuned-adm active<\/pre>\n<p>To use the recommended profile for your system, run the following command.<\/p>\n<pre># tuned-adm recommend<\/pre>\n<p>And you can disable all tuning as shown.<\/p>\n<pre># tuned-adm off<\/pre>\n<p>That\u2019s all for now! <strong>Tuned<\/strong> is a daemon that monitors usage of system components and dynamically auto-tunes a Linux server for maximum performance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tuned is a powerful daemon for dynamically auto-tuning Linux server performance based on information it gathers from monitoring use of system components, to squeeze maximum performance out of a server. It does this by tuning system settings dynamically on the fly depending on system activity, using tuning profiles. Tuning profiles include sysctl configs, disk-elevators configs, &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2018\/09\/20\/tuned-automatic-performance-tuning\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Tuned \u2013 Automatic Performance<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":2468,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2467","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/2467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=2467"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/2467\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media\/2468"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=2467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=2467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=2467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}