This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Performance


This section contains performance testing results and other publications from the TrueNAS Performance team.

Interconnect Maximum Effective Data Rates

These tables list the maximum effective data rates, in a single data flow direction, for various data interconnect protocols. A best effort attempt has been made to exclude physical link encoding overheads where appropriate.

PCI Express 5.0Maximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/sNotes
x13,7563,93831.5
x27,5127,87763.0NVMe M.2 (M+B Key)
x415,02415,754126NVMe M.2 (M Key)
U.2/U.3 (1x4 or 2x2)
E1.S/E1.L (typical)
E3
x830,04831,508252.1E1.S/E1.L (max)
E3
x1660,09663,015504.1E3 (max)
PCI Express 4.0Maximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/sNotes
x11,8781,96915.8
x23,7563,93831.5NVMe M.2 (M+B Key)
x47,5127,87763.0NVMe M.2 (M Key)
U.2/U.3 (1x4 or 2x2)
E1.S/E1.L (typical)
E3
x815,02415,754126.0E1.S/E1.L (max)
E3
x1630,04831,508252.1E3 (max)
PCI Express 3.0Maximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/sNotes
x19399857.9
x21,8781,96915.8NVMe M.2 (M+B Key)
x43,7563,93831.5NVMe M.2 (M Key)
U.2/U.3 (1x4 or 2x2)
x87,5127,87763.0
x1615,02415,754126.0
SAS-4 (24 Gb/s)Maximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/s
x12,2892,40019.2
x49,1559,60076.8
x818,31119,200153.6
SAS-3 (12 Gb/s)Maximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/s
x11,1441,2009.6
x44,5784,80038.4
x89,1529,60076.8
SAS-2 & SATA 3.0 (6 Gb/s)Maximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/s
x15726004.8
x42,2892,40019.2
x84,5764,80038.4
EthernetMaximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/s
1 GbE1191251.0
10 GbE1,1921,25010.0
25 GbE2,9803,12525.0
40 GbE4,7685,00040.0
100 GbE11,92012,500100.0
200 GbE23,84225,000200.0
400 GbE47,68450,000400.0
Fibre ChannelMaximum Effective Data Rate (One Direction)
(10242 Bytes) MiB/s(10002 Bytes) MB/s(10003 Bits) Gb/s
8 Gb7738106.5
16 Gb1,5451,62013.0
32 Gb3,0913,24125.9
64 Gb6,5436,86154.9

SMB Directory List Times

TrueNAS and ZFS by default can support large numbers of files. Per directory this can grow to 281+ trillion and per file system there is no upper limit. However, these are theoritical limits, and there are host and client side practical limits dealing with large quantity of files. Specifically when it comes to how fast you can list or “enumerate” them.

Starting in Dragonfish 24.04 and later, the meta-data performance of directory listings over SMB is greatly improved. Depending on your SMB client, it is possible to support a single directory with anywhere from 100,000 to 1,000,000 files on flash systems with decent load times.

The TrueNAS team has done some very preliminary testing to provide guidance on the approximate time ranges that are possible. Users should understand that as directory file counts increase, listing times increase too.

Hardware Limitations

CPU and Memory speed play a major factor in metadata listing times. For this testing, flash media was used. Spinning disks will generally not perform at the same speeds as flash.

These numbers are provided as rough guides as to what kind of performance might be expected. Many external factors can impact this and your mileage might vary.

Test System Specifications:

  • CPU: Intel i5-12600
  • Memory: 64GB
  • Storage: SAS Flash - Two-Drive ZFS Mirror

Workload: 1K, 100K and 200K Mixed PNG Data

File Count
Operating System100K250K500K1 Million
Windows 111.5~ Seconds4-6~ Seconds7-10~ Seconds14-20~ Seconds
OS X (Sonoma)15.5 MinutesDid not runDid not runDid not run
Ubuntu - File Manager (GUI)13-15~ Seconds1~ MinuteDid not runDid not run
Linux SMB (In-Kernel CIFS CLI)3~ Seconds8~ Seconds17~ Seconds30~ Seconds
Linux smbclient (Userspace CLI)1.2~ Seconds4~ Seconds6~ Seconds12-14~ Seconds