From: "Kani, Toshi" <toshi.kani@hpe.com>
To: "darrick.wong@oracle.com" <darrick.wong@oracle.com>
Cc: "linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
"david@fromorbit.com" <david@fromorbit.com>,
"linux-nvdimm@lists.01.org" <linux-nvdimm@lists.01.org>
Subject: Re: DAX 2MB mappings for XFS
Date: Sat, 13 Jan 2018 00:05:22 +0000 [thread overview]
Message-ID: <1515804676.16384.64.camel@hpe.com> (raw)
In-Reply-To: <20180112235255.GB5597@magnolia>
On Fri, 2018-01-12 at 15:52 -0800, Darrick J. Wong wrote:
> On Fri, Jan 12, 2018 at 11:15:00PM +0000, Kani, Toshi wrote:
:
> > > > ext4 creates multiple smaller extents for the same request.
> > >
> > > Yes, because it has much, much smaller block groups so "allocation >
> > > max extent size (128MB)" is a common path.
> > >
> > > It's not a common path on XFS - filesystems (and hence AGs) are
> > > typically orders of magnitude larger than the maximum extent size
> > > (8GB) so the problem only shows up when we're near ENOSPC. XFS is
> > > really not optimised for tiny filesystems, and when it comes to pmem
> > > we were lead to beleive we'd have mutliple terabytes of pmem in
> > > systems by now, not still be stuck with 8GB NVDIMMS. Hence we've
> > > spent very little time worrying about such issues because we
> > > weren't aiming to support such small capcities for very long...
> >
> > I see. Yes, there will be multiple terabytes capacity, but it will also
> > allow to divide it into multiple smaller namespaces. So, user may
> > continue to have relatively smaller namespaces for their use cases. If
> > user allocates a namespace that is just big enough to host several
> > active files, it may hit this issue regardless of their size.
>
> I am curious, why not just give XFS all the space and let it manage the space?
Well, I am not sure if having multiple namespaces would be popular use
cases. But it could be useful when a system hosts multiple guests or
containers that require isolation in storage space.
Thanks,
-Toshi
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm
prev parent reply other threads:[~2018-01-13 0:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 19:40 DAX 2MB mappings for XFS Kani, Toshi
2018-01-12 21:19 ` Dave Chinner
2018-01-12 21:38 ` Kani, Toshi
2018-01-12 22:27 ` Dave Chinner
2018-01-12 23:15 ` Kani, Toshi
2018-01-12 23:52 ` Darrick J. Wong
2018-01-13 0:05 ` Kani, Toshi [this message]
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=1515804676.16384.64.camel@hpe.com \
--to=toshi.kani@hpe.com \
--cc=darrick.wong@oracle.com \
--cc=david@fromorbit.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-nvdimm@lists.01.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;
as well as URLs for NNTP newsgroup(s).