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

Why is the performance of version 1.23 much worse than version 1.3, even though it is a newer version? #1197

Open
PaladinChendi opened this issue Jul 15, 2024 · 0 comments

Comments

@PaladinChendi
Copy link

PaladinChendi commented Jul 15, 2024

This is the test result for LevelDB version 1.3:
LevelDB: version 1.3
Date: Mon Jul 15 18:45:08 2024
CPU: 32 * Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz
CPUCache: 11264 KB
Keys: 16 bytes each
Values: 100 bytes each (50 bytes after compression)
Entries: 1000000
RawSize: 110.6 MB (estimated)
FileSize: 62.9 MB (estimated)
WARNING: Snappy compression is not enabled

fillseq : 1.258 micros/op; 87.9 MB/s
fillsync : 51.962 micros/op; 2.1 MB/s (1000 ops)
fillrandom : 2.708 micros/op; 40.9 MB/s
overwrite : 3.308 micros/op; 33.4 MB/s
readrandom : 4.176 micros/op;
readrandom : 3.605 micros/op;
readseq : 0.207 micros/op; 533.6 MB/s
readreverse : 0.443 micros/op; 249.7 MB/s
compact : 469437.000 micros/op;
readrandom : 3.162 micros/op;
readseq : 0.180 micros/op; 613.0 MB/s
readreverse : 0.390 micros/op; 283.6 MB/s
fill100K : 645.583 micros/op; 147.7 MB/s (1000 ops)
crc32c : 4.290 micros/op; 910.6 MB/s (4K per op)
snappycomp : 3860.000 micros/op; (snappy failure)
snappyuncomp : 3454.000 micros/op; (snappy failure)
acquireload : 0.380 micros/op; (each op is 1000 loads)

This is the test result for LevelDB version 1.23:
LevelDB: version 1.23
Date: Mon Jul 15 18:44:15 2024
CPU: 32 * Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz
CPUCache: 11264 KB
Keys: 16 bytes each
Values: 100 bytes each (50 bytes after compression)
Entries: 1000000
RawSize: 110.6 MB (estimated)
FileSize: 62.9 MB (estimated)
WARNING: Snappy compression is not enabled

fillseq : 3.384 micros/op; 32.7 MB/s
fillsync : 150.690 micros/op; 0.7 MB/s (1000 ops)
fillrandom : 4.085 micros/op; 27.1 MB/s
overwrite : 4.371 micros/op; 25.3 MB/s
readrandom : 4.996 micros/op; (864322 of 1000000 found)
readrandom : 4.198 micros/op; (864083 of 1000000 found)
readseq : 0.188 micros/op; 586.9 MB/s
readreverse : 0.410 micros/op; 269.9 MB/s
compact : 621397.000 micros/op;
readrandom : 3.025 micros/op; (864105 of 1000000 found)
readseq : 0.183 micros/op; 603.7 MB/s
readreverse : 0.413 micros/op; 267.5 MB/s
fill100K : 551.234 micros/op; 173.0 MB/s (1000 ops)
crc32c : 2.521 micros/op; 1549.6 MB/s (4K per op)
snappycomp : 4267.000 micros/op; (snappy failure)
snappyuncomp : 3853.000 micros/op; (snappy failure)

Why is the performance of version 1.23 much worse than version 1.3, even though it is a newer version?

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