linux/drivers/staging
Dan Magenheimer 14c9fda5c4 staging: ramster: place ramster codebase on top of new zcache2 codebase
[V2: rebased to apply to 20120905 staging-next, no other changes]

This slightly modified ramster codebase is now built entirely on zcache2
and all ramster-specific code is fully contained in a subdirectory.

Ramster extends zcache2 to allow pages compressed via zcache2 to be
"load-balanced" across machines in a cluster.  Control and data communication
is done via kernel sockets, and cluster configuration and management is
heavily leveraged from the ocfs2 cluster filesystem.

There are no new features since the codebase introduced into staging at 3.4.
Some cleanup was performed though:
 1) Interfaces directly with new zbud
 2) Debugfs now used instead of sysfs where possible.  Sysfs still
    used where necessary for userland cluster configuration.

Ramster is very much a work-in-progress but also does really work!

RAMSTER HIGH LEVEL OVERVIEW (from original V5 posting in Feb 2012)

RAMster implements peer-to-peer transcendent memory, allowing a "cluster" of
kernels to dynamically pool their RAM so that a RAM-hungry workload on one
machine can temporarily and transparently utilize RAM on another machine which
is presumably idle or running a non-RAM-hungry workload.  Other than the
already-merged cleancache patchset and frontswap patchset, no core kernel
changes are currently required.

(Note that, unlike previous public descriptions of RAMster, this implementation
does NOT require synchronous "gets" or core networking changes. As of V5,
it also co-exists with ocfs2.)

RAMster combines a clustering and messaging foundation based on the ocfs2
cluster layer with the in-kernel compression implementation of zcache2, and
adds code to glue them together.  When a page is "put" to RAMster, it is
compressed and stored locally.  Periodically, a thread will "remotify" these
pages by sending them via messages to a remote machine.  When the page is
later needed as indicated by a page fault, a "get" is issued.  If the data
is local, it is uncompressed and the fault is resolved.  If the data is
remote, a message is sent to fetch the data and the faulting thread sleeps;
when the data arrives, the thread awakens, the data is decompressed and
the fault is resolved.

As of V5, clusters up to eight nodes are supported; each node can remotify
pages to one specified node, so clusters can be configured as clients to
a "memory server".  Some simple policy is in place that will need to be
refined over time.  Larger clusters and fault-resistant protocols can also
be added over time.

A HOW-TO is available at:
http://oss.oracle.com/projects/tmem/dist/files/RAMster/HOWTO-120817

Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2012-09-05 17:07:39 -07:00
..
android Staging: android: Alarm driver cleanups 2012-09-04 14:23:33 -07:00
asus_oled Staging: asus_oled: Add suspend/resume callbacks 2012-09-04 13:12:13 -07:00
bcm staging: bcm: use pr_info and pr_err rather than printk 2012-09-04 14:28:42 -07:00
ccg staging:ccg: Fix missing brackets for sizeof (found by sparse). 2012-08-13 19:19:23 -07:00
comedi staging: comedi: das08: Use struct comedi_device hw_dev for PCI 2012-09-05 11:58:24 -07:00
cptm1217 staging: cptm1217: use module_i2c_driver macro 2012-09-04 14:23:33 -07:00
crystalhd drivers/staging/crystalhd/crystalhd_lnx.c: adjust inconsistent IS_ERR and PTR_ERR 2012-09-04 14:22:48 -07:00
csr staging: csr: replace calls to kmalloc and memset with kzalloc 2012-09-04 14:35:05 -07:00
cxt1e1 staging: cxt1e1: solve coding style problem 2012-09-04 14:27:42 -07:00
echo Staging: echo: One variable per line 2012-07-06 16:08:57 -07:00
et131x staging: et131x: using is_zero_ether_addr() to simplify the code 2012-09-04 14:14:08 -07:00
frontier staging/frontier: fix checkpatch warnings 2012-07-19 16:11:26 -07:00
ft1000 staging: ft1000: Replace timeout values with USB_CTRL_G(S)ET_TIMEOUT. 2012-08-13 19:28:58 -07:00
gdm72xx staging: gdm72xx: use list_move_tail instead of list_del/list_add_tail 2012-09-05 11:58:24 -07:00
iio staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00
ipack Staging: ipack: fix build failure in powerpc allyesconfig 2012-09-05 11:58:24 -07:00
keucr Staging: keucr: scsiglue: fixed a do while coding style issue 2012-06-13 12:20:16 -07:00
line6 staging: line6: variax.c: Eliminated remaining strict_stroul()s 2012-08-14 16:46:34 -07:00
media Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-07-31 18:47:44 -07:00
net NET: pc300, move to staging as it is broken 2012-04-13 10:57:04 -07:00
nvec staging: nvec: use system_nrt_wq instead of custom one 2012-09-04 13:18:15 -07:00
octeon staging: octeon_ethernet: Convert to use device tree. 2012-07-23 13:54:53 +01:00
olpc_dcon staging/olpc_dcon: fix checkpatch warnings 2012-08-17 09:45:37 -07:00
omap-thermal staging: omap-thermal: add OMAP5 data structures 2012-07-16 19:04:16 -07:00
omapdrm staging: drm/omap: invert dimensions on crtc when rotated 2012-09-04 12:18:10 -07:00
ozwpan staging: ozwpan: use list_move_tail instead of list_del/list_add_tail 2012-09-05 11:58:24 -07:00
panel staging: panel: fix checkpatch warnings 2012-08-13 19:25:48 -07:00
phison staging/phison: use module_pci_driver macro 2012-07-11 17:26:02 -07:00
quickstart Staging: quickstart: Fix compilation warning on 64 bit arch 2012-02-13 20:08:56 -08:00
ramster staging: ramster: place ramster codebase on top of new zcache2 codebase 2012-09-05 17:07:39 -07:00
rtl8187se staging: rtl8187se: using random_ether_addr() to generate random MAC 2012-09-04 14:10:08 -07:00
rtl8192e staging: rtl8192e: using random_ether_addr() to generate random MAC 2012-09-04 14:11:28 -07:00
rtl8192u Staging: rtl8192u: using random_ether_addr() to generate random MAC 2012-09-04 14:11:29 -07:00
rtl8712 staging: r8712u: use is_zero_ether_addr() instead of memcmp() 2012-09-04 14:14:08 -07:00
rts5139 staging: rts5139: substitute rts51x_dump by print_hex_dump 2012-08-13 18:52:34 -07:00
rts_pstor staging/rts_pstor: remove braces {} in rtsx_chip.c 2012-09-04 12:31:53 -07:00
sbe-2t3e3 staging: sbe-2t3e3: fix sparse warnings 2012-09-04 14:22:48 -07:00
sep Staging: sep: Correct misspelled "remap_page_range" -> "remap_pfn_range" 2012-09-04 14:27:41 -07:00
serqt_usb2 staging: serqt_usb2: fix dbg print when kzalloc failed to allocate qt_port 2012-09-04 14:23:33 -07:00
slicoss staging: slicoss: fix a null deref when pci_alloc_consistent fail 2012-09-05 11:59:51 -07:00
sm7xxfb staging: sm7xxfb: copy device name before we pass to the smtc_alloc_fb_info 2012-09-04 14:23:33 -07:00
speakup speakup: lower default software speech rate 2012-09-04 14:03:40 -07:00
ste_rmi4 staging: ste_rmi4: Fix typos 2012-07-16 19:24:46 -07:00
telephony staging "telephony" Fix typos. 2012-07-06 16:21:54 -07:00
tidspbridge staging: tidspbridge: fix uuid strings 2012-08-17 08:10:28 -07:00
usbip staging: usbip: userspace: update man pages for v1.0.0 2012-08-17 09:44:04 -07:00
vme staging/vme: Use pr_ printks in vme_pio2_core.c 2012-09-04 13:22:48 -07:00
vt6655 Staging: vt6655: using is_broadcast_ether_addr() to simplify the code 2012-09-04 14:01:42 -07:00
vt6656 Staging: vt6656: using is_broadcast_ether_addr() to simplify the code 2012-09-04 14:01:42 -07:00
winbond staging: "winbond" Fix typos. 2012-09-04 14:27:42 -07:00
wlags49_h2 staging: wlags49_h2: use is_broadcast_ether_addr() instead of memcmp() 2012-09-04 13:16:26 -07:00
wlags49_h25 Staging: wlags49_h25: Makefile: remove unneeded stuff 2011-10-18 13:36:04 -07:00
wlan-ng staging: wlan-ng: use %*phC to hexdump small buffers 2012-08-13 19:23:19 -07:00
xgifb Staging: xgifb: fix bitwise vs logical bug 2012-08-14 16:46:33 -07:00
zcache staging: zcache: fix spelling of comment 2012-09-05 12:02:14 -07:00
zram staging: zsmalloc: add mapping modes 2012-07-09 11:35:00 -07:00
zsmalloc zsmalloc: collapse internal .h into .c 2012-08-13 19:34:24 -07:00
Kconfig staging: ramster: move to new zcache2 codebase 2012-09-05 17:04:37 -07:00
Makefile staging: ramster: move to new zcache2 codebase 2012-09-05 17:04:37 -07:00
staging.c Staging: workaround build system bug 2008-10-13 14:32:52 -07:00