[MDEV-16859] MyRocks: support CRC32 instructions Created: 2018-07-30 Updated: 2018-10-03 Resolved: 2018-08-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.2, 10.3 |
| Fix Version/s: | 10.2.18, 10.3.10 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
MyRocks is compiled without CRC32 command support. This negatively affects performance. It is compiled without CRC32 on all packages (including Windows, .deb packages, etc...) One can check this by starting the plugin and looking into $datadir/#rocksdb/LOG. It will have something like:
|
| Comments |
| Comment by Sergei Petrunia [ 2018-07-30 ] | |||||||||||||||
|
It is not compiled in, because our build process does not define HAVE_SSE42, while rocksdb/util/crc32c.cc needs it to be defined:
| |||||||||||||||
| Comment by Sergei Petrunia [ 2018-07-30 ] | |||||||||||||||
|
Another thing that file has is:
These files are not present on a default Linux install, so at least for .deb packaging we will need to figure out which package has them, and put it to build-deps. |