All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: Xen-devel <Xen-devel@lists.xensource.com>,
	Kaustubh Kabra <kaustubhwise@gmail.com>
Subject: Re: Memory de-duplication (Persistent pages)
Date: Thu, 16 Sep 2010 21:24:25 +0300	[thread overview]
Message-ID: <20100916182425.GM2804@reaktio.net> (raw)
In-Reply-To: <70d8ee7b-768e-4a60-909f-79152f6f7cff@default>

On Thu, Sep 16, 2010 at 09:22:29AM -0700, Dan Magenheimer wrote:
>    This is an interesting idea, but  (1) there is no "standard " GPU so I
>    don't think it will be possible to write Xen code generically for this;
>

How about things like OpenCL ? 

-- Pasi

>    (2) most of the overhead for searching will be in moving data from RAM to
>    cache... the CPU overhead is probably a small fraction so a GPU may not
>    help much (unless it has a much wider bus to RAM); (3) in tmem's current
>    deduplication implementation, the search is done synchronously on every
>    put_page... I don't know if this will work well asynchronously due to
>    locking, existing data structures, etc.
> 
>    Dan
> 
> 
> 
>    From: Kaustubh Kabra [mailto:kaustubhwise@gmail.com]
>    Sent: Wednesday, September 15, 2010 1:09 PM
>    To: Xen-devel
>    Cc: Dan Magenheimer
>    Subject: Re: [Xen-devel] Memory de-duplication (Persistent pages)
> 
> 
> 
>    To solve memory deduplication in Xen using Gpu :
> 
>    Current problem :
>    If Memory deduplication is done on Cpu ,a lot of memory is used for data
>    structures and lot of computation time is wasted in finding duplicate page
>    and becomes waste, if duplicate page is not found.
> 
>    Proposed GPU solution: Let Gpu perform seraching for a shared page using
>    multiple threads in parallel,improving searching operation and save data
>    structures on GPU device memory ,which is possible. Communication between
>    Cpu and Gpu can be done using inter processor synchronization which is
>    also possible. Cpu process will run as a daemon that will invoke gpu
>    process when ever deduplication is scheduled / if performance is good
>    enough then for every page written in memory.
> 
>    Correct me , if anything is wrong.
> 
>    On Mon, Sep 6, 2010 at 11:05 PM, Dan Magenheimer
>    <[1]dan.magenheimer@oracle.com> wrote:
> 
>    In my opinion, both could be useful projects.
> 
>    > -----Original Message-----
>    > From: Kaustubh Kabra [mailto:[2]kaustubhwise@gmail.com]
>    > Sent: Saturday, September 04, 2010 1:02 PM
>    > To: Xen-devel
>    > Cc: Dan Magenheimer
>    > Subject: Re: [Xen-devel] Memory de-duplication (Persistent pages)
>    >
> 
>    > Sir,
>    >
>    > We are pretty clear with the internal working of tmem.
>    > Now as "ephemeral" pages are already de-duplicated in current
>    > implementation .
>    >
>    > 1>>So, we propose to do sharing of "persistent" pages also .
>    > 2>>We also propose n/w bipass manager for "tmem" as its not existing
>    > currently.
>    >
>    > Will it be really useful ?
>    > If yes, it will be implemented within stipulated time frame.
>    >
>    > Thank you.
> 
>    --
>    Kaustubh Kabra
>    [3]http://www.kaustubhwise.000a.biz
> 
> References
> 
>    Visible links
>    1. mailto:dan.magenheimer@oracle.com
>    2. mailto:kaustubhwise@gmail.com
>    3. http://www.kaustubhwise.000a.biz/

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2010-09-16 18:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-04 19:01 Memory de-duplication (Persistent pages) Kaustubh Kabra
2010-09-06 17:35 ` Dan Magenheimer
2010-09-15 19:09   ` Kaustubh Kabra
2010-09-16 16:22     ` Dan Magenheimer
2010-09-16 18:24       ` Pasi Kärkkäinen [this message]
2010-09-16 19:34         ` Dan Magenheimer
2010-09-16 19:50           ` Pasi Kärkkäinen
2010-09-17  8:55           ` Tim Deegan
2010-09-17 14:08             ` Dan Magenheimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100916182425.GM2804@reaktio.net \
    --to=pasik@iki.fi \
    --cc=Xen-devel@lists.xensource.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=kaustubhwise@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.