[Top] [All Lists]

Re: Documenting MS_LAZYTIME

To: Theodore Ts'o <tytso@xxxxxxx>, Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: Re: Documenting MS_LAZYTIME
From: Austin S Hemmelgarn <ahferroin7@xxxxxxxxx>
Date: Mon, 23 Feb 2015 07:20:41 -0500
Cc: Michael Kerrisk <mtk.manpages@xxxxxxxxx>, Ext4 Developers List <linux-ext4@xxxxxxxxxxxxxxx>, Linux btrfs Developers List <linux-btrfs@xxxxxxxxxxxxxxx>, XFS Developers <xfs@xxxxxxxxxxx>, linux-man@xxxxxxxxxxxxxxx, Linux-Fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, Linux API <linux-api@xxxxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
Disposition-notification-to: Austin S Hemmelgarn <ahferroin7@xxxxxxxxx>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=89S5iwER2LFwD+vBJ52aeml4WbM+8gqfCb987fepjrk=; b=sONOsxGvGlCXkWsdUhF077hzigLx0W2cqJVMCuGEiSj3FhJRQHRhTxmVi32FWR8UIR Dj6CLbdZGCWAA+S3rRpEbYo/tkzEZf337JaYBjlmLrqIRdE97QN/rJnYmccqZXPBr8CV TxL2h7fSqqLQ6VDlNC2vPEhZev8b5qTuWD9llxKq09RSOhcvBEvY2u0QzVlzwgpm5vOv PIxk2RDNvxb0vCwYc6wheYrXUIIUKWEo2PooS4IjwzsRgMRr05TsajEzveXmCoBiYmXs dv/8gmZBepklKS52N/2z+vs8IUElQbHEEuIq1BIRuUQpNqmqBpTGRPdeg2rmGv1p3ktc YLUQ==
In-reply-to: <20150221025636.GB7922@xxxxxxxxx>
References: <CAHO5Pa0k7QkV_6BDjwTVxa7LV9tFyN9nGFFcSvOC6HYO08wfrw@xxxxxxxxxxxxxx> <54E7578E.4090809@xxxxxxxxxx> <20150221025636.GB7922@xxxxxxxxx>
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
On 2015-02-20 21:56, Theodore Ts'o wrote:
On Fri, Feb 20, 2015 at 09:49:34AM -0600, Eric Sandeen wrote:

               This mount option significantly reduces  writes  to  the
               inode  table  for workloads that perform frequent random
               writes to preallocated files.

This seems like an overly specific description of a single workload out
of many which may benefit, but what do others think?  "inode table" is also
fairly extN-specific.

How about somethign like "This mount significantly reduces writes
needed to update the inode's timestamps, especially mtime and actime.
Examples of workloads where this could be a large win include frequent
random writes to preallocated files, as well as cases where the
MS_STRICTATIME mount option is enabled."?

(The advantage of MS_STRICTATIME | MS_LAZYTIME is that stat system
calls will return the correctly updated atime, but those atime updates
won't get flushed to disk unless the inode needs to be updated for
file system / data consistency reasons, or when the inode is pushed
out of memory, or when the file system is unmounted.)

If you want to list some specific software, it should help with anything that uses sqlite (which notably includes firefox and chrome), as well as most RDMS software and systemd-journald.

<Prev in Thread] Current Thread [Next in Thread>