From: "Yuvraj Agarwal" Subject: FW: using OCAML xenstored Date: Tue, 25 May 2010 21:31:15 -0700 (PDT) Message-ID: <000201cafc8c$47deb880$d79c2980$@cs.ucsd.edu> References: <20100523135955.GK17817@reaktio.net> <680619.83345.qm@web56108.mail.re3.yahoo.com> <0d2e01cafc2f$59453250$0bcf96f0$@ucsd.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1822587373==" Return-path: In-Reply-To: <0d2e01cafc2f$59453250$0bcf96f0$@ucsd.edu> Content-Language: en-us List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: 'xen-devel' List-Id: xen-devel@lists.xenproject.org This is a multipart message in MIME format. --===============1822587373== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01CAFC51.9B81B540" Content-Language: en-us This is a multipart message in MIME format. ------=_NextPart_000_0003_01CAFC51.9B81B540 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Just posting this on the list too in case anyone else has experience with the OCAML version of xenstored=85. --Yuvraj From: Yuvraj Agarwal [mailto:yuvraj@cs.ucsd.edu] Sent: Tuesday, May 25, 2010 10:26 AM To: 'Boris Derzhavets'; 'Pasi K=E4rkk=E4inen' Subject: RE: [Xen-devel] using OCAML xenstored Hi Boris and Pasi, I checked out the latest xen-testing from mercurial, and edited the Config.mk file to have the OCAML version of xenstored built. I checked and made sure that I have all the patches, and my xm info shows 4.0.1-rc1. After that I built using: make xen; make tools; make stubdom make install-xen; make install-tools PYTHON_PREFIX_ARG=3D; make install-stubdom Unfortunately, it looks like even though the new OCAML version of xenstored is built, it appears in /usr/bin/xenstored instead of the usual =93/usr/sbin/xenstored=94 and the default part of the xenstored to use is= the standard one (not the OCAML one)=85 Just FYI: This is an Ubuntu 10.04 64 bit system. root@ BlackBox:/# ll /usr/bin/xenstored (new OCAML xenstored I just built..) -rwxr-xr-x 1 root root 925039 2010-05-25 10:15 /usr/bin/xenstored root@ BlackBox:/# ll /usr/sbin/xenstored (<< Standard C xenstored) -rwxr-xr-x 1 root root 94728 2010-05-01 00:36 /usr/sbin/xenstored root@ BlackBox:/# which xenstored /usr/sbin/xenstored root@BlackBox:/# thanks Yuvraj From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Boris Derzhavets Sent: Sunday, May 23, 2010 11:47 AM To: Yuvraj Agarwal; Pasi K=E4rkk=E4inen Cc: xen-devel@lists.xensource.com Subject: Re: [Xen-devel] using OCAML xenstored > 4. "make xen", make "tools" and then the "make xen-install" and "make > install-tools PYTHON_PREFIX_ARG=3D" make install-tools PYTHON_PREFIX_ARG=3D Wrong syntax when install tools Boris BTW. Just a notice. --- On Sun, 5/23/10, Pasi K=E4rkk=E4inen wrote: From: Pasi K=E4rkk=E4inen Subject: Re: [Xen-devel] using OCAML xenstored To: "Yuvraj Agarwal" Cc: xen-devel@lists.xensource.com Date: Sunday, May 23, 2010, 9:59 AM On Sat, May 22, 2010 at 05:48:58PM -0700, Yuvraj Agarwal wrote: > Hi All, > > I would like to give the OCAML version of xenstored a shot, since the > older version (in C) takes a long time to start up a large number of VMs. > I have a new machine (Ubuntu 10.04 64bit) that I plan to give this a tr= y > with. Is there something else that I need to do besides the following: > > 1. Build the 2.6.32 pvops kernel as specified in: > http://wiki.xensource.com/xenwiki/XenParavirtOps > < DONE > > 2. Download the xen-4.0.0 stable version from > http://www.xen.org/products/xen_source.html > 3. change Config.mk flag CONFIG_OCAML_XENSTORED ?=3D n to "y" as" > CONFIG_OCAML_XENSTORED ?=3D y > 4. "make xen", make "tools" and then the "make xen-install" and "make > install-tools PYTHON_PREFIX_ARG=3D" > > Is there something else needed? Are there any recent patches to the OCAML > xenstored that I need to apply? > Just browse through http://xenbits.xen.org/xen-unstable.hd and http://xenbits.xen.org/xen-4.0-testing.hg changelogs. xen-4.0-testing.hg is currently at 4.0.1-rc1 stage. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_NextPart_000_0003_01CAFC51.9B81B540 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi, Just posting this on the list too in case anyone else has = experience with the OCAML version of xenstored…. =

 

--Yuvraj

 

From:= = Yuvraj Agarwal [mailto:yuvraj@cs.ucsd.edu]
Sent: Tuesday, May = 25, 2010 10:26 AM
To: 'Boris Derzhavets'; 'Pasi = K=E4rkk=E4inen'
Subject: RE: [Xen-devel] using OCAML = xenstored

 

Hi Boris and Pasi,

I checked out the latest xen-testing from = mercurial, and edited the Config.mk file to have the OCAML version of = xenstored built.

I checked and made sure that I have all the patches, and my xm info = shows 4.0.1-rc1. After that I built using:

make xen; make tools; make stubdom

make install-xen;
make install-tools =
PYTHON_PREFIX_ARG=3D;

make install-stubdom

 

Unfortunately, it looks like even though the new OCAML version of = xenstored is built, it appears in /usr/bin/xenstored instead of the = usual “/usr/sbin/xenstored” and the default part of the = xenstored to use is the standard one (not the OCAML one)… =  

Just FYI: This is an Ubuntu 10.04 64 bit system. =

root@ BlackBox:/# ll /usr/bin/xenstored   (new OCAML = xenstored I just built..)

-rwxr-xr-x 1 root root 925039 2010-05-25 10:15 = /usr/bin/xenstored

 

root@ BlackBox:/# ll = /usr/sbin/xenstored         =             &= nbsp;           &n= bsp; (<< Standard C xenstored)  

-rwxr-xr-x 1 root root 94728 2010-05-01 00:36 = /usr/sbin/xenstored

 

root@ BlackBox:/# which xenstored

/usr/sbin/xenstored

root@BlackBox:/#

 

thanks

Yuvraj

 

 <= /o:p>

From:= = xen-devel-bounces@lists.xensource.com = [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Boris = Derzhavets
Sent: Sunday, May 23, 2010 11:47 AM
To: = Yuvraj Agarwal; Pasi K=E4rkk=E4inen
Cc: = xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] using = OCAML xenstored

 

> 4. = "make xen", make "tools"  and then the = "make xen-install" and "make
> install-tools = PYTHON_PREFIX_ARG=3D" 

make install-tools = PYTHON_PREFIX_ARG=3D

Wrong syntax when install = tools

Boris
BTW. Just a notice.

--- On Sun, 5/23/10, = Pasi K=E4rkk=E4inen <pasik@iki.fi> = wrote:


From: Pasi K=E4rkk=E4inen <pasik@iki.fi>
Subject: Re: = [Xen-devel] using OCAML xenstored
To: "Yuvraj Agarwal" = <yuvraj@cs.ucsd.edu>
Cc: xen-devel@lists.xensource.c= om
Date: Sunday, May 23, 2010, 9:59 AM

On Sat, May 22, 2010 at 05:48:58PM -0700, Yuvraj = Agarwal wrote:
> Hi All,
>
> I would like to give the = OCAML version of xenstored a shot, since the
> older version (in = C) takes a long time to start up a large number of VMs.
> I have a = new machine (Ubuntu 10.04 64bit) that I plan to give this a try
> = with. Is there something else that I need to do besides the following: =
>
> 1. Build the 2.6.32 pvops kernel as specified = in:
> http://wiki.xensource.com/xenwiki/XenParavirtOps&nb= sp;  
>    < DONE > 
> 2. = Download the xen-4.0.0 stable version from
> http://www.xen.org/products/xen_source.html =
> 3. change Config.mk flag CONFIG_OCAML_XENSTORED ?=3D n to = "y"  as"
>    = CONFIG_OCAML_XENSTORED ?=3D y
> 4. "make xen", make = "tools"  and then the "make xen-install" and = "make
> install-tools PYTHON_PREFIX_ARG=3D"  =
>
> Is there something else needed?  Are there any = recent patches to the OCAML
> xenstored that I need to = apply?
>

Just browse through http://xenbits.xen.org/xen-unstable.hd and http://xenbits.xen.org/xen-4.0-testing.hg = changelogs.

xen-4.0-testing.hg is currently at 4.0.1-rc1 = stage.

-- = Pasi


_______________________________________________
Xen-de= vel mailing list
Xen-devel@lists.x= ensource.com
http://lists.xensource.com/xen-devel

=

 =

------=_NextPart_000_0003_01CAFC51.9B81B540-- --===============1822587373== 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 --===============1822587373==--