Real-Time Controller is Slow to Perform File I/O

Updated Jun 28, 2018

Reported In


  • LabVIEW Real-Time Module

Operating System

  • NI Linux Real-Time
  • PharLap
  • VxWorks

Issue Details

I have a Real-Time controller that logs data to a file, which is then transferred to a host PC using File Transfer Protocol (FTP). Lately, this file transfer has been particularly slow.


File I/O can be slowed significantly when accessing a directory with a large number of files. Even if the files themselves are small, the sheer number of them can cause the process of parsing the directory to take longer than usual.

This can be fixed by removing old log files that are no longer needed, or by organizing logging into subfolders so no directory gets overloaded with logs.


Not Helpful