linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/3] align zpool/zbud/zsmalloc on the api
@ 2015-09-26  8:04 Vitaly Wool
  2015-09-26  8:05 ` [PATCHv2 1/3] zpool: add compaction api Vitaly Wool
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Vitaly Wool @ 2015-09-26  8:04 UTC (permalink / raw)
  To: ddstreet, akpm, Seth Jennings
  Cc: Minchan Kim, Sergey Senozhatsky, linux-kernel, Linux-MM

Here comes the second iteration over zpool/zbud/zsmalloc API alignment. 
This time I divide it into three patches: for zpool, for zbud and for zsmalloc :)
Patches are non-intrusive and do not change any existing functionality. They only
add up stuff for the alignment purposes.

--
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/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCHv2 0/3] Allow ZRAM to use any zpool-compatible backend
@ 2019-12-19 14:19 Vitaly Wool
  2019-12-19 14:21 ` [PATCHv2 1/3] zpool: add compaction api Vitaly Wool
  0 siblings, 1 reply; 8+ messages in thread
From: Vitaly Wool @ 2019-12-19 14:19 UTC (permalink / raw)
  To: Linux-MM, Andrew Morton, Dan Streetman, Minchan Kim
  Cc: Sergey Senozhatsky, LKML, Vlastimil Babka, Shakeel Butt,
	Henry Burns, Theodore Ts'o

The coming patchset is a new take on the old issue: ZRAM can currently be
used only with zsmalloc even though this may not be the optimal
combination for some configurations. The previous (unsuccessful) attempt
dates back to 2015 [1] and is notable for the heated discussions it has
caused.

This patchset addresses the increasing demand to deploy ZRAM in systems
where zsmalloc is not a perfect match or is not applicable at all. An
example of a system of the first type is an embedded system using ZRAM
block device as a swap where quick application launch is critical for
good user experience since z3fold is substantially faster on read than
zsmalloc [2].

A system of the second type would, for instance, be the one with
hardware on-the-fly RAM compression/decompression where the saved RAM
space could be used for ZRAM but would require a special allocator.
 
The preliminary results for this work have been delivered at Linux
Plumbers this year [3]. The talk at LPC ended in a consensus to continue
the work and pursue the goal of decoupling ZRAM from zsmalloc.

The current patchset has been stress tested on arm64 and x86_64 devices,
including the Dell laptop I'm writing this message on now, not to mention
several QEmu confugirations.

The first version of this patchset can be found at [4].
Changelog since V1:
* better formatting
* allocator backend is now configurable on a per-ZRAM device basis
* allocator backend is runtime configurable via sysfs 

[1] https://lkml.org/lkml/2015/9/14/356
[2] https://lkml.org/lkml/2019/10/21/743
[3] https://linuxplumbersconf.org/event/4/contributions/551/
[4] https://lkml.org/lkml/2019/10/10/1046


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

end of thread, other threads:[~2019-12-19 14:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-26  8:04 [PATCHv2 0/3] align zpool/zbud/zsmalloc on the api Vitaly Wool
2015-09-26  8:05 ` [PATCHv2 1/3] zpool: add compaction api Vitaly Wool
2015-09-26  8:07 ` [PATCHv2 2/3] zbud: add compaction callbacks Vitaly Wool
2015-09-26  8:09 ` [PATCHv2 3/3] zsmalloc: " Vitaly Wool
2015-09-30  8:03 ` [PATCHv2 0/3] align zpool/zbud/zsmalloc on the api Minchan Kim
2015-10-09 12:36 ` Dan Streetman
2015-10-14  1:27   ` Sergey Senozhatsky
  -- strict thread matches above, loose matches on Subject: below --
2019-12-19 14:19 [PATCHv2 0/3] Allow ZRAM to use any zpool-compatible backend Vitaly Wool
2019-12-19 14:21 ` [PATCHv2 1/3] zpool: add compaction api Vitaly Wool

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).