Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#245 from hime/main
Browse files Browse the repository at this point in the history
Fix misspelling of max-conns-per-host in documentation.
  • Loading branch information
hime committed May 8, 2024
2 parents 017e1f2 + be87875 commit 48e4500
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ Cloud Storage FUSE has higher latency than a local file system. Throughput is re

### Other considerations

Set the number of threads according to the number of CPU cores available. ML frameworks typically use `num_workers` to define the number of threads. If the number of cores or threads is higher than `100`, change the mount option `max-cons-per-host` to the same value. For example:
Set the number of threads according to the number of CPU cores available. ML frameworks typically use `num_workers` to define the number of threads. If the number of cores or threads is higher than `100`, change the mount option `max-conns-per-host` to the same value. For example:

- Inline ephemeral volume

Expand All @@ -394,7 +394,7 @@ spec:
driver: gcsfuse.csi.storage.gke.io
volumeAttributes:
bucketName: <bucket-name>
mountOptions: "max-cons-per-host=500"
mountOptions: "max-conns-per-host=500"
```

- PersistentVolume
Expand All @@ -405,7 +405,7 @@ kind: PersistentVolume
spec:
...
mountOptions:
- max-cons-per-host=500
- max-conns-per-host=500
csi:
driver: gcsfuse.csi.storage.gke.io
volumeHandle: <bucket-name>
Expand Down

0 comments on commit 48e4500

Please sign in to comment.