[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xl remus - Invoking scripts from xl
On Thu, Jul 18, 2013 at 11:02 AM, George Dunlap <george.dunlap@xxxxxxxxxxxxx> wrote:
Yep. thats what I meant.
Unfortunately no. the IFB names are fixed. If I load the IFB module during "physical" host boot, with modprobe ifb numifbs=20, the module creates a set of 20 ifb devices apriori. No dynamic creation/deletion like vifs.
and no ability to control the naming (they are static: ifb0, ifb1, ... ifb19). May be we could alias it but that doesnt solve the ifb-pool requirement.
I see your point. I was just leaning towards doing this setup (i.e. ingress filtering and traffic redirection to IFB device) only when staring Remus and not when starting the domain.
But as you said, if the user specifies that he wishes that interface output to be buffered, we might as well do this setup in the vif script itself. It incurs very little overhead without Remus anyway.
I agree. Which is why that netbufpool code was added to Remus long time back. Since the ifbs have to be allocated dynamically from the pool, here is what I suggest:
in the domain config: vifs = ['mac=xxxxx,bridge=yyyy,buffer=yes'] in the hotplug script, we can allocate an ifb from the ifb pool and assign an IFB to this vif
and put this mapping into xenstore. xl can later read this mapping, and do the rest when remus is enabled. This would allow the user to specify selectively the set of interfaces on which
output buffering should be installed.
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |