I wrote my last blog on this topic 6 months ago. Meanwhile I have seen several firmware and driver updates from Emulex, usually followed by HP several weeks later. I’m still talking about the ongoing VMQ problems with HP/Emulex 554FLB CNAs in HP BL460c Gen 8 blade servers in c7000 blade enclosures. Meanwhile I have tested several incarnations of this firmware/driver combination in our own Azure Pack cloud environment. I already found out in previous attempts, that a switch to new Emulex firmware and HP/Emulex drivers, including the switch from VMQ disabled to enabled, can be disruptive and hosts and VMs need to be restarted if things turn bad.
And it did turn bad on all four occasions I tried until now. In July 2014 our hopes were raised by Emulex when Mark Jones from Emulex posted the first update on July 23 2014. I tried them out but not until HP released their OEM specific driver for the CNA. It didn’t take me very long to find out that my test guest cluster quickly got disconnected during a live migration with one node being evicted from the cluster during the black-out. First opportunity: failed
On August 4 a special release was issued for non-OEM Emulex branded cards. I decided not to try this out on our HP/Emulex CNAs. I later found out that some people who tried had to call in HP to replace their servers. Second opportunity: Ignored
Just over a month later, another update appeared on the Emulex blog letting us know that HP versions of the firmware/drivers had been made publicly available. Previous versions had been considered but we found a mystery insider in the comments of our blog stating:
Without revealing NDA information, the HP driver released in September is not really a fix, it is also a workaround, with some caveats that don’t appear in the published notes. My understanding is that the fix delivered by Emulex was considered unstable by HP, and a truly “fixed” driver won’t be released until sometime in Q1 2015.
I didn’t have to think long. Third opportunity: Ignored
![]()
On October 21st 2014, another update appeared on the Emulex blog. I had become very suspicious of again another update and lacked the time or drive to once more spend many hours testing this version. What changed my mind was when fellow Hyper-V MVP Patrick Lownds sent a message to one of the MVP distribution lists, letting us know that HP had released their OEM version of the HP/Emulex 554FLB firmware and driver.
HP version of Emulex firmware/driver for Windows Server 2012 R2
HP Emulex 10/20 GbE Driver for Windows Server 2012 R2: cp025338.exe (10.2.452.1)
HP Firmware Flash for Emulex Converged Network Adapters: cp025355.exe (10.2.340.25)
Note these versions are different from the ones mentioned on the Emulex site. Just after I had received news of the HP update, I was able to download cp025355.exe from the above location, but later I heard from other testers that the downlink button had disappeared and the version date had changed to 1 Jan 3000.
[image not preserved in the archive]
During a call with the MS Networking team and Emulex, the following versions were confirmed as being up-to-date for the HP/Emulex 554FLB CNA:
Firmware: 10.2.340.25
ftp://ftp.hp.com/pub/softlib2/software1/sc-windows-fw-sys/p1035647964/v103829
[image not preserved in the archive]
Driver: 10.2.452.1
ftp://ftp.hp.com/pub/softlib2/software1/sc-windows/p485589684/v103795
[image not preserved in the archive]
In my previous blog, I had already written that perhaps also the Windows networking/teaming stack could be involved.
… got over 200 comments from customers all over the world seeing the same problem, the majority of them having Emulex through an OEM like HP, Dell, IBM and Cisco. In fact we also read similar cases with HP rack servers, other NICs and different hardware combinations which led me to believe there could also be an issue in the networking/teaming stack in Windows Server 2012 R2.
In fact it is …
Assuming that the November 2014 Update Rollup for Windows Server 2012 R2 (KB3000850) already contained relevant fixes for the networking stack in Windows Server 2012 R2, I also included this rollup in my tests. In fact KB3000850 looks like another big update rollup:
This November update rollup also includes all previous updates since the previous image update in April 2014. This is a convenient single step to bring Windows clients and servers up to date
In other words, if you install the April 2014 version of Windows Server 2012 R2 with Update combined with KB3000850, you have a nearly complete image.
[image not preserved in the archive]
So when I started my tests by enabling VMQ, I had:
- Updated the Emulex firmware
- Updated the Emulex driver
- Updated up-to-and-including KB3000850
- Enabled VMQ (both Transmit and Virtual Machine Queues settings)
- Rebooted the cluster nodes
[image not preserved in the archive]
As you can see the two ports forming the NIC team and the Hyper-V switch port had VMQ enabled and 60 VMQ queues were available in a Sum-of-Queues configuration with the team in Switch Independent mode and with Dynamic Load Balancing.
[image not preserved in the archive]
When I fired up the ‘test guest cluster’ to see what happened with the cluster nodes while spreading them across the physical cluster, I must have looked kind of stunned.
The cluster kept running and the live migrating VM only missed two pings. I repeated my tests and the cluster just kept running. I fired up a few more VMs and saw that they started getting assigned to VMQ Queues.
[image not preserved in the archive]
Just to keep things simple, I had not yet re-assigned CPUs for specific NIC ports, so that’s why Processor 0:0 is shown.
Copying a 4GB file between VMs already showed much better performance although Jose Barreto already clearly pointed out that Using file copy to measure storage performance – Why it’s not a good idea and what you should do instead. Nevertheless I had never seen anything better than 50MB per second with VMQ disabled, so this looked promising.
[image not preserved in the archive]
I then started loading all 55 VMs on one Hyper-V cluster node. You might thing this would fit because I had 60 VMQ queues available. However, many of our VMs are guest clusters or load balanced VMS which have 2 or more Virtual Machine adapters. I tested a maintenance mode on one of the cluster nodes with all VMs on it and see if after a live migration, the VMQ queues were maintained on the other cluster node.
Here is where things went horribly wrong. VMs again lost connections and were not all given a queue. Fourth opportunity: Failed
So I made another change, providing each NIC its own independent processor set, moving the NICs off the base processor 0.
[image not preserved in the archive]
In this case the VMQs would always be allocated on processor 0. Unfortunately, reconfiguring VMQ did not improve the situation as we saw VMQ calls keep on failing: Event ID 113 Failed to allocate VMQ for NIC [NIC Name]).
Of course live migrating 50+ VMs with 60+ VM Network Adapters, virtual switch ports are added and deleted very quickly and a certain amount of time is needed to rebalance the available VMQ queues. We now assume that this rebalancing is what we notice when VMs start losing their connection. Sometimes a VM will recover and sometimes it won’t.
The Microsoft Networking team informed us that they are working on a hotfix that is exactly aimed at solving this problem. There is not a final release date set yet, but we have good hopes for January 2015 or February 2015 at the latest.
My advice for you is to try the current HP/Emulex firmware/driver combination mentioned in this blog, but only in a test environment. If your environment has a limited amount of VMs per host, you might be good. But if you are running production workloads, I simply recommend you wait till the upcoming Microsoft hotfix has been released or included in the Windows Update Rollup.
You are always welcome to report the effects of your tests as a comment to this blog. I can assure you the ones working on a solution for this bug keep an eye on this blog.
Hopefully I have shed enough details about what is really going on under the hood. I’m looking forward to finally closing this awkward story. Rest assured that the knowledge gained in the previous year will be included in the development of the new networking stack in vNext, which is going to be a very exciting story!
Will be continued …