Skip to content

Bad case #564

Answered by davies
gaodq asked this question in Q&A
Jun 24, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

@gaodq 在这种 读写混合的情况下,JuiceFS 确实性能还比较差,因为目前的数据读写路径是独立的,每次读都会把内存中的数据 flush,导致读很慢。这种情况下需要启用内核FUSE模块的 writeback 功能(-o writeback_cache),启用之后,上面的测试代码可以再 2 秒钟内完成,否则一直跑不完。

这个功能在商业版里已经支持,后续会给社区版也加上。

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by davies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants