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

Reply via email to