- Newest
- Most votes
- Most comments
Amazon Linux 2 images have used XFS since sometime in 2017.
Changing the default filesystem is the kind of change we would only make on a product release boundary - say, from AL AMI to AL2. We strive to maintain as much consistency as possible throughout the life cycle of a product. AL AMI uses ext4 filesystems by default, and AL2 uses XFS, and both will continue to do so.
ok i might got confused because the Amazon Linux 2 ECS AMI still uses ext4 for the rootfs. Anyway can you tell me why amazon decided to use XFS instead of ext4 for the base Amazon Linux 2 AMI?
Thanks
bump, i would like to know why amazon decided to switch ext4 to xfs for amazon linux 2?
thanks
Probably because XFS has much larger limits for filesystem and file sizes. I also think it supports multiple threads better than EXT4 if I recall correctly. HTH.
While there's been a lot of progress on ext4 and concurrency over the years, XFS does maintain a clear advantage for a good selection of workloads. Scalability across cores and IO load is certainly a big part of it.
Relevant content
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago