-
Notifications
You must be signed in to change notification settings - Fork 4.1k
fix for innodb_numa_interleave missing #83
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
Conversation
so this is a copy of the patch in http://bugs.mysql.com/bug.php?id=80288 |
Yes, that is correct. I verified the same fix is needed for the 5.6 branch and was hoping to get it fixed here as well. |
Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment: |
I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it. |
Hi Igroenewold, Thanks |
@mysql-admin, would it work if I or my colleague who wrote the patch confirmed this as an OCA submission? |
@laurynas-biveinis your colleague (that wrote the patch) is currently not part of your 'group' OCA. He needs to be added there so we can associate the OCA with his bug system user. Then, he can submit it via a pull request similar to this one. Thanks |
The "fast" prng algorithm was really poorly distributed and only used a system counter as input. This was causing failures somehow specifically on Ubuntu Jammy, but it's a broken fast prng by design. Instead, this PR uses shishua (https://github.com/espadrine/shishua) as a PRNG. We have replaced both the slow and fast PRNGs with this new implementation because it offers better randomness for both cases and it's competitive in micro-benchmarks. Before/baseline: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 16593 iterations 60199 ns/iter 15.84 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (1004 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 50909 iterations 19610 ns/iter 48.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1000 ms) After/xishua: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 42351 iterations 23475 ns/iter 40.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (996 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 41897 iterations 23845 ns/iter 40.00 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1001 ms) Signed-off-by: Dirkjan Bussink <[email protected]> Signed-off-by: Vicent Marti <[email protected]> Co-authored-by: Vicent Marti <[email protected]> Signed-off-by: Dirkjan Bussink <[email protected]>
The "fast" prng algorithm was really poorly distributed and only used a system counter as input. This was causing failures somehow specifically on Ubuntu Jammy, but it's a broken fast prng by design. Instead, this PR uses shishua (https://github.com/espadrine/shishua) as a PRNG. We have replaced both the slow and fast PRNGs with this new implementation because it offers better randomness for both cases and it's competitive in micro-benchmarks. Before/baseline: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 16593 iterations 60199 ns/iter 15.84 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (1004 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 50909 iterations 19610 ns/iter 48.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1000 ms) After/xishua: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 42351 iterations 23475 ns/iter 40.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (996 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 41897 iterations 23845 ns/iter 40.00 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1001 ms) Signed-off-by: Dirkjan Bussink <[email protected]> Signed-off-by: Vicent Marti <[email protected]> Co-authored-by: Vicent Marti <[email protected]>
The "fast" prng algorithm was really poorly distributed and only used a system counter as input. This was causing failures somehow specifically on Ubuntu Jammy, but it's a broken fast prng by design. Instead, this PR uses shishua (https://github.com/espadrine/shishua) as a PRNG. We have replaced both the slow and fast PRNGs with this new implementation because it offers better randomness for both cases and it's competitive in micro-benchmarks. Before/baseline: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 16593 iterations 60199 ns/iter 15.84 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (1004 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 50909 iterations 19610 ns/iter 48.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1000 ms) After/xishua: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 42351 iterations 23475 ns/iter 40.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (996 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 41897 iterations 23845 ns/iter 40.00 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1001 ms) Signed-off-by: Dirkjan Bussink <[email protected]> Signed-off-by: Vicent Marti <[email protected]> Co-authored-by: Vicent Marti <[email protected]> Signed-off-by: Dirkjan Bussink <[email protected]>
The "fast" prng algorithm was really poorly distributed and only used a system counter as input. This was causing failures somehow specifically on Ubuntu Jammy, but it's a broken fast prng by design. Instead, this PR uses shishua (https://github.com/espadrine/shishua) as a PRNG. We have replaced both the slow and fast PRNGs with this new implementation because it offers better randomness for both cases and it's competitive in micro-benchmarks. Before/baseline: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 16593 iterations 60199 ns/iter 15.84 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (1004 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 50909 iterations 19610 ns/iter 48.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1000 ms) After/xishua: [ RUN ] Microbenchmarks.BM_RND_GEN BM_RND_GEN 42351 iterations 23475 ns/iter 40.63 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN (996 ms) [ RUN ] Microbenchmarks.BM_RND_GEN_FAST BM_RND_GEN_FAST 41897 iterations 23845 ns/iter 40.00 MB/sec [ OK ] Microbenchmarks.BM_RND_GEN_FAST (1001 ms) Signed-off-by: Dirkjan Bussink <[email protected]> Signed-off-by: Vicent Marti <[email protected]> Co-authored-by: Vicent Marti <[email protected]> Signed-off-by: Dirkjan Bussink <[email protected]>
Latest MySQL 5.6 misses the innodb_numa_interleave server variable.
https://bugs.mysql.com/bug.php?id=78953