From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?) Date: Tue, 12 May 2015 00:12:23 +0200 Message-ID: <20150511221223.GD4434@amd> References: <1430325763.19371.41.camel@gmail.com> <1430334326.7360.25.camel@gmail.com> <20150430002008.GY15810@dastard> <1430395641.3180.94.camel@gmail.com> <1430401693.3180.131.camel@gmail.com> <55423732.2070509@phunq.net> <55423C05.1000506@symas.com> <554246D7.40105@phunq.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Howard Chu , Mike Galbraith , Dave Chinner , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, tux3@tux3.org, Theodore Ts'o , OGAWA Hirofumi To: Daniel Phillips Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:40537 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751310AbbEKWMZ (ORCPT ); Mon, 11 May 2015 18:12:25 -0400 Content-Disposition: inline In-Reply-To: <554246D7.40105@phunq.net> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi! > > It is a fact of life that when you change one aspect of an intimately interconnected system, > > something else will change as well. You have naive/nonexistent free space management now; when you > > design something workable there it is going to impact everything else you've already done. It's an > > easy bet that the impact will be negative, the only question is to what degree. > > You might lose that bet. For example, suppose we do strictly linear allocation > each delta, and just leave nice big gaps between the deltas for future > expansion. Clearly, we run at similar or identical speed to the current naive > strategy until we must start filling in the gaps, and at that point our layout > is not any worse than XFS, which started bad and stayed that way. Umm, are you sure. If "some areas of disk are faster than others" is still true on todays harddrives, the gaps will decrease the performance (as you'll "use up" the fast areas more quickly). Anyway... you have brand new filesystem. Of course it should be faster/better/nicer than the existing filesystems. So don't be too harsh with XFS people. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html