This is the multi-page printable view of this section. Click here to print.
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.0 | Maximum Effective Data Rate (One Direction) | |||
|---|---|---|---|---|
| (10242 Bytes) MiB/s | (10002 Bytes) MB/s | (10003 Bits) Gb/s | Notes | |
| x1 | 3,756 | 3,938 | 31.5 | |
| x2 | 7,512 | 7,877 | 63.0 | NVMe M.2 (M+B Key) |
| x4 | 15,024 | 15,754 | 126 | NVMe M.2 (M Key) U.2/U.3 (1x4 or 2x2) E1.S/E1.L (typical) E3 |
| x8 | 30,048 | 31,508 | 252.1 | E1.S/E1.L (max) E3 |
| x16 | 60,096 | 63,015 | 504.1 | E3 (max) |
| PCI Express 4.0 | Maximum Effective Data Rate (One Direction) | |||
|---|---|---|---|---|
| (10242 Bytes) MiB/s | (10002 Bytes) MB/s | (10003 Bits) Gb/s | Notes | |
| x1 | 1,878 | 1,969 | 15.8 | |
| x2 | 3,756 | 3,938 | 31.5 | NVMe M.2 (M+B Key) |
| x4 | 7,512 | 7,877 | 63.0 | NVMe M.2 (M Key) U.2/U.3 (1x4 or 2x2) E1.S/E1.L (typical) E3 |
| x8 | 15,024 | 15,754 | 126.0 | E1.S/E1.L (max) E3 |
| x16 | 30,048 | 31,508 | 252.1 | E3 (max) |
| PCI Express 3.0 | Maximum Effective Data Rate (One Direction) | |||
|---|---|---|---|---|
| (10242 Bytes) MiB/s | (10002 Bytes) MB/s | (10003 Bits) Gb/s | Notes | |
| x1 | 939 | 985 | 7.9 | |
| x2 | 1,878 | 1,969 | 15.8 | NVMe M.2 (M+B Key) |
| x4 | 3,756 | 3,938 | 31.5 | NVMe M.2 (M Key) U.2/U.3 (1x4 or 2x2) |
| x8 | 7,512 | 7,877 | 63.0 | |
| x16 | 15,024 | 15,754 | 126.0 | |
| SAS-4 (24 Gb/s) | Maximum Effective Data Rate (One Direction) | |||
|---|---|---|---|---|
| (10242 Bytes) MiB/s | (10002 Bytes) MB/s | (10003 Bits) Gb/s | ||
| x1 | 2,289 | 2,400 | 19.2 | |
| x4 | 9,155 | 9,600 | 76.8 | |
| x8 | 18,311 | 19,200 | 153.6 | |
| SAS-3 (12 Gb/s) | Maximum Effective Data Rate (One Direction) | |||
|---|---|---|---|---|
| (10242 Bytes) MiB/s | (10002 Bytes) MB/s | (10003 Bits) Gb/s | ||
| x1 | 1,144 | 1,200 | 9.6 | |
| x4 | 4,578 | 4,800 | 38.4 | |
| x8 | 9,152 | 9,600 | 76.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 | ||
| x1 | 572 | 600 | 4.8 | |
| x4 | 2,289 | 2,400 | 19.2 | |
| x8 | 4,576 | 4,800 | 38.4 | |
| Ethernet | Maximum Effective Data Rate (One Direction) | |||
|---|---|---|---|---|
| (10242 Bytes) MiB/s | (10002 Bytes) MB/s | (10003 Bits) Gb/s | ||
| 1 GbE | 119 | 125 | 1.0 | |
| 10 GbE | 1,192 | 1,250 | 10.0 | |
| 25 GbE | 2,980 | 3,125 | 25.0 | |
| 40 GbE | 4,768 | 5,000 | 40.0 | |
| 100 GbE | 11,920 | 12,500 | 100.0 | |
| 200 GbE | 23,842 | 25,000 | 200.0 | |
| 400 GbE | 47,684 | 50,000 | 400.0 | |
| Fibre Channel | Maximum Effective Data Rate (One Direction) | |||
|---|---|---|---|---|
| (10242 Bytes) MiB/s | (10002 Bytes) MB/s | (10003 Bits) Gb/s | ||
| 8 Gb | 773 | 810 | 6.5 | |
| 16 Gb | 1,545 | 1,620 | 13.0 | |
| 32 Gb | 3,091 | 3,241 | 25.9 | |
| 64 Gb | 6,543 | 6,861 | 54.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.
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 System | 100K | 250K | 500K | 1 Million |
| Windows 11 | 1.5~ Seconds | 4-6~ Seconds | 7-10~ Seconds | 14-20~ Seconds |
| OS X (Sonoma) | 15.5 Minutes | Did not run | Did not run | Did not run |
| Ubuntu - File Manager (GUI) | 13-15~ Seconds | 1~ Minute | Did not run | Did not run |
| Linux SMB (In-Kernel CIFS CLI) | 3~ Seconds | 8~ Seconds | 17~ Seconds | 30~ Seconds |
| Linux smbclient (Userspace CLI) | 1.2~ Seconds | 4~ Seconds | 6~ Seconds | 12-14~ Seconds |

