Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g3QFn6wJ012512 for ; Fri, 26 Apr 2002 08:49:06 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g3QFn6JC012511 for linux-xfs-outgoing; Fri, 26 Apr 2002 08:49:06 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from kendy2.up.ac.za (kendy2.up.AC.za [137.215.94.33]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g3QFmrwJ012472 for ; Fri, 26 Apr 2002 08:48:55 -0700 Received: from [137.215.95.15] (helo=mx1.up.ac.za) by kendy2.up.ac.za with esmtp (Exim 3.35 #1) id 1717y2-0006ka-00; Fri, 26 Apr 2002 17:49:02 +0200 Received: from tzone.up.ac.za ([137.215.145.210] helo=up.ac.za) by mx1.up.ac.za with esmtp (Exim 3.12 #1) id 1717y1-0003AW-00; Fri, 26 Apr 2002 17:49:01 +0200 Message-ID: <3CC976ED.2C947B0F@up.ac.za> Date: Fri, 26 Apr 2002 17:49:01 +0200 From: Paul Schutte X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18-xfs-ifix-tzone i686) X-Accept-Language: en MIME-Version: 1.0 To: Thor Lancelot Simon CC: Steve Lord , linux-xfs@oss.sgi.com Subject: Re: performance patches References: <3CC95F9A.91A4F784@up.ac.za> <1019831421.23258.16.camel@jen.americas.sgi.com> <20020426110215.A29694@pla-muek.reefedge.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanner: exiscan *1717y1-0003AW-00*Ya7Agq/FL.g* (University of Pretoria, South Africa) Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk I know that it grows with the size, but the rate is much too slow. If you create a 2Gb filesystem, you will have a 1200b log. If you create a 64Gb filesystem, you still have the same 1200b log. (That was still the case when a have set up my mailserver a month ago). If you have 80 clients logging in on a 8Gb partition as in his case, you can be sure to have your performance limited by your 1200b log. 1200b is good for a workstation, not for a high performance server. How was he suppose to know that. The size of the filesystem does not matter as much as the amount of I/O that you expect, as Steve pointed out. Larger filesystems obviously have potential for more I/O. Maybe I put this a bit harsh, but I am trying to defend XFS's honour. All the people that I encountered that said XFS's performace sucks, used the default log size. After corrrecting their mistake, they were impressed by XFS. I bet that we have lost a lot of people because of a too small log size. Paul Thor Lancelot Simon wrote: > On Fri, Apr 26, 2002 at 09:30:21AM -0500, Steve Lord wrote: > > > > If you are putting xfs on a disk and not using it for I/O intensive > > operations, then a smaller log is all you need. There is a cost > > associated with a larger log - longer mount times even when the > > filesystem was cleanly unmounted. > > > > The default size does grow with larger filesystems, but I think they > > need to be pretty big before that kicks in. The sizing is more an Irix > > thing than a linux one - I think it does not kick in until 1 Tbyte. > > According to the Irix 6.5.13 announcement: > > Improved exit codes for the xfsrestore and xfsdump commands. > > Changed the mkfs command to allow you to specify the size of an XFS > allocation group, as an alternative to specifying the total > number of allocation groups. > > Changed the mkfs command to allow you to specify the size of a > stripe unit and the size of a stripe width in bytes or in > filesystem blocks, as an alternative to specifying these values > in 512-byte block units. > > Changed the default size of an XFS allocation group; larger > filesystems will result in larger default allocation group sizes. > > The xfsdump and xfsrestore commands will provide the VSN of the > tape that reached its end-of-volume (or the VSN of a new tape > that needs to be mounted) and pass this VSN to the > media_change_alert_program specified with the -c option. > > Changed the default size of an XFS log. The default log size > grows with the size of the filesystem up to the maximum log > size, 128 megabytes, on a 1 terabyte filesystem. > > Thor