• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Anyone else trying xfs file system?

johnspack

Here For Good!
Joined
Oct 6, 2007
Messages
6,013 (0.97/day)
Location
Nelson B.C. Canada
System Name System2 Blacknet , System1 Blacknet2
Processor System2 Threadripper 1920x, System1 2699 v3
Motherboard System2 Asrock Fatality x399 Professional Gaming, System1 Asus X99-A
Cooling System2 Noctua NH-U14 TR4-SP3 Dual 140mm fans, System1 AIO
Memory System2 64GBS DDR4 3000, System1 32gbs DDR4 2400
Video Card(s) System2 GTX 980Ti System1 GTX 970
Storage System2 4x SSDs + NVme= 2.250TB 2xStorage Drives=8TB System1 3x SSDs=2TB
Display(s) 1x27" 1440 display 1x 24" 1080 display
Case System2 Some Nzxt case with soundproofing...
Audio Device(s) Asus Xonar U7 MKII
Power Supply System2 EVGA 750 Watt, System1 XFX XTR 750 Watt
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky
Software Archlinux, Manjaro, Win11 Ent 24h2
Benchmark Scores It's linux baby!
Currently testing under virtualbox 7.04. Using standard non-efi booting, I had to create a 1mb biosgrub partition, then a 512mb efi partition, then the rest for xfs at /.
It boots faster and seems snappier than ext4. Apparently it does like a fast system for it to perform, so not suitable for dual or quad core systems....
kubuntuxfs.png


Oh and this is current Kubuntu 22.10 as well.
 
Joined
Jan 5, 2006
Messages
18,585 (2.72/day)
System Name AlderLake
Processor Intel i7 12700K P-Cores @ 5Ghz
Motherboard Gigabyte Z690 Aorus Master
Cooling Noctua NH-U12A 2 fans + Thermal Grizzly Kryonaut Extreme + 5 case fans
Memory 32GB DDR5 Corsair Dominator Platinum RGB 6000MT/s CL36
Video Card(s) MSI RTX 2070 Super Gaming X Trio
Storage Samsung 980 Pro 1TB + 970 Evo 500GB + 850 Pro 512GB + 860 Evo 1TB x2
Display(s) 23.8" Dell S2417DG 165Hz G-Sync 1440p
Case Be quiet! Silent Base 600 - Window
Audio Device(s) Panasonic SA-PMX94 / Realtek onboard + B&O speaker system / Harman Kardon Go + Play / Logitech G533
Power Supply Seasonic Focus Plus Gold 750W
Mouse Logitech MX Anywhere 2 Laser wireless
Keyboard RAPOO E9270P Black 5GHz wireless
Software Windows 11
Benchmark Scores Cinebench R23 (Single Core) 1936 @ stock Cinebench R23 (Multi Core) 23006 @ stock
Apparently it does like a fast system for it to perform, so not suitable for dual or quad core systems....
Or did you mean cores... Since Xeons aren't known for being fast as far as I know....

So it should perform fast on my i7 12700K system.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
26,622 (3.81/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) Odyssey OLED G9 (G95SC)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Modi+ & Valhalla 2
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
You mean xfs on kubuntu specifically or? its not a new FS I have used it for years on production data arrays.
 

johnspack

Here For Good!
Joined
Oct 6, 2007
Messages
6,013 (0.97/day)
Location
Nelson B.C. Canada
System Name System2 Blacknet , System1 Blacknet2
Processor System2 Threadripper 1920x, System1 2699 v3
Motherboard System2 Asrock Fatality x399 Professional Gaming, System1 Asus X99-A
Cooling System2 Noctua NH-U14 TR4-SP3 Dual 140mm fans, System1 AIO
Memory System2 64GBS DDR4 3000, System1 32gbs DDR4 2400
Video Card(s) System2 GTX 980Ti System1 GTX 970
Storage System2 4x SSDs + NVme= 2.250TB 2xStorage Drives=8TB System1 3x SSDs=2TB
Display(s) 1x27" 1440 display 1x 24" 1080 display
Case System2 Some Nzxt case with soundproofing...
Audio Device(s) Asus Xonar U7 MKII
Power Supply System2 EVGA 750 Watt, System1 XFX XTR 750 Watt
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky
Software Archlinux, Manjaro, Win11 Ent 24h2
Benchmark Scores It's linux baby!
On Kubuntu of course. And I'm running it on my oced 1680, but in a vm with only 6 threads. So yes it will rock on your gen12 cpu....
Far as I know Redhat uses it by default.
 
Joined
Jul 5, 2013
Messages
26,671 (6.50/day)
I have not tried it yet either. Didn't know about it. I think I'll stay with EXT3/4 for now, but this looks interesting!
 
Joined
Apr 18, 2013
Messages
1,260 (0.30/day)
Location
Artem S. Tashkinov
It boots faster and seems snappier than ext4.

Formal tests are required. Too often something feels "faster" because it's just new/freshly installed. This is especially true for Windows and Android.

I use EXT4 exclusively on Linux because there are multiple applications, including R-Studio Undelete which allow to restore data from it. XFS, AFAIK, has nothing aside from built-in utilities which are very basic.
 
Last edited:
Joined
Jul 15, 2022
Messages
931 (1.16/day)
How would you compare to other file systems?
It has worse performance than other file systems when dealing with many small files. I've been using Linux for quite some time now and I've never seen any file system errors, although errors have happened. But the exception to this was XFS. When installing a fairly recent CentOS version, I got XFS errors in VirtualBox during installation and the installer can crash completely. You do have more flopped file systems like HFS. But XFS I think is pretty similar to HFS in terms of reliability and performance and overall quality.
 

johnspack

Here For Good!
Joined
Oct 6, 2007
Messages
6,013 (0.97/day)
Location
Nelson B.C. Canada
System Name System2 Blacknet , System1 Blacknet2
Processor System2 Threadripper 1920x, System1 2699 v3
Motherboard System2 Asrock Fatality x399 Professional Gaming, System1 Asus X99-A
Cooling System2 Noctua NH-U14 TR4-SP3 Dual 140mm fans, System1 AIO
Memory System2 64GBS DDR4 3000, System1 32gbs DDR4 2400
Video Card(s) System2 GTX 980Ti System1 GTX 970
Storage System2 4x SSDs + NVme= 2.250TB 2xStorage Drives=8TB System1 3x SSDs=2TB
Display(s) 1x27" 1440 display 1x 24" 1080 display
Case System2 Some Nzxt case with soundproofing...
Audio Device(s) Asus Xonar U7 MKII
Power Supply System2 EVGA 750 Watt, System1 XFX XTR 750 Watt
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky
Software Archlinux, Manjaro, Win11 Ent 24h2
Benchmark Scores It's linux baby!
Interesting. I installed in virtualbox as well, but used Kubuntu, and manually partitioned it. Kubuntu does not normally use xfs as a file system.
Boots and runs like a champ. Performance seems similar to ext4, and a bit less. So I guess ext4 for the win. xfs if you need far more backup utility.....
 
Joined
Jun 2, 2022
Messages
349 (0.41/day)
System Name HP EliteBook 725 G3
Processor AMD PRO A10-8700B (1.8 GHz CMT dual module with 3.2 GHz boost)
Motherboard HP proprietary
Cooling pretty good
Memory 8 GB SK Hynix DDR3 SODIMM
Video Card(s) Radeon R6 (Carrizo/GCNv3)
Storage internal Kioxia XG6 1 TB NVMe SSD (aftermarket)
Display(s) HP P22h G4 21.5" 1080p (& 768p internal LCD)
Case HP proprietary metal case
Audio Device(s) built-in Conexant CX20724 HDA chipset -> Roland RH-200S
Power Supply HP-branded AC adapter
Mouse Steelseries Rival 310
Keyboard Cherry G84-5200
Software Alma Linux 9.1
Benchmark Scores Broadcom BCM94356 11ac M.2 WiFi card (aftermarket)
I am using it now on my ProBook 645 G1 as it is the default on Alma Linux 9. I have preferred it for quite a while ever since I read a comment by a kernel developer (was it even Torvalds himself?) that the devs have no idea what some parts of the ext4 code even do. I don't like the idea of entrusting my data to something like that.
 
Joined
Jul 5, 2013
Messages
26,671 (6.50/day)
I am using it now on my ProBook 645 G1 as it is the default on Alma Linux 9. I have preferred it for quite a while ever since I read a comment by a kernel developer (was it even Torvalds himself?) that the devs have no idea what some parts of the ext4 code even do. I don't like the idea of entrusting my data to something like that.
Just because some devs don't know what parts of EXT4 coding do, doesn't make it untrustworthy. EXT4 is fully opensource and has been fully examined MANY times. If there was something hinky going on with it, we would know by now.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,559 (2.38/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
I am still using EXT4 with Pop OS since that is my daily driver. As far as 'trying' goes, well I have tried them all as any good Linux enthusiast should.
 
Joined
Jul 15, 2022
Messages
931 (1.16/day)
XFS has always scored very badly in the Phoronix 'Compile Bench'. Compilebench tries to age a filesystem by simulating some of the disk IO common in creating, compiling, patching, stating and reading kernel trees. It indirectly measures how well filesystems can maintain directory locality as the disk fills up and directories age. This current test is setup to use the makej mode with 10 initial directories.

I think this means that XFS quickly loses performance if you use it for a long time.
The result of XFS is often more than three times lower than ZFS in this benchmark, and the difference with Btrfs and EXT4 is greater.

On a single-drive system, performance wise ext4 is what the user wants.
On multi-drive systems, the opposite might be true, zfs outperforming ext4.

I think ZFS also performs better on FreeBSD than on Linux.
On FreeBSD I don't notice things slower than if I used Clear Linux + EXT4 (on this single-drive system).

In terms of overall reliability and features, ZFS is the best out there, so performance is also high, especially on BSD systems.

HAMMER2 is also excellent and sometimes faster than all Linux file systems, but it is not the best choice in 'all situations'.
 
Joined
Aug 20, 2007
Messages
21,245 (3.40/day)
System Name Pioneer
Processor Ryzen R9 9950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage Intel 905p Optane 960GB boot, +2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches + PBT DS keycaps
Software Gentoo Linux x64 / Windows 11 Enterprise IoT 2024
Have used xfs in production for many years. This post is stored on xfs. (Centos/fedora)
XFS is a known high performer for filesystem performance. Has been for years. It is slightly more tuned for HDDs performance wise, but probably scales well to SSDs as well.
 
Joined
Jul 15, 2022
Messages
931 (1.16/day)
XFS is a known high performer for filesystem performance. Has been for years. It is slightly more tuned for HDDs performance wise, but probably scales well to SSDs as well.
Performance is something that depends very much on many different variables. E.g. which app, which task does the app do, which operating system, etc. All of these three things can greatly affect the performance of XFS for better or worse.

I don't know if XFS is as fast as what Red Hat wants people to believe. In databases it seems to be one of the slowest in existence:

FreeBSD's UFS2 was a surprise to me. It had the fastest read time, but the slowest write time of any operating system. As a result, FreeBSD can be considered for historical data storage backup use. Or a server for read-intensive applications.


Although the bhyve management ecosystem is currently quite limited in comparison to Linux KVM’s, its performance is already quite impressive.
For storage-heavy workloads, the benefit of bhyve’s emulated NVMe controller is difficult to overstate—it produced massive throughput improvements that even a long-time KVM fan simply cannot ignore.


Performance of Linux vs. FreeBSD NFS clients

OpenZFS Lands A Very Nice Performance Optimization
With the combination of enabled prefetch and avoided memory copy this change improves sequential single-threaded read speed from a wide NVMe pool from 2049 to 3932 MiB/s. During write profiler shows 22% reduction of unhalted CPU cycles at the same throughput of 3653 MiB/s.

XFS merits consideration only for very specific use cases where large files are involved and your application can make use of parallel I/O and even then data integrity and error detection is absent. OpenZFS on the other hand can be recommended even when all the future use cases are not immediately apparent. With the surety that if it doesn’t corrupt your data or silently gives you back the wrong information, OpenZFS is the obvious choice for your valuable data.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,559 (2.38/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
For desktop use, the speed difference is irrelevant. Desktop users should want something reliable first.
 
Joined
Jun 2, 2022
Messages
349 (0.41/day)
System Name HP EliteBook 725 G3
Processor AMD PRO A10-8700B (1.8 GHz CMT dual module with 3.2 GHz boost)
Motherboard HP proprietary
Cooling pretty good
Memory 8 GB SK Hynix DDR3 SODIMM
Video Card(s) Radeon R6 (Carrizo/GCNv3)
Storage internal Kioxia XG6 1 TB NVMe SSD (aftermarket)
Display(s) HP P22h G4 21.5" 1080p (& 768p internal LCD)
Case HP proprietary metal case
Audio Device(s) built-in Conexant CX20724 HDA chipset -> Roland RH-200S
Power Supply HP-branded AC adapter
Mouse Steelseries Rival 310
Keyboard Cherry G84-5200
Software Alma Linux 9.1
Benchmark Scores Broadcom BCM94356 11ac M.2 WiFi card (aftermarket)
For desktop use, the speed difference is irrelevant. Desktop users should want something reliable first.
And XFS meets that requirement. It is a very mature filesystem. Furthermore, work is ongoing to add some of the most important features that Btrfs and ZFS have. When that is finished there will be zero reason to use Btrfs and even some ZFS on Linux users may switch to XFS. I predict Btrfs will finally die, perhaps Oracle (Linux) and Meta will hang on to it (and those are exactly the two corporations that I wish will continue to ~suffer~ ahem I mean benefit from Btrfs)...
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
15,559 (2.38/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 13600KF
Motherboard AsRock B760M Steel Legend Wifi
Cooling Noctua NH-U9S
Memory 4x 16 Gb Gskill S5 DDR5 @6000
Video Card(s) Gigabyte Gaming OC 6750 XT 12GB
Storage WD_BLACK 4TB SN850x
Display(s) Gigabye M32U
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply EVGA Supernova 650 P2
Mouse MX Master 3s
Keyboard Logitech G915 Wireless Clicky
Software The Matrix
And XFS meets that requirement. It is a very mature filesystem. Furthermore, work is ongoing to add some of the most important features that Btrfs and ZFS have. When that is finished there will be zero reason to use Btrfs and even some ZFS on Linux users may switch to XFS. I predict Btrfs will finally die, perhaps Oracle (Linux) and Meta will hang on to it (and those are exactly the two corporations that I wish will continue to ~suffer~ ahem I mean benefit from Btrfs)...

Yes it is stable and mature. Currently I still use EXT4 on linux servers. On desktop (Fedora 37) I am using BTRFS and it has been reliable enough. When I was on FreeBSD 15 years ago ZFS had just been released for BSD and was all the rage. What I learned during my time is BSD folks are practically a cult so its best not to question their choices of technology. Just nod and back away slowly unless you want to get into a long winded discussion on how BSD is better than Linux in every way. :laugh:
 
Joined
Jan 12, 2023
Messages
193 (0.31/day)
System Name IZALITH (or just "Lith")
Processor AMD Ryzen 7 7800X3D (4.2Ghz base 5.0Ghz boost, -30 PBO offset)
Motherboard Gigabyte X670E Aorus Master Rev 1.0
Cooling Deepcool Gammaxx AG400 Single Tower
Memory Corsair Vengeance 64GB (2x32GB) 6000MHz CL40 DDR5 XMP (XMP enabled)
Video Card(s) PowerColor Radeon RX 7900 XTX Red Devil OC 24GB
Storage 2x1TB SSD, 2x2TB SSD, 2x 8TB HDD
Display(s) Samsung Odyssey G51C 27" QHD (1440p 165Hz) + Samsung Odyssey G3 24" FHD (1080p 165Hz)
Case Corsair 7000D Airflow Full Tower
Audio Device(s) Corsair HS55 Surround Wired Headset/LG Z407 Speaker Set
Power Supply Corsair HX1000 Platinum Modular (1000W)
Mouse Corsair RGB Harpoon PRO Wired Mouse
Keyboard Corsair K60 RGB PRO Mechanical Gaming Keyboard
Software Arch Linux
I have been running XFS on multiple installs (including my current media server) as my default for years. No major issues, no major filesystem corruption except when the hardware underneath was faulting (ext4 I have had issues with in the past), performance seems on par with ext4 except for smaller files and even then, not enough to affect my workflows. Highly recommend it.
 
Joined
Mar 18, 2023
Messages
790 (1.41/day)
System Name Never trust a socket with less than 2000 pins
Much prefer ZFS. Similar design goals to XFS, but much further developed and available on multiple OSes.
 
Joined
Jul 15, 2022
Messages
931 (1.16/day)

On the same hardware , SSD-Disks. On one side FreeBSD with ZFS filesystem, and on the other side Arch-Linux with XFS filesystem.

Number of transactions per second comparison:

Redis-DB was as fast on Linux as on FreeBSD
Mongo-DB was 20 % faster on FreeBSD
Postgresql-DB was 30% faster on FreeBSD
Sqlite-DB was 3X times faster on FreeBSD
 
Joined
Mar 18, 2023
Messages
790 (1.41/day)
System Name Never trust a socket with less than 2000 pins

On the same hardware , SSD-Disks. On one side FreeBSD with ZFS filesystem, and on the other side Arch-Linux with XFS filesystem.

Number of transactions per second comparison:

Redis-DB was as fast on Linux as on FreeBSD
Mongo-DB was 20 % faster on FreeBSD
Postgresql-DB was 30% faster on FreeBSD
Sqlite-DB was 3X times faster on FreeBSD

Would be cool to run ZFS on FreeBSD versus ZFS on Linux. When I compared that for NFS fileserving and local benchmarking the performance was virtually identical. Hardly surprising since it's the same codebase.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
26,622 (3.81/day)
Location
Alabama
System Name RogueOne
Processor Xeon W9-3495x
Motherboard ASUS w790E Sage SE
Cooling SilverStone XE360-4677
Memory 128gb Gskill Zeta R5 DDR5 RDIMMs
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 2TB WD SN850X | 2x 8TB GAMMIX S70
Display(s) Odyssey OLED G9 (G95SC)
Case Thermaltake Core P3 Pro Snow
Audio Device(s) Moondrop S8's on schitt Modi+ & Valhalla 2
Power Supply Seasonic Prime TX-1600
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11 Pro Workstation
Benchmark Scores I dont have time for that.
Yes it is stable and mature. Currently I still use EXT4 on linux servers. On desktop (Fedora 37) I am using BTRFS and it has been reliable enough. When I was on FreeBSD 15 years ago ZFS had just been released for BSD and was all the rage. What I learned during my time is BSD folks are practically a cult so its best not to question their choices of technology. Just nod and back away slowly unless you want to get into a long winded discussion on how BSD is better than Linux in every way. :laugh:
To be fair arch users are the same breed. :p
 
Top