Skip to content

Commit f4372fb

Browse files
committed
modified graphic
1 parent 2ef7a92 commit f4372fb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
-7.4 KB
Loading

articles/storage/files/nfs-large-directories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The following mount options are specific to enumeration and can reduce latency w
2828

2929
Specifying `actimeo` sets all of `acregmin`, `acregmax`, `acdirmin`, and `acdirmax` to the same value. If `actimeo` isn't specified, the NFS client uses the defaults for each of these options.
3030

31-
We recommend setting `actimeo` higher than the default values when working with large directories. Setting a higher value (between 30 and 60 seconds) makes the attributes remain valid for a longer time period in the client's attribute cache, allowing operations to get file attributes from the cache instead of fetching them over the wire. Therefore, higher values can reduce latency in situations where the cached attributes expire while the operation is still running.
31+
We recommend setting `actimeo` higher than the default when working with large directories. Setting a higher value (between 30 and 60 seconds) makes the attributes remain valid for a longer time period in the client's attribute cache, allowing operations to get file attributes from the cache instead of fetching them over the wire. Therefore, higher values can reduce latency in situations where the cached attributes expire while the operation is still running.
3232

3333
The following graph compares the total time it takes to finish different operations with default mount versus setting an `actimeo` value of 30 for a workload that has 1 million files. In our testing, the total completion time reduced by as much as 77% for some operations. All operations were done with [unaliased ls](#use-unaliased-ls).
3434

0 commit comments

Comments
 (0)