[PATCH v2] zswap: Update with same-value filled page feature

2017-12-06 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 6 Dec 2017 16:29:50 +0530 Subject: [PATCH v2] zswap: Update with same-value filled page feature Changes since v1: Updated to clarify about zswap.same_filled_pages_enabled parameter. Updated zswap document with details on same

[PATCH v2] zswap: Update with same-value filled page feature

2017-12-06 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 6 Dec 2017 16:29:50 +0530 Subject: [PATCH v2] zswap: Update with same-value filled page feature Changes since v1: Updated to clarify about zswap.same_filled_pages_enabled parameter. Updated zswap document with details on same-value filled pages identification

[PATCH] zswap: Update with same-value filled page feature

2017-11-29 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 29 Nov 2017 20:23:15 +0530 Subject: [PATCH] zswap: Update with same-value filled page feature Updated zswap document with details on same-value filled pages identification feature. The usage of zswap.same_filled_pages_enabled

[PATCH] zswap: Update with same-value filled page feature

2017-11-29 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 29 Nov 2017 20:23:15 +0530 Subject: [PATCH] zswap: Update with same-value filled page feature Updated zswap document with details on same-value filled pages identification feature. The usage of zswap.same_filled_pages_enabled module parameter is explained

[PATCH v2] zswap: Same-filled pages handling

2017-11-21 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Sat, 18 Nov 2017 18:29:16 +0530 Subject: [PATCH v2] zswap: Same-filled pages handling Changes since v1 : Added memset_l instead of for loop. Zswap is a cache which compresses the pages that are being swapped out and store

[PATCH v2] zswap: Same-filled pages handling

2017-11-21 Thread Srividya Desireddy
From: Srividya Desireddy Date: Sat, 18 Nov 2017 18:29:16 +0530 Subject: [PATCH v2] zswap: Same-filled pages handling Changes since v1 : Added memset_l instead of for loop. Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM

Re: [PATCH] zswap: Same-filled pages handling

2017-11-02 Thread Srividya Desireddy
On Wed, Oct 19, 2017 at 6:38 AM, Matthew Wilcox wrote: > On Thu, Oct 19, 2017 at 12:31:18AM +0300, Timofey Titovets wrote: >> > +static void zswap_fill_page(void *ptr, unsigned long value) >> > +{ >> > + unsigned int pos; >> > + unsigned long *page; >> > + >> > + page =

Re: [PATCH] zswap: Same-filled pages handling

2017-11-02 Thread Srividya Desireddy
On Wed, Oct 19, 2017 at 6:38 AM, Matthew Wilcox wrote: > On Thu, Oct 19, 2017 at 12:31:18AM +0300, Timofey Titovets wrote: >> > +static void zswap_fill_page(void *ptr, unsigned long value) >> > +{ >> > + unsigned int pos; >> > + unsigned long *page; >> > + >> > + page =

Re: [PATCH] zswap: Same-filled pages handling

2017-10-18 Thread Srividya Desireddy
On Wed, Oct 18, 2017 at 7:41 PM, Matthew Wilcox wrote: > On Wed, Oct 18, 2017 at 04:33:43PM +0300, Timofey Titovets wrote: >> 2017-10-18 15:34 GMT+03:00 Matthew Wilcox <wi...@infradead.org>: >> > On Wed, Oct 18, 2017 at 10:48:32AM +, Srividya Desireddy w

Re: [PATCH] zswap: Same-filled pages handling

2017-10-18 Thread Srividya Desireddy
On Wed, Oct 18, 2017 at 7:41 PM, Matthew Wilcox wrote: > On Wed, Oct 18, 2017 at 04:33:43PM +0300, Timofey Titovets wrote: >> 2017-10-18 15:34 GMT+03:00 Matthew Wilcox : >> > On Wed, Oct 18, 2017 at 10:48:32AM +, Srividya Desireddy wrote: >> >> +static void zswap

[PATCH] zswap: Same-filled pages handling

2017-10-18 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 18 Oct 2017 15:39:02 +0530 Subject: [PATCH] zswap: Same-filled pages handling Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiment

[PATCH] zswap: Same-filled pages handling

2017-10-18 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 18 Oct 2017 15:39:02 +0530 Subject: [PATCH] zswap: Same-filled pages handling Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiments have shown that around 10-20

[PATCH v2] zswap: Zero-filled pages handling

2017-08-16 Thread Srividya Desireddy
On Thu, Jul 6, 2017 at 3:32 PM, Dan Streetman wrote: > On Thu, Jul 6, 2017 at 5:29 AM, Srividya Desireddy > wrote: >> On Wed, Jul 6, 2017 at 10:49 AM, Sergey Senozhatsky wrote: >>> On (07/02/17 20:28), Seth Jennings wrote: >>>> On Sun, Jul 2, 2017 at 9:19 AM

[PATCH v2] zswap: Zero-filled pages handling

2017-08-16 Thread Srividya Desireddy
On Thu, Jul 6, 2017 at 3:32 PM, Dan Streetman wrote: > On Thu, Jul 6, 2017 at 5:29 AM, Srividya Desireddy > wrote: >> On Wed, Jul 6, 2017 at 10:49 AM, Sergey Senozhatsky wrote: >>> On (07/02/17 20:28), Seth Jennings wrote: >>>> On Sun, Jul 2, 2017 at 9:19 AM

Re: [PATCH v2] zswap: Zero-filled pages handling

2017-07-06 Thread Srividya Desireddy
On Wed, Jul 6, 2017 at 10:49 AM, Sergey Senozhatsky wrote: > On (07/02/17 20:28), Seth Jennings wrote: >> On Sun, Jul 2, 2017 at 9:19 AM, Srividya Desireddy >> > Zswap is a cache which compresses the pages that are being swapped out >> > and stores them into a dyna

Re: [PATCH v2] zswap: Zero-filled pages handling

2017-07-06 Thread Srividya Desireddy
On Wed, Jul 6, 2017 at 10:49 AM, Sergey Senozhatsky wrote: > On (07/02/17 20:28), Seth Jennings wrote: >> On Sun, Jul 2, 2017 at 9:19 AM, Srividya Desireddy >> > Zswap is a cache which compresses the pages that are being swapped out >> > and stores them into a dyna

[PATCH v2] zswap: Zero-filled pages handling

2017-07-02 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Sun, 2 Jul 2017 19:15:37 +0530 Subject: [PATCH v2] zswap: Zero-filled pages handling Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiment

[PATCH v2] zswap: Zero-filled pages handling

2017-07-02 Thread Srividya Desireddy
From: Srividya Desireddy Date: Sun, 2 Jul 2017 19:15:37 +0530 Subject: [PATCH v2] zswap: Zero-filled pages handling Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiments have shown that around 10-20

[PATCH] zswap: Zero-filled pages handling

2017-03-08 Thread Srividya Desireddy
On Sat, Mar 4, 2017 at 02:55 AM, Dan Streetman <ddstr...@ieee.org> wrote: > On Sat, Feb 25, 2017 at 12:18 PM, Sarbojit Ganguly > <unixman.linux...@gmail.com> wrote: >> On 25 February 2017 at 20:12, Srividya Desireddy >> <srividya...@samsung.com> wrote: &g

[PATCH] zswap: Zero-filled pages handling

2017-03-08 Thread Srividya Desireddy
On Sat, Mar 4, 2017 at 02:55 AM, Dan Streetman wrote: > On Sat, Feb 25, 2017 at 12:18 PM, Sarbojit Ganguly > wrote: >> On 25 February 2017 at 20:12, Srividya Desireddy >> wrote: >>> From: Srividya Desireddy >>> Date: Thu, 23 Feb 2017 15:04:06 +0530 >

[PATCH] zswap: Zero-filled pages handling

2017-02-25 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Thu, 23 Feb 2017 15:04:06 +0530 Subject: [PATCH] zswap: Zero-filled pages handling Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiment

[PATCH] zswap: Zero-filled pages handling

2017-02-25 Thread Srividya Desireddy
From: Srividya Desireddy Date: Thu, 23 Feb 2017 15:04:06 +0530 Subject: [PATCH] zswap: Zero-filled pages handling Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiments have shown that around 10-20

[PATCH 0/4] zswap: Optimize compressed pool memory utilization

2017-02-16 Thread Srividya Desireddy
Could you please review this patch series and update if any corrections are needed in the patch-set. -Srividya On Fri, Aug 19, 2016 at 11:04 AM, Srividya Desireddy wrote: > On 17 August 2016 at 18:08, Pekka Enberg wrote: >> On Wed, Aug 17, 2016 at 1:03 PM, Srividya Desireddy

[PATCH 0/4] zswap: Optimize compressed pool memory utilization

2017-02-16 Thread Srividya Desireddy
Could you please review this patch series and update if any corrections are needed in the patch-set. -Srividya On Fri, Aug 19, 2016 at 11:04 AM, Srividya Desireddy wrote: > On 17 August 2016 at 18:08, Pekka Enberg wrote: >> On Wed, Aug 17, 2016 at 1:03 PM, Srividya Desireddy

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 18:02, Pekka Enberg <penb...@kernel.org> wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > <srividya...@samsung.com> wrote: >>> This patch adds a check in zswap_frontswap_store() to identify zero-filled >>> page before

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 18:02, Pekka Enberg wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > wrote: >>> This patch adds a check in zswap_frontswap_store() to identify zero-filled >>> page before compression of the page. If the page is a zero-filled page, set

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 17:55, Pekka Enberg <penb...@kernel.org> wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > <srividya...@samsung.com> wrote: >> @@ -1314,6 +1347,13 @@ static int zswap_frontswap_load(unsigned type, >> pgoff_t offset, >>

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-19 Thread Srividya Desireddy
On 17 August 2016 at 17:55, Pekka Enberg wrote: > On Wed, Aug 17, 2016 at 1:18 PM, Srividya Desireddy > wrote: >> @@ -1314,6 +1347,13 @@ static int zswap_frontswap_load(unsigned type, >> pgoff_t offset, >> } >> spin_unlock(>lock);

[PATCH 0/4] zswap: Optimize compressed pool memory utilization

2016-08-18 Thread Srividya Desireddy
On 17 August 2016 at 18:08, Pekka Enberg <penb...@kernel.org> wrote: > On Wed, Aug 17, 2016 at 1:03 PM, Srividya Desireddy > <srividya...@samsung.com> wrote: >> This series of patches optimize the memory utilized by zswap for storing >> the swapped out pages

[PATCH 0/4] zswap: Optimize compressed pool memory utilization

2016-08-18 Thread Srividya Desireddy
On 17 August 2016 at 18:08, Pekka Enberg wrote: > On Wed, Aug 17, 2016 at 1:03 PM, Srividya Desireddy > wrote: >> This series of patches optimize the memory utilized by zswap for storing >> the swapped out pages. >> >> Zswap is a cache which compresses the pa

[PATCH 4/4] zswap: Update document with sharing of duplicate pages feature

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 17 Aug 2016 14:34:41 +0530 Subject: [PATCH 4/4] zswap: Update document with sharing of duplicate pages feature Updated zswap document with details on the sharing of duplicate swap pages feature. The usage of zswap.same_page_s

[PATCH 4/4] zswap: Update document with sharing of duplicate pages feature

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 17 Aug 2016 14:34:41 +0530 Subject: [PATCH 4/4] zswap: Update document with sharing of duplicate pages feature Updated zswap document with details on the sharing of duplicate swap pages feature. The usage of zswap.same_page_sharing module parameter

[PATCH 2/4] zswap: Enable or disable sharing of duplicate pages at runtime

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 17 Aug 2016 14:32:24 +0530 Subject: [PATCH 2/4] zswap: Enable or disable sharing of duplicate pages at runtime Enable or disable the sharing of duplicate zswap pages at runtime. To enable sharing of duplicate zswap pag

[PATCH 2/4] zswap: Enable or disable sharing of duplicate pages at runtime

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 17 Aug 2016 14:32:24 +0530 Subject: [PATCH 2/4] zswap: Enable or disable sharing of duplicate pages at runtime Enable or disable the sharing of duplicate zswap pages at runtime. To enable sharing of duplicate zswap pages set 'same_page_sharing' sysfs

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 17 Aug 2016 14:34:14 +0530 Subject: [PATCH 3/4] zswap: Zero-filled pages handling This patch adds a check in zswap_frontswap_store() to identify zero-filled page before compression of the page. If the page is a zero-filled pag

[PATCH 3/4] zswap: Zero-filled pages handling

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 17 Aug 2016 14:34:14 +0530 Subject: [PATCH 3/4] zswap: Zero-filled pages handling This patch adds a check in zswap_frontswap_store() to identify zero-filled page before compression of the page. If the page is a zero-filled page, set zswap_entry.zeroflag

[PATCH 1/4] zswap: Share zpool memory of duplicate pages

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy <srividya...@samsung.com> Date: Wed, 17 Aug 2016 14:31:01 +0530 Subject: [PATCH 1/4] zswap: Share zpool memory of duplicate pages This patch shares the compressed pool memory of duplicate pages and reduces compressed pool memory utilized by zswap. For each page req

[PATCH 1/4] zswap: Share zpool memory of duplicate pages

2016-08-17 Thread Srividya Desireddy
From: Srividya Desireddy Date: Wed, 17 Aug 2016 14:31:01 +0530 Subject: [PATCH 1/4] zswap: Share zpool memory of duplicate pages This patch shares the compressed pool memory of duplicate pages and reduces compressed pool memory utilized by zswap. For each page requested for swap-out to zswap

[PATCH 0/4] zswap: Optimize compressed pool memory utilization

2016-08-17 Thread Srividya Desireddy
This series of patches optimize the memory utilized by zswap for storing the swapped out pages. Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiments have shown that around 10-15% of pages stored in

[PATCH 0/4] zswap: Optimize compressed pool memory utilization

2016-08-17 Thread Srividya Desireddy
This series of patches optimize the memory utilized by zswap for storing the swapped out pages. Zswap is a cache which compresses the pages that are being swapped out and stores them into a dynamically allocated RAM-based memory pool. Experiments have shown that around 10-15% of pages stored in