Re: [f2fs-dev] [PATCH] f2fs: optimize gc for better performance

2013-08-29 Thread Jaegeuk Kim
Hi, 2013-08-29 (목), 08:48 +0800, Jin Xu: > From: Jin Xu > > This patch improves the foreground gc efficiency by optimizing the > victim selection policy. With this optimization, the random re-write > performance could increase up to 20%. > > For f2fs, foreground gc happens when disk is lack of

[f2fs-dev] [PATCH 0/6] treewide: kmem_cache_alloc GFP_ZERO cleanups

2013-08-29 Thread Joe Perches
Just a few cleanups to use zalloc style calls and reduce the uses of __GFP_ZERO for kmem_cache_alloc[_node] uses. Use the more kernel normal zalloc style. Joe Perches (6): slab/block: Add and use kmem_cache_zalloc_node block: Convert kmem_cache_alloc(...GFP_ZERO) to kmem_cache_zalloc i915_g

[f2fs-dev] [PATCH 6/6] f2fs: Convert kmem_cache_alloc(...GFP_ZERO) to kmem_cache_zalloc

2013-08-29 Thread Joe Perches
The helper exists, might as well use it instead of __GFP_ZERO. Signed-off-by: Joe Perches --- fs/f2fs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 13d0a0f..d43709a 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -286,7

Re: [f2fs-dev] [PATCH] f2fs: optimize gc for better performance

2013-08-29 Thread jin xu
Hi Jaegeuk, On Thu, Aug 29, 2013 at 7:56 PM, Jaegeuk Kim wrote: > Hi, > > 2013-08-29 (목), 08:48 +0800, Jin Xu: > > From: Jin Xu > > > > This patch improves the foreground gc efficiency by optimizing the > > victim selection policy. With this optimization, the random re-write > > performance coul

Re: [f2fs-dev] [PATCH] f2fs: optimize gc for better performance

2013-08-29 Thread jin xu
Hi Jaegeuk, On Thu, Aug 29, 2013 at 7:56 PM, Jaegeuk Kim wrote: > > Hi, > > 2013-08-29 (목), 08:48 +0800, Jin Xu: > > From: Jin Xu > > > > This patch improves the foreground gc efficiency by optimizing the > > victim selection policy. With this optimization, the random re-write > > performance co

Re: [f2fs-dev] [PATCH] f2fs: optimize gc for better performance

2013-08-29 Thread Jin Xu
Hi Jaegeuk, On 08/29/2013 07:56 PM, Jaegeuk Kim wrote: > Hi, > > 2013-08-29 (목), 08:48 +0800, Jin Xu: >> From: Jin Xu >> >> This patch improves the foreground gc efficiency by optimizing the >> victim selection policy. With this optimization, the random re-write >> performance could increase up t