All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Liu <bob.liu@oracle.com>
To: Luigi Semenzato <semenzato@google.com>
Cc: Minchan Kim <minchan@kernel.org>, Mel Gorman <mgorman@suse.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jens Axboe <axboe@kernel.dk>,
	Seth Jennings <sjenning@linux.vnet.ibm.com>,
	Nitin Gupta <ngupta@vflare.org>,
	Konrad Rzeszutek Wilk <konrad@darnok.org>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Pekka Enberg <penberg@cs.helsinki.fi>,
	Sonny Rao <sonnyrao@google.com>,
	Stephen Barber <smbarber@google.com>
Subject: Re: [PATCH v6 0/5] zram/zsmalloc promotion
Date: Mon, 19 Aug 2013 14:07:04 +0800	[thread overview]
Message-ID: <5211B608.2050401@oracle.com> (raw)
In-Reply-To: <CAA25o9RtxNjXj8bjjwQN3tJtePj-m8MfMn0WriD8A6pN-GKdCg@mail.gmail.com>

Hi Luigi,

On 08/19/2013 01:29 PM, Luigi Semenzato wrote:
> 
> We are gearing up to evaluate zswap, but we have only ported kernels
> up to 3.8 to our hardware, so we may be missing important patches.
> 
> In our experience, and with all due respect, the linux MM is a complex
> beast, and it's difficult to predict how hard it will be for us to
> switch to zswap.  Even with the relatively simple zram, our load

I think it will be easy if zswap can also create a pseudo block device(I
already done the simple implementation [PATCH 0/4] mm: merge zram into
zswap), then it's transparent for original zram users.

> triggered bugs in other parts of the MM that took a fair amount of
> work to resolve.
> 
> I may be wrong, but the in-memory compressed block device implemented
> by zram seems like a simple device which uses a well-established API
> to the rest of the kernel.  If it is removed from the kernel, will it
> be difficult for us to carry our own patch?  Because we may have to do
> that for a while.  Of course we would prefer it if it stayed in, at
> least temporarily.
> 
> Also, could someone confirm or deny that the maximum compression ratio
> in zbud is 2?  Because we easily achieve a 2.6-2.8 compression ratio
> with our loads using zram with zsmalloc and LZO or snappy.  Losing
> that memory will cause a noticeable regression, which will encourage
> us to stick with zram.
> 
> I am hoping that our load is not so unusual that we are the only Linux
> users in this situation, and that zsmalloc (or other
> allocator-compressor with similar characteristics) will continue to
> exist, whether it is used by zram or zswap.
> 
> Thanks!
> 

-- 
Regards,
-Bob

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

WARNING: multiple messages have this Message-ID (diff)
From: Bob Liu <bob.liu@oracle.com>
To: Luigi Semenzato <semenzato@google.com>
Cc: Minchan Kim <minchan@kernel.org>, Mel Gorman <mgorman@suse.de>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jens Axboe <axboe@kernel.dk>,
	Seth Jennings <sjenning@linux.vnet.ibm.com>,
	Nitin Gupta <ngupta@vflare.org>,
	Konrad Rzeszutek Wilk <konrad@darnok.org>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Pekka Enberg <penberg@cs.helsinki.fi>,
	Sonny Rao <sonnyrao@google.com>,
	Stephen Barber <smbarber@google.com>
Subject: Re: [PATCH v6 0/5] zram/zsmalloc promotion
Date: Mon, 19 Aug 2013 14:07:04 +0800	[thread overview]
Message-ID: <5211B608.2050401@oracle.com> (raw)
In-Reply-To: <CAA25o9RtxNjXj8bjjwQN3tJtePj-m8MfMn0WriD8A6pN-GKdCg@mail.gmail.com>

Hi Luigi,

On 08/19/2013 01:29 PM, Luigi Semenzato wrote:
> 
> We are gearing up to evaluate zswap, but we have only ported kernels
> up to 3.8 to our hardware, so we may be missing important patches.
> 
> In our experience, and with all due respect, the linux MM is a complex
> beast, and it's difficult to predict how hard it will be for us to
> switch to zswap.  Even with the relatively simple zram, our load

I think it will be easy if zswap can also create a pseudo block device(I
already done the simple implementation [PATCH 0/4] mm: merge zram into
zswap), then it's transparent for original zram users.

> triggered bugs in other parts of the MM that took a fair amount of
> work to resolve.
> 
> I may be wrong, but the in-memory compressed block device implemented
> by zram seems like a simple device which uses a well-established API
> to the rest of the kernel.  If it is removed from the kernel, will it
> be difficult for us to carry our own patch?  Because we may have to do
> that for a while.  Of course we would prefer it if it stayed in, at
> least temporarily.
> 
> Also, could someone confirm or deny that the maximum compression ratio
> in zbud is 2?  Because we easily achieve a 2.6-2.8 compression ratio
> with our loads using zram with zsmalloc and LZO or snappy.  Losing
> that memory will cause a noticeable regression, which will encourage
> us to stick with zram.
> 
> I am hoping that our load is not so unusual that we are the only Linux
> users in this situation, and that zsmalloc (or other
> allocator-compressor with similar characteristics) will continue to
> exist, whether it is used by zram or zswap.
> 
> Thanks!
> 

-- 
Regards,
-Bob

  reply	other threads:[~2013-08-19  6:07 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14  5:55 [PATCH v6 0/5] zram/zsmalloc promotion Minchan Kim
2013-08-14  5:55 ` Minchan Kim
2013-08-14  5:55 ` [PATCH v6 1/5] zsmalloc: add Kconfig for enabling page table method Minchan Kim
2013-08-14  5:55   ` Minchan Kim
2013-08-14  5:55 ` [PATCH v6 2/5] zsmalloc: add more comment Minchan Kim
2013-08-14  5:55   ` Minchan Kim
2013-08-14  5:55 ` [PATCH v6 3/5] zsmalloc: move it under zram Minchan Kim
2013-08-14  5:55   ` Minchan Kim
2013-08-16 22:00   ` Seth Jennings
2013-08-16 22:00     ` Seth Jennings
2013-08-20  4:21     ` Minchan Kim
2013-08-20  4:21       ` Minchan Kim
2013-08-14  5:55 ` [PATCH v6 4/5] mm: export unmap_kernel_range Minchan Kim
2013-08-14  5:55   ` Minchan Kim
2013-08-14  5:55 ` [PATCH v6 5/5] zram: promote zram from staging Minchan Kim
2013-08-14  5:55   ` Minchan Kim
2013-08-14 15:53 ` [PATCH v6 0/5] zram/zsmalloc promotion Luigi Semenzato
2013-08-14 15:53   ` Luigi Semenzato
2013-08-14 16:17   ` Minchan Kim
2013-08-14 16:17     ` Minchan Kim
2013-08-15  0:18     ` Bob Liu
2013-08-15  0:18       ` Bob Liu
2013-08-15 15:03       ` Seth Jennings
2013-08-16  2:02     ` Wanpeng Li
2013-08-16  2:02     ` Wanpeng Li
     [not found]     ` <520d883a.a2f6420a.6f36.0d66SMTPIN_ADDED_BROKEN@mx.google.com>
2013-08-16  4:35       ` Minchan Kim
2013-08-16  4:35         ` Minchan Kim
2013-08-16  7:02         ` Alex Elsayed
2013-08-14 17:40 ` Mel Gorman
2013-08-14 17:40   ` Mel Gorman
2013-08-14 18:15   ` Luigi Semenzato
2013-08-14 18:15     ` Luigi Semenzato
2013-08-14 18:58   ` Minchan Kim
2013-08-14 18:58     ` Minchan Kim
2013-08-15 17:12     ` Mel Gorman
2013-08-15 17:12       ` Mel Gorman
2013-08-16  1:52       ` Bob Liu
2013-08-16  1:52         ` Bob Liu
2013-08-16  1:53       ` Bob Liu
2013-08-16  1:53         ` Bob Liu
2013-08-16  4:26       ` Minchan Kim
2013-08-16  4:26         ` Minchan Kim
2013-08-16  4:55         ` Bob Liu
2013-08-16  4:55           ` Bob Liu
2013-08-16  8:33         ` Mel Gorman
2013-08-16  8:33           ` Mel Gorman
2013-08-16  9:12           ` Mel Gorman
2013-08-16  9:12             ` Mel Gorman
2013-08-16  9:18             ` Bob Liu
2013-08-16  9:18               ` Bob Liu
2013-08-16 12:49               ` Greg Kroah-Hartman
2013-08-16 12:49                 ` Greg Kroah-Hartman
2013-08-16  9:12           ` Bob Liu
2013-08-16  9:12             ` Bob Liu
2013-08-19  3:18           ` Minchan Kim
2013-08-19  3:18             ` Minchan Kim
2013-08-19  3:57             ` Bob Liu
2013-08-19  3:57               ` Bob Liu
2013-08-19  4:37               ` Minchan Kim
2013-08-19  4:37                 ` Minchan Kim
2013-08-19  5:29                 ` Luigi Semenzato
2013-08-19  5:29                   ` Luigi Semenzato
2013-08-19  6:07                   ` Bob Liu [this message]
2013-08-19  6:07                     ` Bob Liu
2013-08-19  6:11                   ` Minchan Kim
2013-08-19  6:11                     ` Minchan Kim
  -- strict thread matches above, loose matches on Subject: below --
2013-08-14  5:51 Minchan Kim
2013-08-14  5:51 ` Minchan Kim

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=5211B608.2050401@oracle.com \
    --to=bob.liu@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=gregkh@linuxfoundation.org \
    --cc=konrad@darnok.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=minchan@kernel.org \
    --cc=ngupta@vflare.org \
    --cc=penberg@cs.helsinki.fi \
    --cc=semenzato@google.com \
    --cc=sjenning@linux.vnet.ibm.com \
    --cc=smbarber@google.com \
    --cc=sonnyrao@google.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.