Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

读性能是否有改进空间? #2

Open
chillsoul opened this issue May 4, 2022 · 0 comments
Open

读性能是否有改进空间? #2

chillsoul opened this issue May 4, 2022 · 0 comments

Comments

@chillsoul
Copy link

whalefs    
  读取MB/S 写入MB/S
4K 36.1 1.69
8K 67.89 3.34
16K 118.07 6.42
32K 195.37 11.68
64K 280.6 25.63
128K 360.35 49.67
xiaoyaofs    
  读取MB/S 写入MB/S
4K 28.62 25.38
8K 38.33 48.22
16K 62.93 74.56
32K 96.62 102.62
64K 150.77 208.31
128K 180.81 225.95

最近在做一个关于这方面存储的实验,我仔细读了whalefs的代码,他的写低是因为使用了leveldb不支持并发的事务,但是同样采用leveldb做Needle的索引,他的读性能远高于xiaoyaofs,存储的结构在不涉及删除时也完全一样是顺序写入,从master读都需要一次重定向,但他的读性能远高于xiaoyaofs。
这让我非常奇怪,不知道您有没有兴趣看一下?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant