Skip to content

Commit

Permalink
Merge pull request #2525 from truenas/kmoore134-patch-1
Browse files Browse the repository at this point in the history
Update SMBFileTimes.md
  • Loading branch information
Mrt134 authored Mar 12, 2024
2 parents 58996f7 + 4a77a65 commit 44a35e1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions content/References/Performance/SMBFileTimes.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,20 @@ draft: false
.tg .tg-0lax{text-align:left;vertical-align:top}
</style>

Starting in Dragonfish 24.04 and later, the meta-data performance of directory listings over SMB has been greatly improved.
Depending on your SMB client, it is possible to support a single directory with anywhere from 100K to 1 Million files on flash systems with decent load 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.

iXsystems 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.

{{< hint type="note" title="Hardware Limitations" >}}
CPU and Memory speed play a major factor in metadata listing times.
For this testing, flash media was used.
Spinning disks will perform worse.
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.
Expand Down

0 comments on commit 44a35e1

Please sign in to comment.