From: karam.lee@lge.com
To: minchan@kernel.org, ngupta@vflare.org, linux-kernel@vger.kernel.org
Cc: matthew.r.wilcox@intel.com, jmarchan@redhat.com,
seungho1.park@lge.com, "karam.lee" <karam.lee@lge.com>
Subject: [PATCH v2 0/3] zram: add rw_page implementation for zram and clean up unnecessary parameter
Date: Mon, 13 Oct 2014 17:55:39 +0900 [thread overview]
Message-ID: <1413190542-23960-1-git-send-email-karam.lee@lge.com> (raw)
From: "karam.lee" <karam.lee@lge.com>
Recently rw_page block device operation has been added.
This patchset implements rw_page operation for zram block device
and does some clean-up .
I implemented the feature in zram and tested it.
Test bed was the G2, LG electronic mobile device, whtich has msm8974
processor and 2GB memory.
With a memory allocation test program consuming memory, the system
generates swap.
And operating time of swap_write_page() was measured.
--------------------------------------------------
| | operating time | improvement |
| | (20 runs average) | |
--------------------------------------------------
|with patch | 1087.35 us | |
--------------------------------------------------
|without patch| 1061.15 us | +2.4% |
--------------------------------------------------
Each test(with paged_io,with BIO) result set shows normal distribution
and has equal variance.
I mean the two values are valid result to compare.
I can say operation with paged I/O(without BIO) is faster 2.4% with
confidence level 95%.
Patches 1~2 are for clean-up.
Patch 3 is for implementation of rw_page operation.
With the rw_page operation, zram can do I/O without allocating a BIO.
It make zram can save time and memory.
karam.lee (3):
zram: remove bio parameter from zram_bvec_rw().
zram: change parameter from vaild_io_request()
zram: implement rw_page operation of zram
drivers/block/zram/zram_drv.c | 69 +++++++++++++++++++++++++++++++----------
1 file changed, 53 insertions(+), 16 deletions(-)
--
1.7.9.5
next reply other threads:[~2014-10-13 8:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-13 8:55 karam.lee [this message]
2014-10-13 8:55 ` [PATCH v2 1/3] zram: remove bio parameter from zram_bvec_rw() karam.lee
2014-10-20 9:30 ` Minchan Kim
2014-10-13 8:55 ` [PATCH v2 2/3] zram: change parameter from vaild_io_request() karam.lee
2014-10-20 9:31 ` Minchan Kim
2014-10-13 8:55 ` [PATCH v2 3/3] zram: implement rw_page operation of zram karam.lee
2014-10-20 9:42 ` 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=1413190542-23960-1-git-send-email-karam.lee@lge.com \
--to=karam.lee@lge.com \
--cc=jmarchan@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.r.wilcox@intel.com \
--cc=minchan@kernel.org \
--cc=ngupta@vflare.org \
--cc=seungho1.park@lge.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®