Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id CE439B5DFEC for ; Tue, 31 May 2011 14:09:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 74293-05 for ; Tue, 31 May 2011 17:09:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.peak6.com (smtp.peak6.com [38.98.137.6]) by mail.postgresql.org (Postfix) with ESMTP id 39F2AB5DEE7 for ; Tue, 31 May 2011 14:09:25 -0300 (ADT) X-AuditID: 0a64cb1e-b7bf7ae000000b0d-aa-4de520c43261 Message-ID: <4DE520C3.4000002@peak6.com> Date: Tue, 31 May 2011 12:09:23 -0500 From: Shaun Thomas Reply-To: Organization: Peak6 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Lightning/1.0b2 Thunderbird/3.1.1 MIME-Version: 1.0 To: Robert Haas CC: Greg Smith , Subject: Re: picking a filesystem References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed content-transfer-encoding: 7bit X-Originating-IP: [10.10.221.50] X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrDIsWRmVeSWpSXmKPExsXCxcQrpntE4amvwcK7Eha3+p6yWFyfeY7Z 4uW5fiYHZo/fdw8yeeycdZfd48K+aewBzFENjDaJeXn5JYklqQopqcXJtkoBro7eZgrBJYl5 KYlFKQoumcXJOYmZualFSgqZKbZKRkoKBTmJyam5qXkltkqJBQWpeSlKdlw2QMHMPIXUvOT8 lMy8dFslz2B/XQsLU0tdQyW7eHwg4TJzxu3my0wFT7grDnWeY25g3M3ZxcjJISFgInH/8WsW CFtM4sK99WwgNq+AhsT3OTeBbA4OFgFVifc7skDCbAJqEgt332QEsYUEZCX2rzrHCmLzCwhL 7PvQxAxiiwoUSDRt3c4MMUZQ4uTMJ2DjRQTUJR5d6garZxbwlPh8+CpYjbCAtsTmv7NYIWY6 SLT/eskEspZTwFHixooEiHJbiQtzrrNA2PIS29/OYYYol5O40/Ac7EoJAQWJe3+dJjAKzUKy eBaS7llIuhcwMq9iFC8uS0zOyDQtKM4tKTDUK0hNzDbTy0st2cQIiuOU03I7GKcvVTzEKMDB qMTDW8D01FeINbGsuDL3EKMEB7OSCO83vie+QrwpiZVVqUX58UWlOanFhxi1gQE2kVmKOzkf mGLySuKNDQyUxHltbKb6CgmkA1NAdmpqQWoRTDUTB6dUA2P0/7NFXjEP9t9dyt8mKf5hxu/j sY+UfUK3+O5cuyN0S6robK/6JiNtliszHjuyOu55VbXqDoPBzu3tEplap5m2S11Z5LXWTLdN mOksv6zZDdPPvyYb+Xw2anx0bMJTs9dTecJ8prDfMawoWq2S7tBjYMcx0XhVxsawTXuvJSro vEjkPTTFbZ0SS3FGoqEWc1FxIgA7zAdQ7wIAAA== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/418 X-Sequence-Number: 43927 On 05/31/2011 10:35 AM, Robert Haas wrote: > So if you're running a RHEL5.4 or RHEL5.5 system, are you basically > stuck with ext3? I'm not sure if I'm remembering correctly, but ISTM > that you've been uncomfortable with BOTH ext4 and XFS prior to RHEL6; > but OK with both beginning with RHEL6. We haven't had any problems (yet) running XFS on CentOS 5.5. Sure, it doesn't have a lot of the recent kernel advances that made it faster, but it out-performed our EXT3 filesystem in some cases by 40%. > Also, any tips on mount options for XFS/ext4/ext3? We got the best performance by increasing the agcount during formatting. But we also used some of the advanced logging options. I set the size to 128m, enabled lazy-count to reduce logging overhead, and set version to 2 so we could use a bigger log buffer in the mount options. So: mkfs.xfs -d agcount=256 -l size=128m,lazy-count=1,version=2 For mounting, aside from the usual noatime and nodiratime, we set the allocsize to 256m to reduce fragmentation, maxed out the logbufs at 8, and the logbsize to 256k to improve file deletion performance, and set the attr2 option to better handle inodes. So: mount -o allocsize=256m,logbufs=8,noatime,nodiratime,attr2,logbsize=256k Maybe more recent XFS kernels have other options we're not aware of, but we've had good luck with these so far. -- Shaun Thomas OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604 312-676-8870 sthomas@peak6.com ______________________________________________ See http://www.peak6.com/email_disclaimer.php for terms and conditions related to this email