linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Sharing code pages between host and guest
@ 2006-03-12 14:26 Jun OKAJIMA
  2006-03-14 20:27 ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: Jun OKAJIMA @ 2006-03-12 14:26 UTC (permalink / raw)
  To: user-mode-linux-devel


Hello Jeff, Long time no see.

I am studying now for how you share same content page between host and guest.
In other words, if host and guest use just very same binary of glibc,
then, how to share code pages of glibc (or bash or...).
I think one of the biggest problem of virtualization is memory,
and one common technique to solve it is sharing pages, dont you?

My question is, if you share /lib through HostFS,
can I share code pages of /lib/libc.6.so between host and guest?

                  --- Okajima, Jun. Tokyo, Japan.








-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] Sharing code pages between host and guest
  2006-03-12 14:26 [uml-devel] Sharing code pages between host and guest Jun OKAJIMA
@ 2006-03-14 20:27 ` Jeff Dike
  2006-03-15 13:07   ` Jun OKAJIMA
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2006-03-14 20:27 UTC (permalink / raw)
  To: Jun OKAJIMA; +Cc: user-mode-linux-devel

On Sun, Mar 12, 2006 at 11:26:09PM +0900, Jun OKAJIMA wrote:
> I am studying now for how you share same content page between host and guest.
> In other words, if host and guest use just very same binary of glibc,
> then, how to share code pages of glibc (or bash or...).
> I think one of the biggest problem of virtualization is memory,
> and one common technique to solve it is sharing pages, dont you?

That would certainly help, although you are giving up one advantage of
virtualization this way, which is the ability to have the guest and host
be running different versions of the kernel and/or userspace.

> My question is, if you share /lib through HostFS,
> can I share code pages of /lib/libc.6.so between host and guest?

If hostfs mmaps pages (which it currently doesn't, but is planned).

				Jeff


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] Sharing code pages between host and guest
  2006-03-14 20:27 ` Jeff Dike
@ 2006-03-15 13:07   ` Jun OKAJIMA
  0 siblings, 0 replies; 3+ messages in thread
From: Jun OKAJIMA @ 2006-03-15 13:07 UTC (permalink / raw)
  To: Jeff Dike; +Cc: user-mode-linux-devel

>> I am studying now for how you share same content page between host and guest.
>> In other words, if host and guest use just very same binary of glibc,
>> then, how to share code pages of glibc (or bash or...).
>> I think one of the biggest problem of virtualization is memory,
>> and one common technique to solve it is sharing pages, dont you?
>
>That would certainly help, although you are giving up one advantage of
>virtualization this way, which is the ability to have the guest and host
>be running different versions of the kernel and/or userspace.
>

I dont think so. It can be solved easyily with using UnionFS.


>> My question is, if you share /lib through HostFS,
>> can I share code pages of /lib/libc.6.so between host and guest?
>
>If hostfs mmaps pages (which it currently doesn't, but is planned).
>

Good to hear! I am waiting it in hope.


            --- Okajima, Jun. Tokyo, Japan.




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

end of thread, other threads:[~2006-03-15 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-12 14:26 [uml-devel] Sharing code pages between host and guest Jun OKAJIMA
2006-03-14 20:27 ` Jeff Dike
2006-03-15 13:07   ` Jun OKAJIMA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox