From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752559AbbIMW4y (ORCPT ); Sun, 13 Sep 2015 18:56:54 -0400 Received: from ipmail05.adl6.internode.on.net ([150.101.137.143]:8164 "EHLO ipmail05.adl6.internode.on.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751506AbbIMW4x (ORCPT ); Sun, 13 Sep 2015 18:56:53 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BIDABI/vVVPOV8LHldgyOBPYZZokUBAQEBAQEGnAAEAgKBH00BAQEBAQEHAQEBAUE/hCQBAQQnExwzCAMOCgklDwUlAwcaARKILck7LBmGE4VEhRSELAEEjHiIX4x7jnmMCIR2LDOKfQEBAQ Date: Mon, 14 Sep 2015 08:56:50 +1000 From: Dave Chinner To: Chris Mason , Linus Torvalds , Josef Bacik , LKML , linux-fsdevel , Neil Brown , Jan Kara , Christoph Hellwig Subject: Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug() Message-ID: <20150913225650.GR26895@dastard> References: <55F33C2B.1010508@fb.com> <20150911231636.GC4150@ret.masoncoding.com> <20150912230027.GE4150@ret.masoncoding.com> <20150912234632.GF4150@ret.masoncoding.com> <20150913131244.GA15926@ret.masoncoding.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150913131244.GA15926@ret.masoncoding.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 13, 2015 at 09:12:44AM -0400, Chris Mason wrote: > On Sat, Sep 12, 2015 at 07:46:32PM -0400, Chris Mason wrote: > > I don't think the XFS numbers can be trusted too much since it was > > basically bottlenecked behind that single pegged CPU. It was bouncing > > around and I couldn't quite track it down to a process name (or perf > > profile). > > I'll do more runs Monday, but I was able to grab a perf profile of the > pegged XFS CPU. It was just the writeback worker thread, and it > hit btrfs differently because we defer more of this stuff to endio > workers, effectively spreading it out over more CPUs. > > With 4 mount points intead of 2, XFS goes from 140K files/sec to 250K. > Here's one of the profiles, but it bounced around a lot so I wouldn't > use this to actually tune anything: mkfs.xfs -d agcount=64 .... Cheers, Dave. -- Dave Chinner david@fromorbit.com