Solved

ESXi Disk write latency always gone up to above 65 ms every morning between 6 - 7 AM ?

Posted on 2010-11-08
12
4,255 Views
Last Modified: 2012-05-10
Hi All,

I'd like to know what could be the problem or indication if I got this warning every morning between 6 AM - 7 AM ?

Status: Warning (Yellow)
Alarm: Host disk write latency
Time: 6/11/2010 6:26:56 AM
Level of Disk write latency is above 65 Millisecond

Open in new window


FYI:

ESXi 4.0 with local VMFS datastore of RAID-1
2x 1 TB WDC10EARS 64 MB buffer 7200 rpm SATA-II

it happens just in the morning when there is no significant workload in the server (it is still outside of business hours).

any kind of suggestion would be greatly appreciated.

Thanks.
0
Comment
Question by:jjoz
12 Comments
 
LVL 2

Expert Comment

by:Slouzer
ID: 34083194
Check for automated antivirus checks or that the backups are not still running?
0
 
LVL 1

Author Comment

by:jjoz
ID: 34083224
Thanks for the reply man,

This is the model of my hard disk drive: http://www.wdc.com/en/products/products.asp?DriveID=866

I don't know why it is happening with a patterns consistently between those time frame.
0
 
LVL 47

Expert Comment

by:dlethe
ID: 34083697
There HAS to be at least one new job running between 6-7AM to account for this.  So you're just going to have to find it.   I'd turn off the virtual machines one by one during this window to see which VM is the culprit as a starting point, then you will know where to look.  

Once you know what machine it is, use the native o/s utilities to see what program is chewing up the most CPU & IO and act accordingly.
0
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

 
LVL 1

Author Comment

by:jjoz
ID: 34083748
thanks for the suggestion man, this is production web server so it can't be turned off, but that's a good way to isolate the problem.
If this happens during the business hours continuously then i can understand that there is something wrong with the Hard drive unfortunately it isn't.
0
 
LVL 47

Expert Comment

by:dlethe
ID: 34083878
maybe move the clock on each VM up to 6AM briefly to see if anything kicks off?
0
 
LVL 47

Expert Comment

by:dlethe
ID: 34083902
No way is it a hardware problem. There is nothing in way of automated maintenance that kicks off inside an HDD that would run on this sort of schedule.  The HDD has no internal clock.  It works by cumulative power on hours.   So if you turned off the computer for 30 mins, then if it WAS the HDD,  the window it is slow will be from 6:30 - 7:30.
0
 
LVL 47

Assisted Solution

by:dlethe
dlethe earned 167 total points
ID: 34083920
Also, just use perfmon if windows, iostat if UNIX/LINUX, etc ... on each VM during the performance slow down.  Quite simply, it is slow because the HDD is doing more work.  Find the rogue program.
0
 
LVL 1

Author Comment

by:jjoz
ID: 34083967
ok, I'll try that when i get into the office tomorrow morning.
thanks for the info man.
0
 
LVL 28

Assisted Solution

by:bgoering
bgoering earned 167 total points
ID: 34084606
Two things - (1) watch the performance tab on each VM to see what the disk read/write rate is during the problem period - likely only one of your VMs is causing the issue. Once you identify the troublesome vm you can dig deeper into what precisely it is doing during the problem period.

(2) - Make sure you have battery backed write cache on your raid controller, and that it is configured for "write-back" (as opposed to "write-through") caching. Many performance issues with disk wrties can be traced back to raid controller caching configuration and/or the lack of BBWC.

Hope this helps.
0
 
LVL 29

Accepted Solution

by:
Michael Worsham earned 166 total points
ID: 34086711
One thing you stated is that you are using WD Caviar Green drives. This is part of the main issue.

For VMware ESX/ESXi, Server and other virtualized host environments, stick with the WD Caviar Black drives. The 'black' model run at 7200 RPM and are geared to be faster, thus more robust under duress. The 'green' models run at 5400 RPM and have special reduced power consumption capabilities including turning off the drive when not in use. Servers, especially VM-based, will always be active thus not able to take advantage of green-like energy saving modules, thus cause heavy wear and tear on drives that do support them.

Additional reference:
http://www.tomshardware.com/reviews/hitachi-western-digital-terabyte,2017-3.html
0
 
LVL 1

Author Closing Comment

by:jjoz
ID: 34098619
thanks man !
0
 
LVL 1

Author Comment

by:jjoz
ID: 34202940
here's an update to the problem,

I forgot to include the real screenshot from my ESXi, here it is, it averages above 40 ms for both disk command latency and the disk commands issued.

I know that the performance is very slow but i couldn't found anything peculiar in CPU or memory contention.

Is this normal or not OK for a low load web server ?
diskLatencyGraph.jpg
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question