{"id":1099,"date":"2026-09-11T22:36:12","date_gmt":"2026-09-11T22:36:12","guid":{"rendered":"https:\/\/virtualserversvps.com\/blog\/?p=1099"},"modified":"2026-09-11T22:36:12","modified_gmt":"2026-09-11T22:36:12","slug":"fio-dd-disk-io-benchmark-vps-throttling","status":"publish","type":"post","link":"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/","title":{"rendered":"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Almost every &#8220;my VPS feels slow&#8221; ticket ends with a <code>dd<\/code> test that says 1.2 GB\/s and proves nothing. This is a job-file-first approach to disk benchmarking that produces numbers you can actually act on: random IOPS at realistic queue depth, tail latency, and a repeatable way to catch storage throttling in the act.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why dd numbers are misleading<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># the classic (and useless) test\ndd if=\/dev\/zero of=\/var\/tmp\/test bs=1M count=2048 conv=fdatasync\n# 2.0 GB copied (2147483648 bytes), 1.5 s, 1.3 GB\/s<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">That 1.3 GB\/s is the host page cache plus log buffer merging, not the device. <code>dd<\/code> cannot issue parallel requests, cannot report latency percentiles, and cannot express a mixed read\/write pattern. It is still useful for exactly one thing: finding out whether a full disk will accept writes at all.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install fio and run a 60-second 4K random test<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt -y install fio\nmkdir -p \/var\/tmp\/fiotest\n\ncat &gt; \/var\/tmp\/fiotest\/rand4k.fio &lt;&lt;'EOF'\n[global]\ndirectory=\/var\/tmp\/fiotest\nsize=2G\nruntime=60\ntime_based=1\ngroup_reporting=1\nlat_percentiles=1\npercentile_list=50:95:99:99.9\nnorandommap=1\nrandrepeat=0\n\n[randwrite-qd1]\nrw=randwrite\nbs=4k\niodepth=1\n\n[randwrite-qd32]\nrw=randwrite\nbs=4k\niodepth=32\nEOF\n\nsudo fio \/var\/tmp\/fiotest\/rand4k.fio<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Reading the output<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Metric<\/th><th>Example (good NVMe tier)<\/th><th>Example (throttled shared storage)<\/th><\/tr><\/thead><tbody><tr><td>randwrite 4k qd1 IOPS<\/td><td>18,000<\/td><td>420<\/td><\/tr><tr><td>randwrite 4k qd32 IOPS<\/td><td>96,000<\/td><td>1,900<\/td><\/tr><tr><td>clat p50 \/ p99<\/td><td>0.05 ms \/ 0.31 ms<\/td><td>2.3 ms \/ 41 ms<\/td><\/tr><tr><td>Sequential 1M read<\/td><td>3.1 GB\/s<\/td><td>210 MB\/s<\/td><\/tr><tr><td>IOPS at 90 s vs 5 s<\/td><td>-4%<\/td><td>-88%<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Two rules of thumb: a healthy NVMe-backed plan keeps qd1 4K writes above 5,000 IOPS and p99 latency under 1 ms. If qd32 barely improves on qd1 (under 2x), the provider is capping queue depth or IOPS &#8211; parallelism is being queued artificially.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sequential and mixed workloads<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>cat &gt; \/var\/tmp\/fiotest\/seq.fio &lt;&lt;'EOF'\n[global]\ndirectory=\/var\/tmp\/fiotest\nsize=4G\nruntime=45\ntime_based=1\ngroup_reporting=1\n[seqread]\nrw=read\nbs=1M\niodepth=8\n[mixed-70-30]\nrw=randrw\nrwmixread=70\nbs=16k\niodepth=16\nEOF\nsudo fio \/var\/tmp\/fiotest\/seq.fio --output-format=normal,terse<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The mixed 70\/30 test is the closest single proxy for a database plus web server sharing one volume. If mixed IOPS is less than 40% of the pure-write figure, expect query latency to spike whenever a backup or image resize runs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Catching throttling in the act<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run the same job continuously and print a line per 10-second window. A flat curve means real capacity; a step down that never recovers means a token-bucket cap. The watchdog below logs the cliff with a timestamp.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>for i in $(seq 1 30); do\n  fio --name=watch --directory=\/var\/tmp\/fiotest --rw=randwrite --bs=4k \\\n      --iodepth=16 --size=1G --runtime=10 --time_based --group_reporting \\\n      --output-format=json 2&gt;\/dev\/null | \\\n  python3 -c \"import json,sys;d=json.load(sys.stdin)['jobs'][0];print(f\\\"{__import__('time').strftime('%H:%M:%S')} iops={d['write']['iops']:.0f} p99={d['write']['clat_ns']['percentile']['99.000000']\/1e6:.2f}ms\\\")\"\ndone | tee \/var\/tmp\/fiotest\/ramp.log<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Confirm a provider cap rather than a slow device by checking the accounting counters &#8211; container-based VPSes expose the throttle events directly:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/sys\/fs\/cgroup\/io.stat 2&gt;\/dev\/null\ncat \/sys\/fs\/cgroup\/blkio\/*.throttle.io_service_bytes 2&gt;\/dev\/null\niostat -x 5 3 | egrep 'Device|nvme|vda|sda'<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Pick the test that matches your workload<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Workload<\/th><th>fio parameters<\/th><th>Metric to watch<\/th><\/tr><\/thead><tbody><tr><td>MySQL \/ PostgreSQL OLTP<\/td><td>randrw, bs=16k, rwmixread=70, iodepth=32<\/td><td>p99 clat<\/td><\/tr><tr><td>Redis AOF or WAL-heavy writes<\/td><td>write, bs=4k, iodepth=1, fsync=1<\/td><td>IOPS at qd1<\/td><\/tr><tr><td>Backup and log shipping<\/td><td>write, bs=1M, iodepth=8<\/td><td>sustained MB\/s<\/td><\/tr><tr><td>Static file serving<\/td><td>randread, bs=128k, iodepth=16<\/td><td>MB\/s and CPU cost<\/td><\/tr><tr><td>Container image pulls<\/td><td>randread, bs=1M, numjobs=4<\/td><td>aggregate MB\/s<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Add <code>--fsync=1<\/code> for database-style writes and the numbers will fall sharply on consumer-grade storage. That gap between buffered and fsync throughput is frequently larger than the difference between two hosting tiers, which is exactly why a single buffered test can lead you to the wrong conclusion.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Turn the numbers into a decision<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Keep the JSON output of every run. A month-old baseline is the only way to prove a node got busier.<\/li><li>Benchmark at the traffic hour, not at 3 a.m., and note the time in the filename.<\/li><li>Test the volume you actually use &#8211; separate data volumes can be faster or slower than the root disk.<\/li><li>Re-run after any plan change; provider migrations reset your assumptions.<\/li><\/ul>\n\n\n\n\n<h2 class=\"wp-block-heading\">Keep a baseline file, not a screenshot<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A benchmark is only useful if it can be compared later. Write results to a dated file with the environment attached, so a support ticket or a plan upgrade can be judged against evidence rather than memory.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p ~\/bench\nOUT=~\/bench\/$(date -u +%Y%m%dT%H%MZ)-$(hostname).txt\n{\n  echo \"== environment\"; lscpu | egrep 'Model name|CPU\\(s\\)'; uname -r; df -h \/\n  echo \"== randread 4k qd32\"\n  fio --name=r --directory=\/var\/tmp\/fiotest --rw=randread --bs=4k --iodepth=32 \\\n      --size=2G --runtime=30 --time_based --group_reporting --output-format=json\n} &gt;&gt; \"$OUT\" 2&gt;&amp;1\ngrep -o '\"iops\" : [0-9.]*' \"$OUT\" | head -3<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Run it quarterly, and again the day after any performance ticket. The difference between the same <code>iops<\/code> measurement at 03:00 and at 09:00 tells you more about a provider than a year of uptime graphs.<\/p>\n\n\n<p>If your own numbers show a cliff under load, no guest-side tuning will recover it &#8211; the storage class is the limit. Comparing guarantees, dedicated vCPU, and dedicated volumes is the next step; the <a href=\"https:\/\/virtualserversvps.com\/\">VPS plans with full root access<\/a> page lays out the tiers this test was written against.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Almost every &#8220;my VPS feels slow&#8221; ticket ends with a dd test that says 1.2 GB\/s and proves nothing. This is a job-file-first approach to disk benchmarking that produces numbers&#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":1,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1099","post","type-post","status-publish","format-standard","hentry","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>Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits - 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\/fio-dd-disk-io-benchmark-vps-throttling\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits\" \/>\n<meta property=\"og:description\" content=\"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual Servers VPS Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-11T22:36:12+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\/fio-dd-disk-io-benchmark-vps-throttling\/\",\"url\":\"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/\",\"name\":\"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits - Virtual Servers VPS Blog\",\"isPartOf\":{\"@id\":\"https:\/\/virtualserversvps.com\/blog\/#website\"},\"datePublished\":\"2026-09-11T22:36:12+00:00\",\"author\":{\"@id\":\"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/82a299a8284a66ff49f97c74684724a0\"},\"breadcrumb\":{\"@id\":\"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtualserversvps.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits\"}]},{\"@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":"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits - 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\/fio-dd-disk-io-benchmark-vps-throttling\/","og_locale":"en_US","og_type":"article","og_title":"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits","og_description":"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits","og_url":"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/","og_site_name":"Virtual Servers VPS Blog","article_published_time":"2026-09-11T22:36:12+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\/fio-dd-disk-io-benchmark-vps-throttling\/","url":"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/","name":"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits - Virtual Servers VPS Blog","isPartOf":{"@id":"https:\/\/virtualserversvps.com\/blog\/#website"},"datePublished":"2026-09-11T22:36:12+00:00","author":{"@id":"https:\/\/virtualserversvps.com\/blog\/#\/schema\/person\/82a299a8284a66ff49f97c74684724a0"},"breadcrumb":{"@id":"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/virtualserversvps.com\/blog\/fio-dd-disk-io-benchmark-vps-throttling\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtualserversvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Benchmarking VPS Disk I\/O with fio and dd: Reading IOPS, Latency, and Throttle Limits"}]},{"@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\/1099","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=1099"}],"version-history":[{"count":1,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/posts\/1099\/revisions"}],"predecessor-version":[{"id":1105,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/posts\/1099\/revisions\/1105"}],"wp:attachment":[{"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtualserversvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}