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
Fix shared write buffers 2 #14
Merged
Merged
Commits on May 4, 2020
-
Still looks pretty bleak: ``` benchmark old MB/s new MB/s speedup BenchmarkBlock8-32 2509.41 2523.00 1.01x BenchmarkAvx2/32KB-32 2199.15 1765.44 0.80x BenchmarkAvx2/64KB-32 2936.65 2344.89 0.80x BenchmarkAvx2/128KB-32 3338.90 2774.66 0.83x BenchmarkAvx2/256KB-32 3558.00 3022.57 0.85x BenchmarkAvx2/512KB-32 3513.83 3104.90 0.88x BenchmarkAvx2/1MB-32 3433.49 3079.63 0.90x BenchmarkAvx2/2MB-32 3416.81 3061.47 0.90x BenchmarkAvx2/4MB-32 3425.56 3099.28 0.90x BenchmarkAvx2/8MB-32 3415.68 3102.60 0.91x BenchmarkAvx2Parallel/32KB-32 31816.47 8515.98 0.27x BenchmarkAvx2Parallel/64KB-32 38000.07 9303.00 0.24x BenchmarkAvx2Parallel/128KB-32 41164.65 11504.55 0.28x BenchmarkAvx2Parallel/256KB-32 43592.91 15237.84 0.35x BenchmarkAvx2Parallel/512KB-32 44030.27 15926.92 0.36x BenchmarkAvx2Parallel/1MB-32 44192.77 16602.93 0.38x BenchmarkAvx2Parallel/2MB-32 44830.55 16490.63 0.37x BenchmarkAvx2Parallel/4MB-32 44405.23 15724.88 0.35x BenchmarkAvx2Parallel/8MB-32 43470.73 15546.07 0.36x ```
Configuration menu - View commit details
-
Copy full SHA for 22a661d - Browse repository at this point
Copy the full SHA 22a661dView commit details
Commits on May 6, 2020
-
Eliminate the buffer copies by passing in ptrs directly (for AVX2).
Gives quite a performance boost: ``` benchmark old MB/s new MB/s speedup BenchmarkAvx2/32KB-8 3316.19 3798.53 1.15x BenchmarkAvx2/64KB-8 4153.43 4653.64 1.12x BenchmarkAvx2/128KB-8 4927.97 5611.43 1.14x BenchmarkAvx2/256KB-8 5359.29 6207.72 1.16x BenchmarkAvx2/512KB-8 5085.95 6112.55 1.20x BenchmarkAvx2/1MB-8 5027.90 6196.06 1.23x BenchmarkAvx2/2MB-8 4978.25 6076.93 1.22x BenchmarkAvx2/4MB-8 4988.47 6305.10 1.26x BenchmarkAvx2/8MB-8 4999.42 6413.97 1.28x BenchmarkAvx2Parallel/32KB-8 14604.34 17229.63 1.18x BenchmarkAvx2Parallel/64KB-8 16039.15 19440.62 1.21x BenchmarkAvx2Parallel/128KB-8 17518.13 20677.54 1.18x BenchmarkAvx2Parallel/256KB-8 17870.89 21456.42 1.20x BenchmarkAvx2Parallel/512KB-8 17945.12 21590.50 1.20x BenchmarkAvx2Parallel/1MB-8 17925.02 21673.21 1.21x BenchmarkAvx2Parallel/2MB-8 17872.97 21352.82 1.19x BenchmarkAvx2Parallel/4MB-8 16141.88 21325.05 1.32x BenchmarkAvx2Parallel/8MB-8 17327.55 21210.17 1.22x ```
Configuration menu - View commit details
-
Copy full SHA for acb2402 - Browse repository at this point
Copy the full SHA acb2402View commit details
Commits on May 7, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 79400f0 - Browse repository at this point
Copy the full SHA 79400f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f785b2a - Browse repository at this point
Copy the full SHA f785b2aView commit details -
Use a single shared buffer for the server.
This claws back most of the lost performance for single server.
Configuration menu - View commit details
-
Copy full SHA for 410f0ae - Browse repository at this point
Copy the full SHA 410f0aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a0cf90 - Browse repository at this point
Copy the full SHA 2a0cf90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6172fd7 - Browse repository at this point
Copy the full SHA 6172fd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1805309 - Browse repository at this point
Copy the full SHA 1805309View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.