Skip to content

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

Closed
wants to merge 1 commit into from
Closed

fix for innodb_numa_interleave missing #83

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 21, 2016

Latest MySQL 5.6 misses the innodb_numa_interleave server variable.
https://bugs.mysql.com/bug.php?id=78953

@grooverdan
Copy link

so this is a copy of the patch in http://bugs.mysql.com/bug.php?id=80288

@ghost
Copy link
Author

ghost commented Jun 22, 2016

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.

@mysql-oca-bot
Copy link

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."
Thanks

@ghost
Copy link
Author

ghost commented Jun 22, 2016

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-admin
Copy link

mysql-admin commented Jun 22, 2016

Hi Igroenewold,
Sorry but as noted above and through reading of bug http://bugs.mysql.com/bug.php?id=80288 this patch is not an original work but a copy of code written by a 3rd party person. As such it cannot be offered by you as your contribution under the terms of the OCA. As such I am closing this pull request

Thanks
==Omer

@laurynas-biveinis
Copy link

@mysql-admin, would it work if I or my colleague who wrote the patch confirmed this as an OCA submission?

@mysql-admin
Copy link

@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
==Omer

dbussink added a commit to planetscale/mysql-server that referenced this pull request Dec 6, 2023
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]>
dbussink added a commit to planetscale/mysql-server that referenced this pull request Dec 7, 2023
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]>
dbussink added a commit to planetscale/mysql-server that referenced this pull request May 21, 2024
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]>
dbussink added a commit to planetscale/mysql-server that referenced this pull request May 21, 2024
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]>
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

Successfully merging this pull request may close these issues.

4 participants