VMware Cloud Community
TheVMEvolution
Contributor
Contributor

Slow Disk I/O Performance (CentOS 5.8 Guest 64 Bit)

I am experiencing very slow Disk I/O performance within my CentOS 5.8 64 Bit guests after I load up my applications.

The server load on the guest remains at around 0.50, and I'm getting the following Disk I/O:

# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

16384+0 records in

16384+0 records out

1073741824 bytes (1.1 GB) copied, 286.346 s, 3.7 MB/s

However, if I create a new VM Guest with the same OS in the vSphere client, and run this DD test on a NEW guest, it gets the following (very good) results, but after I load up my applications (even though they use very little cpu and iowait, less than a 0.50 server load) it becomes very slow.

# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 4.51633 seconds, 238 MB/s

What could be the problem? I am using a 4x drive setup in hardware RAID10. I'm using LSI 9260 with BBU.

Additionally I should note that my usage according to the vSphere client on the guest that is experiencing slow Disk I/O is using just 700 MHz of CPU, so its not like my application is io or CPU intensive. I'm using an Intel E3-1240 CPU.

I would appreciate any help as this is very frustrating.

0 Kudos
4 Replies
PlumbumZA
Contributor
Contributor

Hi

We had same issue with Centos64 running Cpanel, Exim.....with 2000 mail users on SuperMicro with 6 disc raid. (Esxi 5)

We moved the VMDK to Netgear nas via NFS with 12 x 7200 rpm 2 TB Constellation drives, with better performance.

Load average in TOP was still 4-10 during peak hours with 8 cores and 6 GB ram, but no other live vm's clould co-exist on the same nas

Problem was sorted by installing single SSD drive and moving the VMDK to the SSD.

Load average now < .5 during peak hours with 4 cores and 3 GB ram.

0 Kudos
eeg3
Commander
Commander

What kind of disk stats are you seeing within the performance tab within the vSphere Client (latency, etc)? Are you using the same type of virtual hardware on new and old? Same hosts?

Blog: http://blog.eeg3.net
0 Kudos
PlumbumZA
Contributor
Contributor

I have not checked the disk performance average in vsphere lately.

I am using the same hardware, same hosts, only changed the datastore to ssd.

At the moment the ssd datastore one hour average write latency is 1.3 and read .7 ms.

11:00 Sunday night here, not much activity on server at the moment.

Should have better stats in 12 hours time

Regards

0 Kudos
PlumbumZA
Contributor
Contributor

Hi

Better stats now.(one hour average)

Read latency on ssd datastore : 1.3 ms with 9 read requests per second

Write latency on ssd datastore : 2.1 ms with 68 write requests per second

Regards

Louis

0 Kudos