From: Jaegeuk Kim <jaegeuk.kim@samsung.com>
To: Clemens Eisserer <linuxhippy@gmail.com>
Cc: linux-f2fs-devel@lists.sourceforge.net
Subject: Re: A lot of data written by cleaner for specific workload
Date: Mon, 27 Jan 2014 14:06:11 +0900 [thread overview]
Message-ID: <1390799171.25542.50.camel@kjgkr> (raw)
In-Reply-To: <CAFvQSYS88P3P-BiqzWE_QjLmuUQ_xScEGKrUdsnymi6jrVPK3A@mail.gmail.com>
Hi,
2014-01-24 (금), 23:07 +0100, Clemens Eisserer:
> Hi Jaegeuk,
>
> Thanks a lot for your reply.
>
> > The f2fs_gc can be controlled by user through a sysfs entry.
> > So, could you look at the amount of written data by varying the gc
> > interval?
> >
> > cat /sys/fs/f2fs/$dev/gc_min_sleep_time
> > 30000
> > cat /sys/fs/f2fs/$dev/gc_max_sleep_time
> > 60000
> >
> > These values are represented in milliseconds.
> > If you don't want to write data as much as possibe and don't need a high
> > performance as the partition becomes full, you can just grow the
> > interval times.
> > The other way is that you can just add a mount option, "-o
> > background_gc=off", which turns off the f2fs_gc.
>
> I'll try turning off the background-gc, as I can't find the
> sysfs-knobs in my system.
>
> What I still wonder is, how the cleaner can write twice the data it
> reads (as in the above example).
If a data is selected to be moved, its node block, an index block,
should be read too.
So, I think it can be double.
I think the mount option would be "background_gc_off" in v3.10.
Thanks,
>
> Regards, Clemens
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Linux-f2fs-devel mailing list
> Linux-f2fs-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
--
Jaegeuk Kim
Samsung
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
prev parent reply other threads:[~2014-01-27 5:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-23 12:42 A lot of data written by cleaner for specific workload Clemens Eisserer
2014-01-23 23:41 ` Jaegeuk Kim
2014-01-24 22:07 ` Clemens Eisserer
2014-01-25 21:40 ` Clemens Eisserer
2014-01-27 5:06 ` Jaegeuk Kim [this message]
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=1390799171.25542.50.camel@kjgkr \
--to=jaegeuk.kim@samsung.com \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linuxhippy@gmail.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;
as well as URLs for NNTP newsgroup(s).