Are there any ARM experts here interested in helping MariaDB 10.11 run
better on armel/armhf?
The issue is explained well in upstream bug https://jira.mariadb.org/browse/MDEV-30411 but upstream is not
investing developers/testing into armel/armhf, so I wanted to check if anybody here could help.
Basically the upstream header https://github.com/MariaDB/server/tree/10.11/include/my_rdtsc.h needs
to be extended to handle armel/armhf (and maybe also mipsel and
mips64el) properly so it would make all official Debian architectures
happy.
I believe Andy Polyakov performed the heavy lifting for OpenSSL. I
would check the OpenSSL code. It should not be much more than a
copy/paste. Or if you don't like the license, convert the *.pl file to
a source file to see how OpenSSL does it, then write your own.
openssl$ grep -IR rdtsc | ...
(...)
You can convert a *.pl file to a source file that can be assembled or compiled by following the instructions at https://wiki.openssl.org/index.php/Cryptogams_AES or https://wiki.openssl.org/index.php/Cryptogams_SHA.
Thanks for the pointers!
I suspect MariaDB developers will not do any code changes. The patch to fix https://github.com/MariaDB/server/tree/10.11/include/my_rdtsc.h needs to come from somebody with easy access to armel/armhf/mipsel/mips64el to test the patch
and the knowledge to argument why the code change is correct.
https://gcc.gnu.org/wiki/CompileFarm
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 493 |
Nodes: | 16 (0 / 16) |
Uptime: | 165:05:23 |
Calls: | 9,702 |
Calls today: | 2 |
Files: | 13,733 |
Messages: | 6,177,891 |