Difference between revisions of "Performance tuning"

Jump to navigation Jump to search
348 bytes added ,  21:49, 27 June 2020
m
Added note about Optane / 3D XPoint SSDs to Synchronous I/O
m (Fixed ashift url.)
m (Added note about Optane / 3D XPoint SSDs to Synchronous I/O)
Line 140: Line 140:
=== Synchronous I/O ===
=== Synchronous I/O ===


If your workload involves fsync or O_SYNC and your pool is backed by mechanical storage, consider adding one or more SLOG devices. Pools that have multiple SLOG devices will distribute ZIL operations across them. See [[Hardware#NAND_Flash_SSDs]] for suggestions.
If your workload involves fsync or O_SYNC and your pool is backed by mechanical storage, consider adding one or more SLOG devices. Pools that have multiple SLOG devices will distribute ZIL operations across them. The best choice for SLOG devices is likely an Optane / 3D XPoint SSD. See [[Hardware#Optane_.2F_3D_XPoint_SSDs]] for a description of them. If an Optane / 3D XPoint SSD is an option, the rest of this section on synchronous I/O need not be read. If an Optane / 3D XPoint SSD is not an option, see [[Hardware#NAND_Flash_SSDs]] for suggestions for NAND flash SSDs and also read the information below.


To ensure maximum ZIL performance on NAND flash SSD-based SLOG devices, you should also overprovison spare area to increase IOPS[http://www.anandtech.com/show/6489/playing-with-op]. You can do this with a mix of a secure erase and a partition table trick, such as the following:
To ensure maximum ZIL performance on NAND flash SSD-based SLOG devices, you should also overprovison spare area to increase IOPS[http://www.anandtech.com/show/6489/playing-with-op]. You can do this with a mix of a secure erase and a partition table trick, such as the following:
Editor
348

edits

Navigation menu