Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751974AbbD2TUM (ORCPT ); Wed, 29 Apr 2015 15:20:12 -0400 Received: from mail-ie0-f180.google.com ([209.85.223.180]:32869 "EHLO mail-ie0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750983AbbD2TUI (ORCPT ); Wed, 29 Apr 2015 15:20:08 -0400 Message-ID: <55412EE2.30103@gmail.com> Date: Wed, 29 Apr 2015 15:20:02 -0400 From: Austin S Hemmelgarn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Mike Galbraith , Daniel Phillips CC: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, tux3@tux3.org, "Theodore Ts'o" , OGAWA Hirofumi Subject: Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?) References: <8f886f13-6550-4322-95be-93244ae61045@phunq.net> <1430274071.3363.4.camel@gmail.com> <1906f271-aa23-404b-9776-a4e2bce0c6aa@phunq.net> <1430289213.3693.3.camel@gmail.com> <1430325763.19371.41.camel@gmail.com> <1430334326.7360.25.camel@gmail.com> In-Reply-To: <1430334326.7360.25.camel@gmail.com> x-hashcash: 1:21:150429:umgwanakikbuti@gmail.com::5c83280b80f4f59df13d6bc8add21cf3:d605d0344fe1b5e6 x-hashcash: 1:21:150429:daniel@phunq.net::65251e8df828b890ea5b1ab6fc29a6e3:b6f9b17025d7c011 x-hashcash: 1:21:150429:linux-kernel@vger.kernel.org::659d275c00c170697d53b6e43808bb72:d66a9d7f2ce677ce x-hashcash: 1:21:150429:linux-fsdevel@vger.kernel.org::1c05632bd3e8aa4f3d57cabf5660ff00:3f6c9011d98bd657 x-hashcash: 1:21:150429:tux3@tux3.org::cfdd063a0269529e8c864e15d8a7f534:b09a24922ed07f6d x-hashcash: 1:21:150429:tytso@mit.edu::cc9be6e07e9264148efcfab9149a1a9e:b42df46ee4f7c342 x-hashcash: 1:21:150429:hirofumi@mail.parknet.co.jp::3311383f4ed847dd3d9f4b00b048af57:432d1c80d8d81b02 x-stampprotocols: hashcash:1:17;mbound:0:10:3000:5000 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms030902030102050109070806" X-Antivirus: avast! (VPS 150429-0, 2015-04-29), Outbound message X-Antivirus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5822 Lines: 105 This is a cryptographically signed message in MIME format. --------------ms030902030102050109070806 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2015-04-29 15:05, Mike Galbraith wrote: > Here's something that _might_ interest xfs folks. > > cd git (source repository of git itself) > make clean > echo 3 > /proc/sys/vm/drop_caches > time make -j8 test > > ext4 2m20.721s > xfs 6m41.887s <-- ick > btrfs 1m32.038s > tux3 1m30.262s > > Testing by Aunt Tilly: mkfs, no fancy switches, mount the thing, test. > > Are defaults for mkfs.xfs such that nobody sane uses them, or does xfs > really hate whatever git selftests are doing this much? > > -Mike > I've been using the defaults for it and have been perfectly happy,=20 although I do use a few non-default mount options (like noatime and=20 noquota). It may just be a factor of what exactly the tests are doing.=20 Based on my experience, xfs _is_ better performance wise with a few=20 large files instead of a lot of small ones when used with the default=20 mkfs options. Of course, my uses for it are more focused on stability=20 and reliability than performance (my primary use for XFS is /boot, and I = use BTRFS for pretty much everything else). --------------ms030902030102050109070806 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGuDCC BrQwggScoAMCAQICAxBuVTANBgkqhkiG9w0BAQ0FADB5MRAwDgYDVQQKEwdSb290IENBMR4w HAYDVQQLExVodHRwOi8v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ZVxyYT4PlRXUj/LZUPs8FJ87h2xSCS8HHXGbgOBRuGxeOd5/ NnKN2AiWv0ZaGOJmbGQID3FPW0QZPhTUMRSreRKRY67yaf/KsXPHSj4Ql2KmFURQz/LSe229 IUK94+gHp96D6wGTWaRc6Tc6kE2VMP25NqDRLxfRa3fiGbZOTHvauFLPX9Q8QF7W79JoPA+x Be53NccJCf/kR/JPrs6AGt3+JLepWwKKluGMrZ27CzTDcgkprmJBAjbSy0Nmsn0a9NDBMGbq re5m1pXnyGBt83wQ9UMzjprtwBUaRSMZTPM7g2gNMiP40vbB3P8NnOjcRfVwNeSS5asoMvq/ evf0J4048IMzuYaeEhPuTQ3oZ31P+pehFwtThJv6HxKNu3/eH/73YzXDX2xpPvRtBLM1w+dI iX1Oru/vg08m235X2TVBU2kLiAwsE3c1LvpmJRJh9IwZFMUi2RsK3jqIasKNMR08L4UsVqOY 0p7KHdONuUKOiwt7yLrYicADeimzlZQQ0UlYVrL1IXy7fVO/N5v+LGenVs8bP0eLVUcVQVe4 Uew3k4coK3wRb7TN5eGQmz1igsMXo0XBCPy1tqrSGhYkpjOUWOJrwk8JOjePAAAAAAAA --------------ms030902030102050109070806-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/