Jump to content

[Tutorial] Link lento nas VMs Citrix XenServer


BRANIX

Recommended Posts

Bom dia!!

Quando iniciei o uso co Citrix XenServer, toda instalação fui tranquila, rapidamente consegui criar VMs, e fazer os processos básicos, mas quando fui colocar em produção, ai a coisa pegou... :( Mesmo com os links de 1Gbps no dedicado as VMs só baixavam a 1Mbps muito ruim, então nas buscas no google encontrei esse link http://www.xenappblog.com/2010/citrix-xenserver-slow-network-performance/

No posta fala sobre o problema e o autor deixa um script que facilita para desabilidar o checksum nas placas físicas e virtuais e com isso a velocidade ficou normal.

Segue parte do texto original:

The second fix you should try if you still have poor network performance is to Disable Checksum on the XenServer interfaces, both the Virtual (VIF) and the Physical (PIF). Be aware that you don’t need to restart the XenServer or the VM’s. This script will do this automatically on all you network interfaces in your XenServer Pool.


echo Setting checksum off on VIFs

VIFLIST=`xe vif-list | grep "uuid ( RO) " | awk '{print $5}'`

for VIF in $VIFLIST

do

echo Setting ethtool-tx=off and ethtool-rx=off on $VIF

xe vif-param-set uuid=$VIF other-config:ethtool-tx="off"

xe vif-param-set uuid=$VIF other-config:ethtool-rx="off"

done

echo Setting checksum off on PIFs

PIFLIST=`xe pif-list | grep "uuid ( RO) " | awk '{print $5}'`

for PIF in $PIFLIST

do

echo Setting ethtool-tx=off and ethtool-rx=off on $PIF

xe pif-param-set uuid=$PIF other-config:ethtool-tx="off"

xe pif-param-set uuid=$PIF other-config:ethtool-rx="off"

done

Bom domingo para todos!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?