Re: mm/zswap: change to writethrough

2013-11-13 Thread Seth Jennings
On Mon, Nov 11, 2013 at 02:12:12PM -0500, Dan Streetman wrote: > Seth, have you (or anyone else) considered making zswap a writethrough > cache instead of writeback? I think that it would significantly help > the case where zswap fills up and starts writing back its oldest pages > to disc - all

Re: mm/zswap: change to writethrough

2013-11-13 Thread Seth Jennings
On Mon, Nov 11, 2013 at 02:12:12PM -0500, Dan Streetman wrote: Seth, have you (or anyone else) considered making zswap a writethrough cache instead of writeback? I think that it would significantly help the case where zswap fills up and starts writing back its oldest pages to disc - all the

Re: mm/zswap: change to writethrough

2013-11-12 Thread Dan Streetman
On Tue, Nov 12, 2013 at 4:11 AM, Bob Liu wrote: > > On 11/12/2013 03:12 AM, Dan Streetman wrote: >> Seth, have you (or anyone else) considered making zswap a writethrough >> cache instead of writeback? I think that it would significantly help >> the case where zswap fills up and starts writing

Re: mm/zswap: change to writethrough

2013-11-12 Thread Bob Liu
On 11/12/2013 03:12 AM, Dan Streetman wrote: > Seth, have you (or anyone else) considered making zswap a writethrough > cache instead of writeback? I think that it would significantly help > the case where zswap fills up and starts writing back its oldest pages > to disc - all the decompression

Re: mm/zswap: change to writethrough

2013-11-12 Thread Bob Liu
On 11/12/2013 03:12 AM, Dan Streetman wrote: Seth, have you (or anyone else) considered making zswap a writethrough cache instead of writeback? I think that it would significantly help the case where zswap fills up and starts writing back its oldest pages to disc - all the decompression work

Re: mm/zswap: change to writethrough

2013-11-12 Thread Dan Streetman
On Tue, Nov 12, 2013 at 4:11 AM, Bob Liu bob@oracle.com wrote: On 11/12/2013 03:12 AM, Dan Streetman wrote: Seth, have you (or anyone else) considered making zswap a writethrough cache instead of writeback? I think that it would significantly help the case where zswap fills up and starts

mm/zswap: change to writethrough

2013-11-11 Thread Dan Streetman
Seth, have you (or anyone else) considered making zswap a writethrough cache instead of writeback? I think that it would significantly help the case where zswap fills up and starts writing back its oldest pages to disc - all the decompression work would be avoided since zswap could just evict old

mm/zswap: change to writethrough

2013-11-11 Thread Dan Streetman
Seth, have you (or anyone else) considered making zswap a writethrough cache instead of writeback? I think that it would significantly help the case where zswap fills up and starts writing back its oldest pages to disc - all the decompression work would be avoided since zswap could just evict old