Skip to content
Snippets Groups Projects
Verified Commit b6879203 authored by Adam Caprez's avatar Adam Caprez
Browse files

Add large # of files section to good practices.

parent deecf533
Branches
No related tags found
1 merge request!330Add large # of files section to good practices.
...@@ -36,6 +36,16 @@ all the necessary files need to be either moved to a permanent storage, or delet ...@@ -36,6 +36,16 @@ all the necessary files need to be either moved to a permanent storage, or delet
disk, in your program.** This approach stresses the file system and may cause general issues. disk, in your program.** This approach stresses the file system and may cause general issues.
Instead, consider reading and writing large blocks of data in memory over time, or Instead, consider reading and writing large blocks of data in memory over time, or
utilizing more advanced parallel I/O libraries, such as *parallel hdf5* and *parallel netcdf*. utilizing more advanced parallel I/O libraries, such as *parallel hdf5* and *parallel netcdf*.
#### Large numbers of files considerations
* **No POSIX file system performs well with an excessive number of files**, as each file operation
requires opening and closing, which is relatively expensive.
* Moreover, network data transfer operations that involve frequent scanning (walking) of every
file in a set for syncing operations (backups, automated copying) can become excessively taxing for
network file systems, especially at scale.
* Large numbers of files can take an inordinate amount of time to transfer in or out of network
file systems during data migration operations.
* **Computing workflows can be negatively impacted by unnecessarily large numbers of file operations**, including file transfers.
## Internal and External Networks ## Internal and External Networks
* **Use archives to transfer large number of files.** If you are performing file transfer of * **Use archives to transfer large number of files.** If you are performing file transfer of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment