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

Extremely slow read speed while put speed is fine on Debian Machine #54

Open
realsirjoe opened this issue Dec 23, 2022 · 2 comments
Open

Comments

@realsirjoe
Copy link

realsirjoe commented Dec 23, 2022

Hi there I am currently testing if pogreb fits my needs and am very impressed by its speed however I recently ran some benchmarks ( pogreb-benchmark ) on a Debian Server
./pogreb-bench -n 10_000_000 -p ./pogreb_test/
and am experiencing extremely slow read speed

put: 503.882s 19845 ops/s
I don't have a full duration for read speed since it would take too long to finish but it read about 630000 in 1500s

I also made same test on Macbook where everything works great
Any idea how this is possible? What can I do to pinpoint the issue?

Edit:
I tried it without mmap:
put: 65.852s 151855 ops/s
get: 25.389s 393876 ops/s

However the issue persists at n=100_000_000

Any idea why this is faster

Thanks a lot!

@akrylysov
Copy link
Owner

Thanks for the report! How much RAM does the Debian Server have vs the MacBook?

@realsirjoe
Copy link
Author

Server: 8GB
MacBook 16GB

is there some way I can speed it up?

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

2 participants