Re: XFS vs Ext4 redux -- preferences/warnings/etc

From: Rich J <rjoralist3_at_society.servebeer.com>
Date: Thu, 11 Apr 2019 09:08:56 -0500
Message-ID: <5158f7abc638cc7ff2d538555ab5e89a_at_society.servebeer.com>



On 2019/04/11 06:24, Mladen Gogala wrote:

> On 4/11/19 5:56 AM, Stefan Koehler wrote:
>

>> Hello Rich,
>> one clear recommendation: Go with XFS.

>
> Well, it's not that simple. For SSD's, Ext4 is far better option. XFS is a classic extent based file system which is essentially the same since the glory days of SGI. Here are two good articles:
>
> https://www.maketecheasier.com/best-linux-filesystem-for-ssd/
>
> https://www.addictivetips.com/ubuntu-linux-tips/best-ssd-friendly-file-systems-on-linux/
>
> The best answer we can give is the famous "it depends". This time it depends on the user's hardware.

Interesting articles, but their focus is clearly not on data protection (or servers). There is exactly a 0% chance I'd ever mount a Linux filesystem containing business data on my Production ERP boxes without a journal.

I've found Kevin Clossen's experiment from 2012 that seems to conclude that EXT4 (at the time) serialized writes. I'd question the software RAID in his test, but XFS didn't have the throughput problem. But that was 7 years (and 1 major OEL release) ago. https://kevinclosson.net/2012/03/06/yes-file-systems-still-need-to-support-concurrent-writes-yet-another-look-at-xfs-versus-ext4/

I've also found Andre Leibovici's recent SLOB tests using flash storage.  Like just about everywhere else, the conclusion is that XFS outperforms EXT4 for Oracle database loads. However, the tests are done with an open converged system (Datrium), so I'm not sure how that'll translate to a traditional SAN.
http://myvirtualcloud.net/ext4-vs-xfs-vs-asm-vs-asm-oel-which-one-performs-better-taking-it-to-the-next-level/

So, yes, I've been leaning towards XFS. But since I haven't used it on a Production Oracle server of any size, and I got burned by XFS once (probably 15 years ago now?), I had to ask the question. Again. :)

Thanks Mladen and Stefan,
Rich

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 11 2019 - 16:08:56 CEST

Original text of this message