Hi, as suggested by @KirTitievsky in this post https://www.googlecloudcommunity.com/gc/Infrastructure-Compute-Storage/Read-file-from-GCS-cloud-stor... we can set --sequential-read-size-mb in gcsfuse so that the file can be loaded in chunks and be read line by line from that chunk. I am wondering
1.what is the default --sequential-read-size-mb?
2.I already mounted my bucket using
gcsfuse my-bucket /path/to/mount/point
without specifying any option, is there a way to update the option after it has already been mounted?
Solved! Go to Solution.
Hi @gradientopt,
Welcome to Google Cloud Community!
1.what is the default --sequential-read-size-mb?
Upon looking around, the default --sequential-read-size-mb is 200MB based on this Github link. You can also set it between 5MB and 200MB to optimize sequential read performance. You can check this link as reference.
2.I already mounted my bucket usinggcsfuse my-bucket /path/to/mount/point
without specifying any option, is there a way to update the option after it has already been mounted?
You can change the mount point by using this command:
fusermount -u /path/to/mount/point
Then you can replace it with another mount point. Check this link on unmounting a bucket for your reference.
Hope this helps.
Hi @gradientopt,
Welcome to Google Cloud Community!
1.what is the default --sequential-read-size-mb?
Upon looking around, the default --sequential-read-size-mb is 200MB based on this Github link. You can also set it between 5MB and 200MB to optimize sequential read performance. You can check this link as reference.
2.I already mounted my bucket usinggcsfuse my-bucket /path/to/mount/point
without specifying any option, is there a way to update the option after it has already been mounted?
You can change the mount point by using this command:
fusermount -u /path/to/mount/point
Then you can replace it with another mount point. Check this link on unmounting a bucket for your reference.
Hope this helps.
Thanks very much!