linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [LSF/MM TOPIC][ATTEND] cleancache extension and memory checkpoint/restore
@ 2012-02-02 13:37 Pavel Emelyanov
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Emelyanov @ 2012-02-02 13:37 UTC (permalink / raw)
  To: lsc-pc; +Cc: Linux MM

Hi.

I'd like to attend the event to discuss the following topics:


1. cleancache extension

In containerized systems, when containers are more or less equal to each
other, we can save RAM and (!) disk IOPS if we share equal files between
containers. We've been using a unionfs-like approach and faced several 
disadvantages of it (I can describe them in details if required).

Now we're working on extending the cleancache subsystem to achieve this 
sharing. The cost of fully isolated filesystems is very high, I can provide 
numbers of various performance experiments, thus this is required badly for
containers.


2. memory checkpoint/restore

Yet another project I'm working on is CRIU -- checkpoint-restore in userspace.
One of the problems we've met is -- it's impossible to determine a task's 
current working set from the usepspace.

Another problem of the nearest future is the ability to create the memory snapshot
of a running task for more efficient migration and incremental checkpoint.


Thanks,
Pavel

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [LSF/MM TOPIC][ATTEND] cleancache extension and memory checkpoint/restore
@ 2012-02-03  0:32 Dan Magenheimer
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Magenheimer @ 2012-02-03  0:32 UTC (permalink / raw)
  To: xemul; +Cc: linux-mm

Hi Pavel --

> From: Pavel Emelyanov <xemul () parallels ! com>
> 1. cleancache extension

> In containerized systems, when containers are more or less equal to each
> other, we can save RAM and (!) disk IOPS if we share equal files between
> containers. We've been using a unionfs-like approach and faced several 
> disadvantages of it (I can describe them in details if required).

> Now we're working on extending the cleancache subsystem to achieve this 
> sharing. The cost of fully isolated filesystems is very high, I can provide 
> numbers of various performance experiments, thus this is required badly for
> containers.

I agree this is a great use of cleancache!

FYI, the Xen implementation of transcendent memory optionally
does deduplication.  I think you are probably doing something
very similar so you may be able to leverage some code.  No changes
to cleancache are needed... you just need to register a different
"backend" (e.g. like zcache or RAMster or the Xen tmem stubs).

IIRC, the Xen implementation is much simpler than KSM because
the candidate pages are more closely managed.

Hopefully we can talk about it at LSF/MM!

Dan

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2012-02-03  0:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03  0:32 [LSF/MM TOPIC][ATTEND] cleancache extension and memory checkpoint/restore Dan Magenheimer
  -- strict thread matches above, loose matches on Subject: below --
2012-02-02 13:37 Pavel Emelyanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).