All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
To: linux-xfs@vger.kernel.org
Subject: Which fragmentation factor is allowable for xfs (not impact on performance)?
Date: Sat, 6 Oct 2018 22:34:13 +0500	[thread overview]
Message-ID: <CABXGCsOxH-gfLL4Mo+RxNk4OoWgAdJzW2Sv2w2He7VkgKxqUug@mail.gmail.com> (raw)

Which fragmentation factor is allowable for xfs (not impact on performance)?

# xfs_db -c frag -r /dev/sda
actual 4908781, ideal 2801391, fragmentation factor 42.93%
Note, this number is largely meaningless.
Files on this filesystem average 1.75 extents per file

# mount | grep sda
/dev/sda on /home type xfs (rw,relatime,seclabel,attr2,inode64,noquota)

# df -h | grep sda
/dev/sda         11T  5.3T  5.7T  49% /home

I think it too much for partition which are half free.

It would also be interesting to see the fragmentation in the context
of files, but I have not found anywhere how to look at it.

Thanks.

--
Best Regards,
Mike Gavrilov.

             reply	other threads:[~2018-10-07  0:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-06 17:34 Mikhail Gavrilov [this message]
2018-10-06 21:20 ` Which fragmentation factor is allowable for xfs (not impact on performance)? Eric Sandeen
2018-10-09 17:33   ` Mikhail Gavrilov
2018-10-09 21:41     ` 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=CABXGCsOxH-gfLL4Mo+RxNk4OoWgAdJzW2Sv2w2He7VkgKxqUug@mail.gmail.com \
    --to=mikhail.v.gavrilov@gmail.com \
    --cc=linux-xfs@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.