Skip to main content
NetApp Knowledge Base

Why does a lot of small files take longer to transfer than few large files?

Views:
485
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
NAS
Last Updated:

Applies to

File Based Transfer

ONTAP 9

Answer

  • When transferring files, typical applications will copy over a single file at a time
  • Each of the file creations requires several metadata operations to occur before the file has been written completely
  • Each of these operations could use an additional round trip time (RTT) to complete
  • With smaller files, the write portion can complete without ever reaching the bandwidth capacity of the link
    • In the graph below you can see that the bytes in flight stayed near capacity with a large file, and the transfer rate is very sporadic with small file transfer.

1big-vs-100small-files-ftp-01s-Bit.png

Additional Information

To help understand network performance, see TCP calculators

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.