{"id":858,"date":"2026-08-11T23:04:56","date_gmt":"2026-08-11T23:04:56","guid":{"rendered":"https:\/\/virtualserversvps.com\/blog\/?p=858"},"modified":"2026-08-11T23:04:56","modified_gmt":"2026-08-11T23:04:56","slug":"vps-performance-tuning-12-settings-worth-checking-2026","status":"publish","type":"post","link":"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/","title":{"rendered":"VPS Performance Tuning: 12 Settings Worth Checking in 2026"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Most VPS plans arrive with kernel and application defaults tuned for a generic workload. On a small test box the defaults are fine; once real traffic arrives, a dozen small settings decide whether your server idles at 5% CPU or burns it fighting its own configuration. This is a practical checklist of twelve settings worth auditing on any production VPS in 2026, roughly in the order they usually matter. Each item takes minutes to check and most are one-line changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Memory and Swap<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. Swap size and swappiness<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If your plan has no swap, add a 1\u20132 GB swapfile and set <code>vm.swappiness<\/code> to 10 so the kernel prefers RAM but can still relieve pressure. On small boxes, zram (compressed RAM swap) often beats a disk swapfile: <code>sudo apt install zram-tools<\/code> on Debian\/Ubuntu. Verify with <code>swapon --show<\/code> and <code>sysctl vm.swappiness<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. Transparent Huge Pages (THP)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For database servers, THP in <code>always<\/code> mode causes allocation stalls and memory fragmentation. Set it to <code>madvise<\/code>: <code>echo madvise | sudo tee \/sys\/kernel\/mm\/transparent_hugepage\/enabled<\/code> (make it persistent via a systemd tmpfiles rule). Web servers and app servers are usually fine either way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Storage<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">3. I\/O scheduler<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">NVMe drives should use <code>none<\/code> (or <code>mq-deadline<\/code> on older kernels); the old <code>cfq<\/code> adds needless latency. Check with <code>cat \/sys\/block\/vda\/queue\/scheduler<\/code> and set it persistently with udev rules or a kernel boot parameter. On cloud VPS, the scheduler choice matters less than the IOPS cap on your plan.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. Mount options<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Remount filesystems with <code>noatime<\/code> to eliminate a write on every read: check <code>mount | grep noatime<\/code> and edit <code>\/etc\/fstab<\/code>. For SSD\/NVMe, the <code>discard<\/code> option or a weekly <code>fstrim<\/code> cron keeps erased blocks available and write performance stable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5. Filesystem choice<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">ext4 remains the safe default. XFS edges it out for large files and parallel writes; btrfs adds snapshots at some CPU cost. Reformatting is a big job, so only migrate if a benchmark \u2014 run with <code>fio<\/code> on both \u2014 shows a real gain for your workload. <a href=\"https:\/\/virtualserversvps.com\/#providers\">Compare providers side by side<\/a> to see which offer NVMe storage at your price point before deciding whether to invest in tuning at all.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Network<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">6. TCP congestion control<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Enable BBR if your kernel is 4.9+: set <code>net.ipv4.tcp_congestion_control = bbr<\/code> and <code>net.core.default_qdisc = fq<\/code> in <code>\/etc\/sysctl.d\/<\/code>. On long-distance paths this is the single highest-impact network change you can make. See our guide on <a href=\"https:\/\/virtualserversvps.com\/blog\/enable-bbr-congestion-control-vps-faster-network-speeds\/\">enabling BBR on your VPS<\/a> for verification and rollback steps.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">7. Socket buffers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For high-throughput transfers, raise <code>net.core.rmem_max<\/code> and <code>net.core.wmem_max<\/code> to 16 MB and let the TCP auto-tuning defaults handle the rest. Resist copying every sysctl guide on the internet \u2014 a handful of buffer and backlog settings covers 95% of cases, and aggressive values can waste RAM on small VPS plans.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">8. Connection table and TIME_WAIT<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Busy web servers exhaust <code>net.ipv4.ip_local_port_range<\/code> and the connection table faster than you expect. Widen the port range to <code>1024 65535<\/code>, keep <code>net.ipv4.tcp_fin_timeout<\/code> at 30\u201360, and monitor <code>ss -s<\/code> for overflow. Do not enable <code>tcp_tw_reuse<\/code> blindly; test it under load first.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Application Stack<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">9. PHP-FPM pool sizing<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Base <code>pm.max_children<\/code> on memory: roughly <code>available RAM \/ average PHP process size<\/code>. For a 2 GB box with 60 MB PHP processes that is about 30 children. Set <code>pm = dynamic<\/code> with sane start\/max_spare values, enable <code>opcache<\/code> with <code>opcache.memory_consumption=128<\/code>, and check <code>php-fpm8.2 -tt<\/code> after edits. Oversized pools swap and stall; undersized pools queue requests.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">10. Database and cache memory<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set InnoDB buffer pool to 60\u201370% of available RAM for MySQL\/MariaDB: <code>innodb_buffer_pool_size<\/code>. For Redis, cap <code>maxmemory<\/code> at 70\u201380% of RAM with <code>maxmemory-policy allkeys-lru<\/code> so it never pushes the OS into swap. Both settings are single lines, and both are the most common cause of &#8220;server is slow but CPU is idle.&#8221;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">11. Web server workers<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx: <code>worker_processes auto;<\/code> and <code>worker_connections 1024;<\/code> plus keepalive to upstreams. Apache: use <code>mpm_event<\/code> instead of prefork unless you need mod_php. Check <code>nginx -t<\/code> and reload, then watch <code>uptime<\/code> \u2014 if load average exceeds core count, the bottleneck is upstream, not the web server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Operations<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">12. Logging, cron, and monitoring<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Cap journald with <code>SystemMaxUse=500M<\/code> in <code>\/etc\/systemd\/journald.conf<\/code>, keep logrotate running, and audit crontab entries: stagger jobs so backups and cert renewals do not collide, and prefix heavy jobs with <code>nice -n 10 ionice -c3<\/code>. Finally, install a monitoring agent \u2014 Netdata or Prometheus node_exporter \u2014 plus <code>iostat<\/code> and <code>htop<\/code>, so the next tuning pass starts from data instead of guesses. See <a href=\"https:\/\/virtualserversvps.com\/#features\">the full specs and pricing on the main site<\/a> if your current plan lacks the RAM or I\/O headroom to make these settings pay off.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Reference<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Setting<\/th><th>Where<\/th><th>Typical value<\/th><\/tr><\/thead><tbody><tr><td>Swappiness<\/td><td>\/etc\/sysctl.d\/<\/td><td>vm.swappiness = 10<\/td><\/tr><tr><td>THP<\/td><td>kernel sysfs<\/td><td>madvise<\/td><\/tr><tr><td>I\/O scheduler<\/td><td>queue sysfs \/ udev<\/td><td>none (NVMe)<\/td><\/tr><tr><td>Mount option<\/td><td>\/etc\/fstab<\/td><td>noatime<\/td><\/tr><tr><td>Congestion control<\/td><td>\/etc\/sysctl.d\/<\/td><td>bbr + fq<\/td><\/tr><tr><td>Socket buffers<\/td><td>\/etc\/sysctl.d\/<\/td><td>rmem_max\/wmem_max = 16M<\/td><\/tr><tr><td>PHP-FPM<\/td><td>pool .conf<\/td><td>max_children = RAM\/process size<\/td><\/tr><tr><td>InnoDB pool<\/td><td>my.cnf<\/td><td>60\u201370% of RAM<\/td><\/tr><tr><td>Redis maxmemory<\/td><td>redis.conf<\/td><td>70\u201380% of RAM<\/td><\/tr><tr><td>Journald cap<\/td><td>journald.conf<\/td><td>SystemMaxUse=500M<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Bottom Line<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run through the checklist top to bottom once, record the before\/after of <code>free -h<\/code>, <code>iostat<\/code>, and <code>ss -s<\/code>, then automate the checks with a monitoring tool so regressions surface early. The whole pass takes under an hour and typically buys 10\u201330% headroom on a small VPS. If the numbers still look tight after tuning, the plan itself may be undersized \u2014 <a href=\"https:\/\/virtualserversvps.com\/#providers\">compare providers side by side in our VPS comparison table<\/a> before you upgrade.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Want a clean, current environment to apply these settings on? <a href=\"https:\/\/interserver.net\/vps?id=1067805&amp;sid=virtualserversvps\" rel=\"noreferrer noopener sponsored\" target=\"_blank\">InterServer&#8217;s VPS plans<\/a> include modern kernels and NVMe storage, with pricing that stays flat on renewal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Most VPS plans arrive with kernel and application defaults tuned for a generic workload. On a small test box the defaults are fine; once real traffic arrives, a dozen small&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":0,"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-858","post","type-post","status-publish","format-standard","hentry","category-performance-optimization","category-vps-guides-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>VPS Performance Tuning: 12 Settings Worth Checking in 2026 - Virtual Servers VPS Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"VPS Performance Tuning: 12 Settings Worth Checking in 2026\" \/>\n<meta property=\"og:description\" content=\"VPS Performance Tuning: 12 Settings Worth Checking in 2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual Servers VPS Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-11T23:04:56+00:00\" \/>\n<meta name=\"author\" content=\"Virtual-Servers-Vps-Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Virtual-Servers-Vps-Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/\",\"url\":\"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/\",\"name\":\"VPS Performance Tuning: 12 Settings Worth Checking in 2026 - Virtual Servers VPS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/virtualserversvps.com\/blog\/#website\"},\"datePublished\":\"2026-08-11T23:04:56+00:00\",\"author\":{\"@id\":\"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/82a299a8284a66ff49f97c74684724a0\"},\"breadcrumb\":{\"@id\":\"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtualserversvps.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VPS Performance Tuning: 12 Settings Worth Checking in 2026\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtualserversvps.com\/blog\/#website\",\"url\":\"https:\/\/virtualserversvps.com\/blog\/\",\"name\":\"Virtual Servers VPS Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtualserversvps.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/82a299a8284a66ff49f97c74684724a0\",\"name\":\"Virtual-Servers-Vps-Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d820b15f1cd028e97610d9adf536df7be5cb6423869967037d468d5355fa003f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d820b15f1cd028e97610d9adf536df7be5cb6423869967037d468d5355fa003f?s=96&d=mm&r=g\",\"caption\":\"Virtual-Servers-Vps-Editor\"},\"sameAs\":[\"https:\/\/virtualserversvps.com\/blog\"],\"url\":\"https:\/\/virtualserversvps.com\/blog\/author\/virtualserversvps\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"VPS Performance Tuning: 12 Settings Worth Checking in 2026 - Virtual Servers VPS Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/","og_locale":"en_US","og_type":"article","og_title":"VPS Performance Tuning: 12 Settings Worth Checking in 2026","og_description":"VPS Performance Tuning: 12 Settings Worth Checking in 2026","og_url":"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/","og_site_name":"Virtual Servers VPS Blog","article_published_time":"2026-08-11T23:04:56+00:00","author":"Virtual-Servers-Vps-Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Virtual-Servers-Vps-Editor","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/","url":"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/","name":"VPS Performance Tuning: 12 Settings Worth Checking in 2026 - Virtual Servers VPS Blog","isPartOf":{"@id":"https:\/\/virtualserversvps.com\/blog\/#website"},"datePublished":"2026-08-11T23:04:56+00:00","author":{"@id":"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/82a299a8284a66ff49f97c74684724a0"},"breadcrumb":{"@id":"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/virtualserversvps.com\/blog\/vps-performance-tuning-12-settings-worth-checking-2026\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtualserversvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"VPS Performance Tuning: 12 Settings Worth Checking in 2026"}]},{"@type":"WebSite","@id":"https:\/\/virtualserversvps.com\/blog\/#website","url":"https:\/\/virtualserversvps.com\/blog\/","name":"Virtual Servers VPS Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtualserversvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/82a299a8284a66ff49f97c74684724a0","name":"Virtual-Servers-Vps-Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d820b15f1cd028e97610d9adf536df7be5cb6423869967037d468d5355fa003f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d820b15f1cd028e97610d9adf536df7be5cb6423869967037d468d5355fa003f?s=96&d=mm&r=g","caption":"Virtual-Servers-Vps-Editor"},"sameAs":["https:\/\/virtualserversvps.com\/blog"],"url":"https:\/\/virtualserversvps.com\/blog\/author\/virtualserversvps\/"}]}},"_links":{"self":[{"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/posts\/858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/comments?post=858"}],"version-history":[{"count":1,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/posts\/858\/revisions"}],"predecessor-version":[{"id":864,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/posts\/858\/revisions\/864"}],"wp:attachment":[{"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/media?parent=858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/categories?post=858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/tags?post=858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}