public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* somthing new for shared memory???
@ 2007-10-25 18:15 Francesco Cipollone
       [not found] ` <d269bda00710251115u5143b257s15c804efc295b08e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Francesco Cipollone @ 2007-10-25 18:15 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 81 bytes --]

Hy
somthing new about the shared memory support between VMs? or VM and host?
bye

[-- Attachment #1.2: Type: text/html, Size: 91 bytes --]

[-- Attachment #2: Type: text/plain, Size: 314 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: somthing new for shared memory???
       [not found] ` <d269bda00710251115u5143b257s15c804efc295b08e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-10-25 21:03   ` Izik Eidus
       [not found]     ` <47210497.1080306-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Izik Eidus @ 2007-10-25 21:03 UTC (permalink / raw)
  To: Francesco Cipollone; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Francesco Cipollone wrote:
> Hy
> somthing new about the shared memory support between VMs? or VM and host?
> bye
>   
beside moving the memory allocation to userspace (this is first step in 
share memory between VMs using smart file system)
there is not much advance.

about sharing memory between VM and host, we improved it by adding 
partial swapping support,
so the host can take memory from the guest in demand.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ------------------------------------------------------------------------
>
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

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

* Re: somthing new for shared memory???
       [not found]     ` <47210497.1080306-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-10-26  9:02       ` Carsten Otte
  0 siblings, 0 replies; 3+ messages in thread
From: Carsten Otte @ 2007-10-26  9:02 UTC (permalink / raw)
  To: Izik Eidus
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Francesco Cipollone

Izik Eidus wrote:
> beside moving the memory allocation to userspace (this is first step in 
> share memory between VMs using smart file system)
> there is not much advance.
> 
> about sharing memory between VM and host, we improved it by adding 
> partial swapping support,
> so the host can take memory from the guest in demand.
Oooh shared memory :-), my old passion before I started on kvm.
We've put a very nice infrastructure for that into the kernel which I 
would like to advertise here: We have arch/s390/mm/extmem.c, which 
implements primitives like segment_load, segment_unload etc. Sysfs 
attributes, and a kernel parameter are used to configure what segments 
are to be used.
On top of that, we have drivers/s390/dcssblk.c, a block driver for 
shared memory segments that provides an extra block device operation 
direct_access() which hands out a page pointer to a specific disk block.
Furthermore, we modified the memory management (mm/filemap_xip.c) and 
the ext2 file system (fs/ext2/xip.c) to support a new address space 
operation get_xip_page(), which is used by ext2 to fullfill all file 
operations.
The beauty of this solution comes with the execute in place effect. 
Binary executable files and libraries (glibc is a very good candidate) 
can be used by multiple user programs on multiple guests, while being 
present in host memory only once. For that, ext2 needs to be mounted 
read only on a shared memory segment with -o xip. And target binaries 
and libraries need to be installed on that file system. The rest is 
transparent to userland.
We also played with writable shared memory between user programs on 
different guests, but did'nt find a good use for that. A prototype 
2.6. driver that provides it on top of extmem.c segment_* functions 
can be found here:
http://www.ussg.iu.edu/hypermail/linux/kernel/0412.3/0617.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

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

end of thread, other threads:[~2007-10-26  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 18:15 somthing new for shared memory??? Francesco Cipollone
     [not found] ` <d269bda00710251115u5143b257s15c804efc295b08e-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-10-25 21:03   ` Izik Eidus
     [not found]     ` <47210497.1080306-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-26  9:02       ` Carsten Otte

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