public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: <Ivan.Novick@emc.com>
To: xfs@oss.sgi.com
Cc: Timothy.Heath@emc.com
Subject: allocsize mount option behavior
Date: Tue, 16 Nov 2010 16:56:00 -0500	[thread overview]
Message-ID: <C9083DF0.FCE%ivan.novick@emc.com> (raw)

Hello,

I am using the allocsize mount option to reduce fragmentation, by ensuring extents are of a minimum size.

Under a workload with heavy concurrency we noticed that disk space usage went up noticeably.

Can someone clarify the expected behavior of allocsize.  Does it force files to be at least the allocsize size on disk, or is the allocsize size reserved for each open file and then freed up if it is not used and the file is closed, or does it work some other way.

For example if allocsize=1g and I open 1000 files and start writing a small amount of data to each file …. Would the device show as using 1000* 1g of disk space while the files are opened and after they are closed then only the amount of space actually written by the user would be shown as used on disk?

Cheers,
Ivan Novick

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2010-11-16 21:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-16 21:56 Ivan.Novick [this message]
2010-11-17  1:26 ` allocsize mount option behavior Dave Chinner

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=C9083DF0.FCE%ivan.novick@emc.com \
    --to=ivan.novick@emc.com \
    --cc=Timothy.Heath@emc.com \
    --cc=xfs@oss.sgi.com \
    /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