Skip to content
Discussion options

You must be logged in to vote

参考了 Equim-chanKoyonomi的意见,最后将file_batch_size设置为1基本上解决了这个问题(达到了峰值的95%性能)。个人理解是通过最小的buffer_size让buffer一直处于耗尽状态,从而让dataloader持续工作。

不过个人认为未来通过实现异步的读取应该还有一定的性能提升的空间。

Replies: 6 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@hyskylord
Comment options

@Koyonomi
Comment options

@hyskylord
Comment options

@2659494286
Comment options

Comment options

You must be logged in to vote
2 replies
@hyskylord
Comment options

@Equim-chan
Comment options

Comment options

You must be logged in to vote
1 reply
@2659494286
Comment options

Answer selected by hyskylord
Comment options

You must be logged in to vote
1 reply
@2659494286
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants