Skip to content

register_files performance for file IO in multi-thread situation? #807

Answered by beef9999
beef9999 asked this question in Q&A
Discussion options

You must be logged in to vote

@isilence Sorry, my fault. It seemed that I have posted a incorrect benchmark. Re-run those tests several times, and I'm sure that register_files is quite helpful in terms of increasing performance, even with page cache getting involved.

4 thread, 1 ring per thread, buffered read on a small file, open once, register 4 times
enable register_files: 5M qps
disable register_files: 3.6M qps

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@isilence
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by beef9999
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