On Wed, Sep 23, 2015 at 04:55:57PM +0800, Chao Yu <chao2...@samsung.com> wrote: > > echo 1 >gc_idle > > echo 1000 >gc_max_sleep_time > > echo 5000 >gc_no_gc_sleep_time > > One thing I note is that gc_min_sleep_time is not be set in your script, > so in some condition gc may still do the sleep with gc_min_sleep_time (30 > seconds by default) instead of gc_max_sleep_time which we expect.
Ah, sorry, I actually set gc_min_sleep_time to 100, but forgot to include it. > In 4.3 rc1 kernel, we have add a new ioctl to trigger in batches gc, maybe > we can use it as one option. Yes, such an ioctl could be useful to me, although I do not intend to have background gc off. I assume that the ioctl will block for the time it runs, and I can ask it to do up to 16 batches in one go (by default)? That sounds indeed very useful to have. What is "one batch" in terms of gc, one section? -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schm...@schmorp.de -=====/_/_//_/\_,_/ /_/\_\ ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel