Windows Drivers

From ProfitBricks Online Help
Jump to: navigation, search

The Windows VirtIO drivers must be installed in order to use your Windows software at ProfitBricks. The VirtIOs are preinstalled in the images provided by ProfitBricks and don't require any intervention from your side.

Note: Please ensure to use the latest version of our Windows Virt-I/O drivers.

Contents

Install the VirtIO Drivers

Windriver virtio.png

ProfitBricks offers a default ISO image option to easily manage your VirtIO driver installation.

For the installation of the VirtIO drivers for Windows Server 2012 (R2) and Windows Server 2008 (R2) you will need to start the installation menu. Add the ISO image "windows-VirtIO-driver.iso" to the CD-ROM/DVD Drive and restart your system.


Optimal Settings

MTU Values
internal networkinterface 64000 MTU
external networkinterface 1500 MTU
Checksum Offload: Offloading for Receive (RX) and Transmit (TX)
Offload Tx IP checksum deactivated
Offload Tx LSO deactivated
Offload Tx TCP checksum deactivated
Fix IP checksum on LSO deactivated
Hardware checksumming deactivated
Deactivate TCP Chimney by Command line

Standard:

netsh int tcp set global chimney=disabled

Switch off everything:

rss=disabled
chimney=disabled
congestionprovider=none
netdma=disabled dca=disabled
ecncapability=disabled
timestamps=enabled

Alternatively via the Windows Registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"EnableTCPA"=dword:00000000
"EnableRSS"=dword:00000000
"EnableTCPChimney"=dword:00000000

The installation will be active after a restart.

Settings for any external network adapter

You can automatically set the correct settings for any external network adapter by running the following commands in PowerShell:

  • Get your network adapter information: Get-NetAdapter
The following output will be displayed:
Network-adapter-output1-EN.png
  • Use the Name field that is returned above in place of “Ethernet”.
  • Create a new file using PowerShell ISE (File > New).
  • Paste the following code in the available text window ensuring to change $name ="Ethernet" to the correct settings:
Clear-Host
$name ="Ethernet"
Set-NetAdapterAdvancedProperty-name $name -RegistryKeyword "MTU" -Registryvalue 1500
Set-NetAdapterAdvancedProperty -name $name -RegistryKeyword "*rss" -Registryvalue 0
Set-NetAdapterAdvancedProperty -name $name -RegistryKeyword"*TCPChecksumOffloadIPv4" -Registryvalue 0
Set-NetAdapterAdvancedProperty -name $name -RegistryKeyword "*UDPChecksumOffloadIPv4" -Registryvalue 0
netsh interface tcp set global chimney=disabled
netsh interface tcp set global autotuninglevel=normal
netsh interface tcp set global netdma=disabled
netsh interface tcp set global dca=disabled
netsh interface tcp set global ecncapability=disabled
netsh interface tcp set global timestamps=enabled
Get-NetAdapterAdvancedProperty
netsh int tcp show global
  • Click File > Run.
The following output is displayed:
Network-adapter-output2-EN.png
  • Verify the settings.
  • Reboot the VM.

The correct settings will be applied automatically.

Activate TCP/IP Auto Tuning

TCP/IP auto tuning enables fast, efficient data transfer between the client and the server. It monitors the network traffic and automatically adjusts the 'Receive Windows Size'. To avoid performance drops, it is recommended to always enable this option.

To Enable Auto-Tuning by Command line:

netsh interface tcp set global autotuninglevel=normal

To Check Auto-Tuning Status:

netsh interface tcp show global
Personal tools
Namespaces

Variants
Actions
Online Help
Introduction
First Steps in the Data Center Designer
Elements and Functions
Information
Tutorials
FAQ
Glossary
DevOps Central Website
Tools