WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

Re: [Xen-users] Changing MTU of vif

To: Tracy R Reed <treed@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Changing MTU of vif
From: Tom Brown <xensource.com@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 8 Apr 2008 15:06:06 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2008年4月08日 15:06:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47E94507.5050409@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47E8A423.4020504@xxxxxxxxxxxxxxx> <008e01c88e660ドルdefd91027ドルc909c0@xxxxxxxxxxxx> <47E94507.5050409@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
AoE with Xen works perfectly for me. The only problem is that it is rather challenging to set up. You should be a pretty experienced sysadmin to get it going. I have set up a website at http://xenaoe.org where I am documenting my whole setup and promoting the idea. I still need to get my initrd up there (pretty
I'd like to have heard your thoughts on the various AOE target implimentations (vblade, kernel-vblade, qaoed, etc...)
----
I did come up with a crude fix for your vif-bridge problem...
 log debug "Successful vif-bridge $command for $vif, bridge $bridge."
 if [ "$command" == "online" ]
 then
 success
 fi
after the "success" command, I added the following
 (sleep 10; ifconfig "$vif" mtu 5200) &
e.g.
 log debug "Successful vif-bridge $command for $vif, bridge $bridge."
 if [ "$command" == "online" ]
 then
 success
 do_without_error ifconfig "$vif" mtu 5200
 (sleep 10; ifconfig "$vif" mtu 5200) &
 fi
If you're not familiar with the syntax, the parenthesis cause a
another shell to be forked with the enclosed commands, and the
ampersand puts it in the background, so the main vif-bridge
script basically forks a child to sleep and tweak the mtu after a
delay.
It is not pretty, it is not clean, but then having a script like
the following run every 60 seconds isn't clean or pretty either:
#!/bin/bash
#
cd /sys/class/net/xenbr0/brif/ for f in * ; do
 echo ifconfig $f mtu 5200;
ifconfig $f mtu 5200; done
(why did I pick 5200? Because I wanted the system to use 4096
byte aoe transfers. )
(Oh, and from what I have seen, the MTU on the bridge device doesn't need to be set... it is automatically the smallest MTU of any of the interfaces attached to the bridge.)
-Tom
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Changing MTU of vif, Tom Brown <=
Previous by Date: Re: [Xen-users] img file to physical disk , Mark Williamson
Next by Date: Re: [Xen-users] DomU multiple interfaces possible? , Fong Vang
Previous by Thread: [Xen-users] DomU multiple interfaces possible? , Cameron Camp
Next by Thread: Re: [Xen-users] multiple bridges, but only peth0 , Fong Vang
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /