Re: mount time for big filesystems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-08-31 07:00, Hans van Kranenburg wrote:
On 08/31/2017 12:43 PM, Marco Lorenzo Crociani wrote:
Hi,
this 37T filesystem took some times to mount. It has 47
subvolumes/snapshots and is mounted with
noatime,compress=zlib,space_cache. Is it normal, due to its size?

Yes, unfortunately it is. It depends on the size of the metadata extent
tree. During mount, the BLOCK_GROUP_ITEM objects are loaded from that
tree. They're scattered all around, causing a lot of random reads when
your disk cache is still ice cold.
FWIW, you can (sometimes) improve things by running a full balance.

Other than that, there's not much that can be done unless BTRFS gets changed to actively group certain data close to each other on disk (which would be nice for other reasons too TBH).

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux