-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Negative performances impact from 1.19 to 1.22 #759
Comments
I don't see a slowdown on my machine:
1.22 compiles (by default) with |
Thank you for your answer. Your results are far better, even with 1.19. You are not using macOS, right ? (I know that macOS is not known for its exceptional I/O performances, and APFS doesn't help). So yes, I'm not sure what is the problem on my side. I can retry with Would be interesting to have results from another mac. |
|
@pwnall Very interesting, thanks. So yes, it explains Still have to understand why performances are a bit less good in other parts. And from @cmumford reply, it's either specific to something I'm doing, either to specific to macOS… I tested with |
@jp-sentinel I'm running on Debian Linux. The benchmark doesn't run very long so it's hard learn too much from a single run. |
Building the project (release -O2) on windows 10 and running the benchmark:
see fill* and overwrite. levelDB is way below your results. (it performed WAY better in 1.17, but i need the #339 changes which is in 1.22+) |
@soraphis Indeed oO |
same system, but with WSL:
fill sync performs 18x better in the linux-subsystem. slowdown on windows is a result of changing flush to "return Status::OK()" makes fillsync 10x faster - but it sadly breaks repair functionality. |
Hello,
We are heavily using LevelDB in one or our product, and when we switched from 1.19 to 1.22 recently, we saw that our product is 7-10% slower with 1.22.
If we compare
db_bunch
result, we see this :All are compiled and tested with Xcode 10.3 (
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
) on macOS 10.14.6 on a MacBook Pro (3,1 GHz Intel Core i7) with 16 GB RAM and 1 TB SSD.If results are most of the time similar, we see a huge difference in
fillsync
(we are not using sync mode, so shouldn't impact us, but I'm wondering anyway),overwrite
andfill100K
(I exclude crc32, as it have better result in 1.22, probably because of libcrc32c).Is it an known problem (I didn't find any other tickets) ? Is it something only happening on our side ?
Thank you.
The text was updated successfully, but these errors were encountered: