[Top] [All Lists]

Re: noatime,nodiratime?

To: Stan Hoeppner <stan@xxxxxxxxxxxxxxxxx>
Subject: Re: noatime,nodiratime?
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Wed, 19 May 2010 14:50:29 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4BF43B3C.6030403@xxxxxxxxxxxxxxxxx>
References: <4BF3F212.5030600@xxxxxxxxxxxxxxxxx> <20100519182336.GA6264@xxxxxxxxxxxxx> <4BF43B3C.6030403@xxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc11 Lightning/1.0b2pre Thunderbird/3.0.3
On 05/19/2010 02:25 PM, Stan Hoeppner wrote:

> Any chance xfs_info could be updated to output the information we're
> discussing, including spitting out the XFS specific mount options that are
> currently active at the time of running xfs_info?  

xfs_info actually calls xfs_growfs -n, and it's only reporting on-disk
geometry.  I kind of doubt that'll change.  If you want to see mount
options, /proc/mounts is the place ... but then we don't show the
defaults ;)  I wonder if we should change that and be explicit about
every option in /proc/mounts *shrug*

> There seems to be much
> confusion in the community due to lack of accurate information being
> available.  Google for "XFS performance" and you'll see
> "noatime,nodiratime,logbufs=8" mentioned consistently from early 2000's to
> the present as a performance enhancer.

It's so hard to keep google up to date ;)

> If what you say is true, on my system, I actually decreased logbufs
> from 8 to 4 half an hour ago, instead of increasing it from 2 to 4, as man
> lead me to believe I was doing.  Do any of the xfs tools output the XFS
> specific active mount options allowing an op to confirm changes?  As someone
> else stated it would be nice to be able to see these parameter values.  As
> is, AFAICT, there's no way to confirm these parameter values.

/proc/mounts shows all mount options which were set differently from


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