public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Reindl Harald <h.reindl@thelounge.net>
Cc: linux-ext4@vger.kernel.org
Subject: Re: Why isn't ext2 deprecated over ext4?
Date: Wed, 21 Feb 2024 10:48:58 -0500	[thread overview]
Message-ID: <20240221154858.GA594407@mit.edu> (raw)
In-Reply-To: <4b40056d-9b55-48b2-86f0-b91207e9abb7@thelounge.net>

On Wed, Feb 21, 2024 at 12:39:54PM +0100, Reindl Harald wrote:
> 
> you shouldn't create filesystems with a on-disk format that don't support
> 64bit timestamps no matter how small the filesystem is
> 
> the arguments on this list where "such a small filesystem isn't expected to
> be still used in 2038" which is nonsense in case of a /boot FS in a virtual
> machine
> 
> our whole servers already survived 16 years and 30 dist-upgrades

This is an individual system administrator's decision.  The defaults
will not create file systems with 128 byte inodes.  

However, there are situations where it *does* make sense to use ext4
file systems that can not express timestamps past 2038.  For example,
at my employer, 128 byte inodes on HDD's because we do *not* preserve
file system images across hardware upgrades.  Using 128 byte inodes
means that there are 32 inodes per 4k inode table block, as opposed to
only 16 inodes if you are using a 256 byte inode.  There are
performance benefits if you are concerned about reducing the 99.99%
latency on heavily loaded disks, and reducing the TCO costs for bytes
and IOPS for my employer's cluster file system.

Furthermore, from an ecological perspective in terms of power and
cooling perspective, even *if* hard drives would survive for over 8-10
years, it would be irresponsible to keep those systems in service.  So
my employer knows what it is doing when it uses explicit mke2fs
options and/or mke2fs.conf settings to create file systems with 128
byte inodes.

					- Ted

  reply	other threads:[~2024-02-21 15:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-21  9:33 Why isn't ext2 deprecated over ext4? Michael Opdenacker
2024-02-21 10:33 ` Reindl Harald
2024-02-21 11:00 ` Jan Kara
2024-02-21 11:39   ` Reindl Harald
2024-02-21 15:48     ` Theodore Ts'o [this message]
2024-02-21 22:57       ` Reindl Harald
2024-02-22 20:12         ` Theodore Ts'o
2024-02-21 16:29   ` Michael Opdenacker
2024-02-21 16:58     ` Jan Kara
2024-02-21 21:11       ` Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240221154858.GA594407@mit.edu \
    --to=tytso@mit.edu \
    --cc=h.reindl@thelounge.net \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox