linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Vitaly Wool <vitaly.wool@konsulko.com>
To: Linux-MM <linux-mm@kvack.org>
Cc: a.badmaev@clicknet.pro
Subject: Re: [PATCH] mm: add ztree - new allocator for use via zpool API
Date: Thu, 16 Sep 2021 11:33:40 +0200	[thread overview]
Message-ID: <CAM4kBBKmz76R11yu1H1BfgO0XLXT2SeZviuHUAnjVRo-vYVYKQ@mail.gmail.com> (raw)

> ztree is a versatile backend for zswap and potentially zram. It got its name
> due to the usage of red-black trees to store blocks of compressed objects.
> These blocks consist of several consecutive pages and ztree keeps an integer
> number of objects per block.
>
> For zram, ztree has better worst case malloc() and free() times than zsmalloc,
> does not deteriorate over time and has slightly worse but comparable compression
> ratio. For zswap, ztree has better worst case malloc() and free() times than
> z3fold, better compression ratio than z3fold and supports reclaim unlike zsmalloc.
>
> Signed-off-by: Ananda Badmaev <a.badmaev@clicknet.pro>

Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>


             reply	other threads:[~2021-09-16  9:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-16  9:33 Vitaly Wool [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-16  8:51 Ananda Badmaev
2021-09-16 10:12 ` Vlastimil Babka
2021-09-16 10:38   ` Vitaly Wool
2021-09-17  4:33     ` Ананда Бадмаев

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=CAM4kBBKmz76R11yu1H1BfgO0XLXT2SeZviuHUAnjVRo-vYVYKQ@mail.gmail.com \
    --to=vitaly.wool@konsulko.com \
    --cc=a.badmaev@clicknet.pro \
    --cc=linux-mm@kvack.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox