You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added:
The go-nfs-client library supports configuring the pull list cache size
Why is this needed:
When calling the List(...) function in pkg/object/nfs.go, it was found that only 20 files could be pulled at a time. With a large number of files, this would inevitably require many trips back and forth. In my environment, testing the pull of 10,000 files took 8 seconds. It was discovered that the default buffer size was only 512 bytes. If the buffer size in the go-nfs-client library is increased, the time can be reduced to 4 seconds, which is a 50% performance improvement. Can the buffer be set to be dynamically adjustable?
The text was updated successfully, but these errors were encountered:
@anysql Thank you for your answer. By the way, since you've provided an NFS library, why not a CIFS library? Do you have any good CIFS libraries to recommend?
What would you like to be added:
The go-nfs-client library supports configuring the pull list cache size
Why is this needed:
When calling the List(...) function in pkg/object/nfs.go, it was found that only 20 files could be pulled at a time. With a large number of files, this would inevitably require many trips back and forth. In my environment, testing the pull of 10,000 files took 8 seconds. It was discovered that the default buffer size was only 512 bytes. If the buffer size in the go-nfs-client library is increased, the time can be reduced to 4 seconds, which is a 50% performance improvement. Can the buffer be set to be dynamically adjustable?
The text was updated successfully, but these errors were encountered: