New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEFAULT] Let's use ATIME_MODE = 2
(relatime) by default
#478
Comments
I think we need a poll on that :) I would love to see more comments from other MooseFS users on this particular subject. |
Not an active MooseFS user for some time now (still waiting for that multi master version), but you asked for an opinion, so here it is. Must admit that I'm 100% with @onlyjob on this one, for several reasons. Checking old mfs configurations I used several years ago, I see that setting ATIME_MODE to 4 (so, even more aggressively turning it off!) was the ONLY change from the default options I ever did. So, all defaults are sane, except that one. The reasons being:
tl;dr: yes, I think you should make ATIME_MODE = 2 the default as @onlyjob suggests, it's a good idea IMHO, and I think chances that anybody will complain about that change are very slim Hope it helps! |
I've used Similarly, I happily use As much as I'd love to say that "4" is a sane default, I don't think it is generally, but I would definitely agree that "2" is a very reasonable one. 👍 ❤️ |
I vote for We manage multiple PB of data. |
I use atime_mode=4 on MooseFS, and have set noatime on all my systems for years now. I say go for it. Set it to 2, or even 4. |
@chogata - Most admins will likely know how paranoid they need to be tracking access times. With that said I would sway towards 4 on master + noatime for mfsmount by default as the most performant and IoT / consumer grade hardware friendly |
Or not. I provide storage space to team/developers and I have little knowledge of how they are using it (or intend to use). Even application requirements are usually not well documented. |
resolved by v3.0.117
|
I have been using MooseFS (and LizardFS before it) for a while and I have years of operational experience of managing 150+ TiB cluster running variety of application and
/home
folders of several machines. As my partially SSD-backed MooseFS cluster was performing pretty well (with some quirks of SQLite3 as in Firefox), one application was running very slow with ~20 min. startup time and unresponsive GUI due to large data structures it was scanning and performingstat
on every file. Just as I was thinking that I've exhausted all avenues of improving its performance, I've discovered that MooseFS master usesATIME_MODE = 0
by default so it modifies access times excessively, causing significant performance degradation in some applications.I was impressed how much performance and responsiveness of problematic application have improved after setting
ATIME_MODE = 2
in/etc/mfs/mfsmaster.cfg
.Since
ATIME_MODE = 2
is an equivalent ofrelatime
mount option which is used by default by several file systems nowadays, I suggest to change defaultATIME_MODE
to2
.The text was updated successfully, but these errors were encountered: