Book Image

Learning RHEL Networking

By : Andrew Mallett, Adam Miller
Book Image

Learning RHEL Networking

By: Andrew Mallett, Adam Miller

Overview of this book

Table of Contents (18 chapters)
Learning RHEL Networking
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Optimizing btrfs for solid state drives


When creating a btrfs filesystem on multiple SSDs, using the single -m option will ensure that the metadata is not duplicated. On an SSD, duplicating metadata is thought of as a waste of space and has an overhead that can lessen the life of the disk, as shown in the following code:

# mkfs.btrfs -m single /dev/sdb

The second way is to use the ssd mount option. This option will set a few performance options:

  • Allows large metadata clusters

  • Allows more sequential data allocation

  • Disables leaf writing to match key and block order in the b-tree database

  • Commits b-tree log fragments without batching multiple processes