Home > Blogs > VMware VROOM! Blog


Turbo-charge View Video Performance

For desktop VMs using VMXnet3 NICs, you can significantly improve the peak video playback performance of your View desktop by simply setting the following registry setting to the value recommended by Microsoft:

HKLM\System\CurrentControlSet\Services\Afd\Parameters\FastSendDatagramThreshold to 1500

[As discussed in a Microsoft KB article here]

[N.B. A reboot of the desktop VM is required after changing this registry setting]

When running full-screen videos at 1080p resolution on a 2vCPU desktop, we see this deliver frame-rate improvements of up to 1.4X.

So, what does this do and why does it deliver these benefits?

The VMXNET3 adapter is a paravirtualized NIC designed for performance that, as of vSphere 5, supports interrupt coalescing. Virtual interrupt coalescing is similar to a physical NICs interrupt moderation and is useful in improving CPU efficiency for high throughput workloads. Unfortunately, out-of-the-box, Windows does not benefit from interrupt coalescing in many scenarios (those sending packets larger than 1024-bytes), because after sending a packet, Windows waits for a completion interrupt to be delivered before sending the next packet. By setting ParametersFastSendDatagramThreshold to the Microsoft recommended value of 1500 bytes you instruct Windows not to wait for the completion interrupt even when sending larger packets. Accordingly, you are allowing View and PCoIP (as well as other applications that send larger packets) to benefit from interrupt coalescing – reducing CPU load and improving network throughput for PCoIP  — which translates into significantly improved video playback performance.

9 thoughts on “Turbo-charge View Video Performance

  1. How do things work when using E1000 virtual adapters for example? Would adjusting this registry key help at all?

    As it is a change to the way Winsock handles UDP packets I would have thought so – but curious to know as the above mentions specifically with regard VMXNET3 adapters.

  2. Pingback: Let Us GO Virtual – How to Turbo-Charge your Video Performance in VMware View Environemnt.

  3. Pingback: Significantly improve your View video playback performance

    • for what its worth Having deployed a win7 vm from MDT using the TS.xml from the Win 7 optimisation guide as of Jan 2013 the necessary registry entry wasn’t included for this.

  4. Pingback: View Accelerated – 3D Graphics with Horizon View 5.2

  5. Hey There. I found your blog the usage of msn. That is a really neatly written article. I will make sure to bookmark it and come back to learn more of your useful information. Thank you for the post. I will certainly return.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>