{"id":5634,"date":"2018-08-16T09:45:36","date_gmt":"2018-08-16T14:45:36","guid":{"rendered":"https:\/\/www.poweradmin.com\/blog\/?p=5634"},"modified":"2018-09-13T13:44:15","modified_gmt":"2018-09-13T18:44:15","slug":"current-average-disk-queue-length-counters","status":"publish","type":"post","link":"https:\/\/www.poweradmin.com\/blog\/current-average-disk-queue-length-counters\/","title":{"rendered":"Current &#038; Average Disk Queue Length Counters"},"content":{"rendered":"<p><span style=\"color: #000000;\"><strong><span style=\"font-size: 14px; line-height: 150%; font-family: verdana, geneva, sans-serif;\">By Zo\u00eb Dunning<\/span><\/strong><\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\">This article describes two Windows Performance Monitor disk queue length counters\u2014<strong>Current Disk Queue Length <\/strong>and <strong>Average Disk Queue Length<\/strong>\u2014identifies potential problems, and provides basic solutions. <\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif; font-size: 20px;\"><strong><span style=\"line-height: 150%;\">Overview<\/span><\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\"><strong>\u201c\\Local Disk\\Current Disk Queue Length\u201d<\/strong> is a direct measurement of the number of requests present at the time that the performance data is collected. It also includes requests in service at the time of the data collection. This is an immediate record, not an average over the time interval like Average Disk Queue Length. Multi-spindle disk devices can have multiple requests that are active at one time but other requests are awaiting service. <\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\"><strong>\u201c\\Local Disk\\Average Disk Queue Length\u201d<\/strong> is the average number of both read (Avg. Disk <em>Read<\/em> Queue Length) and write (Avg. Disk <em>Write<\/em> Queue Length) requests that were queued for the selected disk during the performance data interval. Unlike Current Disk Queue Length, Avg. Disk Queue Length is a derived value and not a direct measurement.<\/span><\/p>\n<p>\u00a0<\/p>\n<p><a href=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2018\/08\/c-avg-disk-length.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-5650\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2018\/08\/c-avg-disk-length-300x163.gif\" alt=\"\" width=\"400\" height=\"218\"><\/a><\/p>\n<p style=\"text-align: center;\"><span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\"><span style=\"color: #5cdb5c;\">Green<\/span>= Current Disk Queue Length; <span style=\"color: #2525db;\">Blue<\/span>= Avg. Disk Queue Length<\/span><\/p>\n<p>\u00a0<\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif; font-size: 20px;\"><strong><span style=\"line-height: 150%;\">Potential Problems<\/span><\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\">For both Current and Avg. Disk Queue Length, <span style=\"text-decoration: underline;\">5 or more requests<\/span> per disk could suggest that the disk subsystem is bottlenecked. If the requests per second counter shows a high count, this could indicate low memory issues, and low memory could cause disk performance issues if the disk subsystem has to continuously process paging operations.<\/span><\/p>\n<p>\u00a0<\/p>\n<p>\n<span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\">If the previous interval of the Current Disk Queue Length matches the performance data for the current interval, then the Avg. Disk Queue Length data is an accurate representation of your storage system condition.<\/span><\/p>\n<p>\u00a0<\/p>\n<p>\n<span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\">However, if the Avg. Disk Queue Length is <span style=\"text-decoration: underline;\">greater than 2<\/span> per hard disk for a prolonged period of time, it may produce a bottlenecked system. If you have a RAID system with 8 disks, the Avg. Disk Queue Length should not exceed 16.<\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif; font-size: 20px;\"><strong><span style=\"line-height: 150%;\">Troubleshooting<\/span><\/strong><\/span><\/h2>\n<p><span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\">Having an excess of files that are being accessed will seriously increase your Avg. Disk Queue Length, resulting in a disk bottleneck. Say you have 1,000 1MB files. They will take up more storage space and require more processing than a single 1GB file due to the longer time spent opening and closing all the files. To consolidate the multitude of small files, you may want to consider compressing them into an archive if possible.<\/span><\/p>\n<p>\u00a0<\/p>\n<p>\n<span style=\"font-family: verdana, geneva, sans-serif; font-size: 14px;\">However, this may be time-consuming and not the root issue. If your disk performance is poor, your options are to upgrade your disk, hard drive controller, or implement stripe set. Use the following formula to find the Avg. Disk Queue Time: <strong>Avg. Queue Time = Disk Queue Length x Avg. Disk sec\/Transfer.<\/strong> This will provide you with a relative performance measurement and should be compared with other hard disk drives in your system. The higher the number of requests waiting in the command queue, the slower the disk performance.<\/span><\/p>\n<h2><span style=\"font-family: verdana, geneva, sans-serif; font-size: 20px; color: #003366;\"><strong><span style=\"line-height: 150%; background: white;\">Feedback<\/span><\/strong><\/span><\/h2>\n<p><span style=\"font-size: 14px; line-height: 150%; font-family: verdana, geneva, sans-serif; background: white;\">We\u2019d like to hear from you what you think of this article and whether it helped you or not. What counters would you like us to discuss next?<\/span><\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Zo\u00eb Dunning \u00a0 This article describes two Windows Performance Monitor disk queue length counters\u2014Current Disk Queue Length and Average Disk Queue Length\u2014identifies potential problems, and provides basic solutions. Overview \u201c\\Local Disk\\Current Disk Queue Length\u201d is a direct measurement of the number of requests present at the time that the performance data is collected. It [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":5711,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,57,8],"tags":[71,63,70,59,56,64,62],"class_list":["post-5634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-it","category-how-to","category-monitoring","category-windows","tag-average-disk-queue-length","tag-counters","tag-current-disk-queue-length","tag-monitoring","tag-performance-monitor","tag-troubleshooting","tag-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/5634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/comments?post=5634"}],"version-history":[{"count":5,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/5634\/revisions"}],"predecessor-version":[{"id":5698,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/5634\/revisions\/5698"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media\/5711"}],"wp:attachment":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media?parent=5634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/categories?post=5634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/tags?post=5634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}