All of lore.kernel.org
 help / color / mirror / Atom feed
* uclibc-dom0/xen 2.0.5 trivia
@ 2005-03-21  3:36 Yvette
  2005-03-21  4:03 ` Jacob Gorm Hansen
  0 siblings, 1 reply; 8+ messages in thread
From: Yvette @ 2005-03-21  3:36 UTC (permalink / raw)
  To: xen-devel

Uclibc seems to come up occasionally in the lists, and since I use one
of my uclibc-based build images as a domU,  I thought I'd see for
myself if "no reason Xen _shouldn't work with a uclibc-based dom0"
meant that it _would_ work. (It's quite likely this has already been
addressed and I just missed it.) Admittedly I haven't stress-tested
the result, but the uclibc-based system seems to boot and bring up my
domains as well as the glibc-based one I normally use.

This was Xen 2.0.5, uclibc-snapshot circa July 2004, gcc 3.3.4 and
otherwise relatively standard components. I had to use a few normal
uclibc-type workarounds to get Xen to build (my image has the library
cache disabled, so any Xen check/build scripts that use "ldconfig -p |
grep something.so" fail; xentrace uses some things from argp, so one
would have  to get by without it or use the stand-alone),  but not
many.

Clearly this begs the question of if anybody would need or want such a
system. (I didn't, but now I have one...)

-Yvette


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: uclibc-dom0/xen 2.0.5 trivia
  2005-03-21  3:36 uclibc-dom0/xen 2.0.5 trivia Yvette
@ 2005-03-21  4:03 ` Jacob Gorm Hansen
  2005-03-21  5:35   ` Anthony Liguori
  0 siblings, 1 reply; 8+ messages in thread
From: Jacob Gorm Hansen @ 2005-03-21  4:03 UTC (permalink / raw)
  To: Yvette; +Cc: xen-devel

Yvette wrote:

> Clearly this begs the question of if anybody would need or want such a
> system. (I didn't, but now I have one...)

Yes please, though for me I would want to use this with vm-tools rather 
than the Python toolset. I've done a busybox dom0 myself, but that was 
in the old world where very few user-space tools were needed, and they 
were simple enough that you could easily roll your own. How large are 
your changes to the standard xen tree?

Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: uclibc-dom0/xen 2.0.5 trivia
  2005-03-21  4:03 ` Jacob Gorm Hansen
@ 2005-03-21  5:35   ` Anthony Liguori
  2005-03-21  6:02     ` Yvette
  2005-03-21  7:10     ` Jacob Gorm Hansen
  0 siblings, 2 replies; 8+ messages in thread
From: Anthony Liguori @ 2005-03-21  5:35 UTC (permalink / raw)
  To: Jacob Gorm Hansen; +Cc: Yvette, xen-devel

Jacob Gorm Hansen wrote:

> Yvette wrote:
>
>> Clearly this begs the question of if anybody would need or want such a
>> system. (I didn't, but now I have one...)
>
>
> Yes please, though for me I would want to use this with vm-tools 
> rather than the Python toolset. I've done a busybox dom0 myself, but 
> that was in the old world where very few user-space tools were needed, 
> and they were simple enough that you could easily roll your own. How 
> large are your changes to the standard xen tree?

libxc builds quite fine against uClibc as does vm-tools.  I use it 
busybox imagine (with uClibc) quite frequently for testing and development.

It's quite trivial to setup.  Once the wiki goes live I'd be happy to 
post a howto there.

Regards,
Anthony Liguori

> Jacob
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: uclibc-dom0/xen 2.0.5 trivia
  2005-03-21  5:35   ` Anthony Liguori
@ 2005-03-21  6:02     ` Yvette
  2005-03-21  7:10     ` Jacob Gorm Hansen
  1 sibling, 0 replies; 8+ messages in thread
From: Yvette @ 2005-03-21  6:02 UTC (permalink / raw)
  To: Jacob Gorm Hansen; +Cc: Anthony Liguori, xen-devel

On Sun, 20 Mar 2005 23:35:21 -0600, Anthony Liguori <aliguori@us.ibm.com> wrote:
> 
> libxc builds quite fine against uClibc as does vm-tools.  I use it
> busybox imagine (with uClibc) quite frequently for testing and development.
> 
> It's quite trivial to setup.  Once the wiki goes live I'd be happy to
> post a howto there.
> 
> Regards,
> Anthony Liguori
> 

Yes, other than what I originally mentioned, there really weren't any
issues/modifications. Now I just need to wait for the howto to see
what I missed...

-Yvette


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: uclibc-dom0/xen 2.0.5 trivia
  2005-03-21  5:35   ` Anthony Liguori
  2005-03-21  6:02     ` Yvette
@ 2005-03-21  7:10     ` Jacob Gorm Hansen
  2005-03-21 15:26       ` Anthony Liguori
  1 sibling, 1 reply; 8+ messages in thread
From: Jacob Gorm Hansen @ 2005-03-21  7:10 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: xen-devel

Anthony Liguori wrote:

 > libxc builds quite fine against uClibc as does vm-tools.  I use it
 > busybox imagine (with uClibc) quite frequently for testing and 
development.

Did you try how small you could make dom0 by any chance?

Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: uclibc-dom0/xen 2.0.5 trivia
  2005-03-21  7:10     ` Jacob Gorm Hansen
@ 2005-03-21 15:26       ` Anthony Liguori
  2005-03-21 20:15         ` Jacob Gorm Hansen
  0 siblings, 1 reply; 8+ messages in thread
From: Anthony Liguori @ 2005-03-21 15:26 UTC (permalink / raw)
  To: Jacob Gorm Hansen; +Cc: xen-devel

Jacob Gorm Hansen wrote:

> Anthony Liguori wrote:
>
> > libxc builds quite fine against uClibc as does vm-tools.  I use it
> > busybox imagine (with uClibc) quite frequently for testing and 
> development.
>
> Did you try how small you could make dom0 by any chance?

root@codemonkey.ws rh# df
/xen/rockhopper.img       3963      1666      2093  45% /xen/rh

So a bit over 1.5MB.  I must admit, while the prospect of a super-small 
dom0 is quite appealing, using a ramdisk just hasn't proved to be all 
that useful.

The thing that always comes back to bite me too is that I cannot get X 
to start in a domU.  If I could get that to work it might be practical.

Obviously, the key to getting things to build so small is to use busybox 
and uClibc but another important tip is to be very careful about what 
goes in /dev.  /dev can eat a ton of space in certain file systems.

Regards,
Anthony Liguori

> Jacob
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: uclibc-dom0/xen 2.0.5 trivia
  2005-03-21 15:26       ` Anthony Liguori
@ 2005-03-21 20:15         ` Jacob Gorm Hansen
  2005-03-21 20:24           ` Anthony Liguori
  0 siblings, 1 reply; 8+ messages in thread
From: Jacob Gorm Hansen @ 2005-03-21 20:15 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: xen-devel

Anthony Liguori wrote:

> root@codemonkey.ws rh# df
> /xen/rockhopper.img       3963      1666      2093  45% /xen/rh
> 
> So a bit over 1.5MB.  I must admit, while the prospect of a super-small 
> dom0 is quite appealing, using a ramdisk just hasn't proved to be all 
> that useful.
> 
> The thing that always comes back to bite me too is that I cannot get X 
> to start in a domU.  If I could get that to work it might be practical.

I guess this is more interesting when running a bunch of headless nodes. 
  How little memory can your dom0 survive on?

Jacob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: uclibc-dom0/xen 2.0.5 trivia
  2005-03-21 20:15         ` Jacob Gorm Hansen
@ 2005-03-21 20:24           ` Anthony Liguori
  0 siblings, 0 replies; 8+ messages in thread
From: Anthony Liguori @ 2005-03-21 20:24 UTC (permalink / raw)
  To: Jacob Gorm Hansen; +Cc: xen-devel

Jacob Gorm Hansen wrote:

> Anthony Liguori wrote:
>
>> The thing that always comes back to bite me too is that I cannot get 
>> X to start in a domU.  If I could get that to work it might be 
>> practical.
>
>
> I guess this is more interesting when running a bunch of headless 
> nodes.  How little memory can your dom0 survive on?

Hard to say.  It could be tuned a lot more than it is (especially wrt to 
the kernel config).  With a standard Xen kernel I can balloon down to 
12MB and things seem ok.

Ballooning down to 8MB leads to the OOM killer kicking in.

I reckon 16MB is probably a reasonable foot print to shoot for in the 
future.  My goal is to, at some point, build an LVM-aware ramdisk that's 
under 4MB with a full Xen management toolset on it.

Regards,
Anthony Liguori

> Jacob
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-03-21 20:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-21  3:36 uclibc-dom0/xen 2.0.5 trivia Yvette
2005-03-21  4:03 ` Jacob Gorm Hansen
2005-03-21  5:35   ` Anthony Liguori
2005-03-21  6:02     ` Yvette
2005-03-21  7:10     ` Jacob Gorm Hansen
2005-03-21 15:26       ` Anthony Liguori
2005-03-21 20:15         ` Jacob Gorm Hansen
2005-03-21 20:24           ` Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.