Re: [f2fs-dev] SMR drive test 2; 128GB partition; no obvious corruption, much more sane behaviour,
Brought to you by:
kjgkr
|
From: Marc L. <sc...@sc...> - 2015-09-23 23:43:32
|
On Thu, Sep 24, 2015 at 01:30:22AM +0200, Marc Lehmann <sc...@sc...> wrote:
> > 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.
Sorry, that sounded confusing - I set it to 100 in previous tests, and forgot
to include it, so it was running with 30000. When experimenting, I actually
do get the gc to do more frequent operations now.
Is there any obvious harm setting it to a very low value (such as 100 or 10)?
I assume all it does is have less time buffer between the last operation
and the gc starting. When I write in batches, or when I know the fs will be
idle, there shouldn't be any harm, performance wise, of letting it work all
the time.
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / sc...@sc...
-=====/_/_//_/\_,_/ /_/\_\
|