From mboxrd@z Thu Jan 1 00:00:00 1970 From: maus Subject: Re: Are there source codes for Xen-IB? Date: Wed, 1 Jun 2011 14:25:33 +0800 Message-ID: References: <1306147218.20576.79.camel@zakaz.uk.xensource.com> <1306232138.20576.147.camel@zakaz.uk.xensource.com> <1306395870.775.8.camel@zakaz.uk.xensource.com> <1306419040.775.34.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0313614824==" Return-path: In-Reply-To: <1306419040.775.34.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , "Fajar A. Nugraha" List-Id: xen-devel@lists.xenproject.org --===============0313614824== Content-Type: multipart/alternative; boundary=90e6ba4fc57682996b04a4a096e8 --90e6ba4fc57682996b04a4a096e8 Content-Type: text/plain; charset=ISO-8859-1 The Xen-IB I said means VMM-bypass I/O virtualization of InfiniBand on Xen. At the beginning, the link: http://xenbits.xensource.com/ext/xen-smartio.hgI found is for that. However, it looks like Xen-IB(as I said in first line) doesn't exist and no one would know how to build up it, right? Yi-Man 2011/5/26 Ian Campbell > On Thu, 2011-05-26 at 15:04 +0100, maus wrote: > > Hi, > > > > I know use IP-over-IB can let KVM or Xen use IB, but what I have to do > > is like Xen-IB. Not just use IB. > > What is Xen-IB exactly? > > > So, there is no toturial for Xen-IB,right? > > That's right, there is no documentation and anyone who would have been > involved with this stuff is long gone. > > Ian. > > > > > > > Yi-Man > > > > > > > > 2011/5/26 Ian Campbell > > On Wed, 2011-05-25 at 14:40 +0100, maus wrote: > > > Hi, > > > > > > I have a project which is make KVM use InfiniBand. > > > However, since Xen can use InfiniBand through Xen-IB, I want > > to try to > > > make Xen use InfiniBand first. > > > Through that way, I think it may give me some idea about how > > to make > > > KVM use InfiniBand. > > > So, as you said, I just use "Updated defconfig to include > > infiniband > > > driver as modules for dom0/domU" to do? > > > And since I don't know how to I do first for Xen-IB, is > > there any > > > tutorial for Xen-IB? > > > Or does Xen build-in support IB currently? > > > > > > I'm not sure what IB support you expect Xen to have over and > > above the > > driver and utils support, which are functions of the dom0 > > kernel and > > distro and not the hypervisor. > > > > Have you got IB working on a native system? I expect that if > > you do that > > then Xen or KVM will be able to make use of it basically for > > free, i.e. > > configure a VIF on an IP-over-IB bridge or use a local > > IP-over-IB > > address in dom0 for migration etc etc. > > > > Ian. > > > > > > > > > > Yi-Man > > > > > > > > > > > > 2011/5/24 Ian Campbell > > > Please do not top post. > > > > > > On Tue, 2011-05-24 at 11:07 +0100, maus wrote: > > > > Hi, > > > > > > > > There many file in > > > http://xenbits.xensource.com/ext/xen-smartio/ , > > > > which should I use for Xen-IB? > > > > Use the following three? > > > > Updated defconfig to include infiniband driver as > > modules > > > for > > > > dom0/domU > > > > Updating drivers/infiniband to latest. Should > > shrink size of > > > > xen_ib.patch in > > > > Add support for Infiniband into Xen > > > > > > > > > Again, these changesets are >5 years old and have > > not been > > > looked at or > > > maintained since -- I am very sceptical that you > > will find > > > anything of > > > use on a modern Xen system in there. > > > > > > I expect that IB support in the kernels we currently > > use for > > > dom0 is > > > vastly improved over what was available in the > > 2.6.16 tree > > > referenced in > > > the above repository. Perhaps you don't even need > > anything > > > special > > > outside of what is available in the upstream dom0 > > kernel. > > > > > > Perhaps if you explain what you are actually trying > > to achieve > > > then > > > people will be able to better advise you? > > > > > > Ian. > > > > > > > > > > > > > > > > > > > > --90e6ba4fc57682996b04a4a096e8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The Xen-IB I said means VMM-bypass I/O virtualization = of InfiniBand on Xen.
At the beginning, the link:
http://xenb= its.xensource.com/ext/xen-smartio.hg I found is for that.
However, it looks like Xen-IB(as I said in first line) doesn't exist an= d no one would know how to build up it, right?


Yi-Man=A0
2011/5/26 Ian Campbell <Ian.Campbell@eu.citrix.com&= gt;
On Thu, 2011-05-26 at 15:= 04 +0100, maus wrote:
> Hi,
>
> I know use IP-over-IB can let KVM or Xen use I= B, but what I have to do
> is like Xen-IB. Not just use IB.

What is Xen-IB exactly?

> So, there is no toturial for Xen-IB,right?

That's right, there is no documentation and anyone who would have= been
involved with this stuff is long gone.

Ian.

>
>
> Yi-Man
>
>
>
> 2011/5/26 Ian Campbell <Ian.Campbell@eu.citrix.com>
> =A0 =A0 =A0 =A0 On Wed, 2011-05-25 at 14:40 +0100, maus wrote:
> =A0 =A0 =A0 =A0 > Hi,
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > I have a project which is make KVM use InfiniBand= .
> =A0 =A0 =A0 =A0 > However, since Xen can use InfiniBand through Xen= -IB, I want
> =A0 =A0 =A0 =A0 to try to
> =A0 =A0 =A0 =A0 > make Xen use InfiniBand first.
> =A0 =A0 =A0 =A0 > Through that way, I think it may give me some ide= a about how
> =A0 =A0 =A0 =A0 to make
> =A0 =A0 =A0 =A0 > KVM use InfiniBand.
> =A0 =A0 =A0 =A0 > So, as you said, I just use "Updated defconf= ig to include
> =A0 =A0 =A0 =A0 infiniband
> =A0 =A0 =A0 =A0 > driver as modules for dom0/domU" to do?
> =A0 =A0 =A0 =A0 > And since I don't know how to I do first for = Xen-IB, is
> =A0 =A0 =A0 =A0 there any
> =A0 =A0 =A0 =A0 > tutorial for Xen-IB?
> =A0 =A0 =A0 =A0 > Or does Xen build-in support IB currently?
>
>
> =A0 =A0 =A0 =A0 I'm not sure what IB support you expect Xen to hav= e over and
> =A0 =A0 =A0 =A0 above the
> =A0 =A0 =A0 =A0 driver and utils support, which are functions of the d= om0
> =A0 =A0 =A0 =A0 kernel and
> =A0 =A0 =A0 =A0 distro and not the hypervisor.
>
> =A0 =A0 =A0 =A0 Have you got IB working on a native system? I expect t= hat if
> =A0 =A0 =A0 =A0 you do that
> =A0 =A0 =A0 =A0 then Xen or KVM will be able to make use of it basical= ly for
> =A0 =A0 =A0 =A0 free, i.e.
> =A0 =A0 =A0 =A0 configure a VIF on an IP-over-IB bridge or use a local=
> =A0 =A0 =A0 =A0 IP-over-IB
> =A0 =A0 =A0 =A0 address in dom0 for migration etc etc.
>
> =A0 =A0 =A0 =A0 Ian.
>
>
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > Yi-Man
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > 2011/5/24 Ian Campbell <Ian.Campbell@eu.citrix.com>
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 Please do not top post.
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 On Tue, 2011-05-24 at 11:07 +0100= , maus wrote:
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > Hi,
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > There many file in
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0http://xenbits.xensource.com/= ext/xen-smartio/ ,
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > which should I use for Xen-I= B?
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > Use the following three?
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > Updated defconfig to include= infiniband driver as
> =A0 =A0 =A0 =A0 modules
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 for
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > dom0/domU
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > Updating drivers/infiniband = to latest. Should
> =A0 =A0 =A0 =A0 shrink size of
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > xen_ib.patch in
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > Add support for Infiniband i= nto Xen
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 Again, these changesets are >5= years old and have
> =A0 =A0 =A0 =A0 not been
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 looked at or
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 maintained since -- I am very sce= ptical that you
> =A0 =A0 =A0 =A0 will find
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 anything of
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 use on a modern Xen system in the= re.
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 I expect that IB support in the k= ernels we currently
> =A0 =A0 =A0 =A0 use for
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 dom0 is
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 vastly improved over what was ava= ilable in the
> =A0 =A0 =A0 =A0 2.6.16 tree
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 referenced in
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 the above repository. Perhaps you= don't even need
> =A0 =A0 =A0 =A0 anything
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 special
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 outside of what is available in t= he upstream dom0
> =A0 =A0 =A0 =A0 kernel.
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 Perhaps if you explain what you a= re actually trying
> =A0 =A0 =A0 =A0 to achieve
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 then
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 people will be able to better adv= ise you?
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 Ian.
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 >
>
>
>
>



--90e6ba4fc57682996b04a4a096e8-- --===============0313614824== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0313614824==--