Qualche giorno fa stavo configurando un server Microsoft Windows Server 2012 R2 e la funzionalità di virtualizzazione Hyper-V. Preparo tutto ed installo la macchina virtuale (VM) necessaria. Arrivato il momento di mettere i dati a disposizione degli utenti in rete mi accorgo che la copia di documenti dalla rete verso la macchina virtuale e viceversa è molto lenta.
Effettuo alcune prove: copio dati dal server fisico Hyper-V alla macchina virtuale e tutto funziona normale, separo il teaming delle schede di rete, resetto lo switch fisico, ecc. Nulla da fare!
Se copio dati dalla rete al server fisico Hyper-V la velocità è di 50MBps, se copio i dati sulla macchina virtuale la velocità scende drasticamente a 100KBps.
Frustrato ed incazzato cerco in Internet una soluzione. Qualcuno che come me abbia riscontrato la stessa anomali. Ad un tratto, quasi inaspettato, un articolo su un blog mi illimina e mi salva!
Il problema sembra causato dalla funzionalità ‘Virtual Machine Queues’ con i driver della scheda di rete Broadcom Network Card.
Disabilitando tale funzione il problema non si manifesta!
Fonte: blog.osmicro.org
Cos’è la ‘Virtual Machine Queues’?
Virtual machine queue (VMQ) is a feature available to computers running Windows Server 2008 R2 with the Hyper-V server role installed, that have VMQ-capable network hardware. VMQ uses hardware packet filtering to deliver packet data from an external virtual machine network directly to virtual machines, which reduces the overhead of routing packets and copying them from the management operating system to the virtual machine.
When VMQ is enabled, a dedicated queue is established on the physical network adapter for each virtual network adapter that has requested a queue. As packets arrive for a virtual network adapter, the physical network adapter places them in that network adapter’s queue. When packets are indicated up, all the packet data in the queue is delivered directly to the virtual network adapter. Packets arriving for virtual network adapters that don’t have a dedicated queue, as well as all multicast and broadcast packets, are delivered to the virtual network in the default queue. The virtual network handles routing of these packets to the appropriate virtual network adapters as it normally would.
Requirements for VMQ
- The management operating system must be running Windows Server 2008 R2.
- The physical network adapter handling the traffic on the management operating system must support VMQ.
- The virtual machines must be running Windows 7or Windows Server 2008 R2 or running Windows Server 2008 or Windows Vista with the Integration Services Setup Disk installed. Virtual machines running earlier versions of Windows cannot use VMQ.
Fonte: Microsoft
ok perfetto grazie stesso problema risolto velocemente
Stesso problema su server HP con Sk rete Broadcom Nextreme Gigabit risolto disabilitando Code macchine virtuale.
Grazie mi avete evitato lunghi e noiosi test per identificare il problema.
Ma mi chiedo? Perché viene abilitato di default quando si sa che causa problemi?
Cesare