VMware Cloud Community
romansoft
Contributor
Contributor

(bug) ESXi 6.5 AHCI - Bad write performance even with legacy AHCI driver in HP Gen8 Microserver

Hi,

I have a HP Gen8 Microserver with upgraded CPU&RAM (Xeon + 16GB RAM), running ESXi 6.5, with 3 WD Red disks, in *AHCI* mode. My idea is to use the server as NAS (xpenology) + also running other VMs in the same time.

Just in case server breaks, I prefer not having B120i extra RAID layer on my disks, so I could mount them on any other hardware (even a real Synology machine). In other words, I went for AHCI, and disabled B120i, even I'll have my server a bit noisier due to fan increase.

So, let's focus in AHCI with ESXi 6.5.

First, I got  a first huge performance problem (horrible 2 MB/s speed!!!) which I solved by disabling Vmware AHCI driver and enabling legacy one (full story here:NXHut - IT and Windows - News: Fix slow disk performance (vmw_ahci driver) in ESXi 6.5 ),

Then, when I thought all was solved... I noticed that write performance is still bad.

My current values with this setup (WD Red 3TB disk) are:

- Read: ~150 MB/s (ok)

- Write:  ~17 MB/s (WRONG!!!!).

(measured with a "dd", launched on a Linux cd rescue .iso inside the VM).

If I get rid of Vmware and boot from linux-USB, and repeat former tests, I got the expected 150 MB/s write speed (instead of 17!!).

It's clear vmware (both legacy and non-legacy AHCI driver) is buggy 😞

Anyone using HP Gen8 in AHCI mode with Esxi with no write speed problems? Any solution?

Thanks in advance.

Cheers,

-r

0 Kudos
1 Reply
gregsn
Enthusiast
Enthusiast

The poor write performance is likely due to ESXi disabling write caching for the drive.  Your linux-USB test probably has write caching enabled which is why it's much faster at writing.  If you want better write performance, you'll need a RAID controller that can (safely) handle the write caching function since ESXi will not.

0 Kudos