Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.2(EOL), 10.3(EOL)
-
None
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:
Fast CRC32 supported: Not supported on x86
|
Attachments
Issue Links
- includes
-
MDEV-16860 MyRocks: support CRC32 instructions on Winx64
-
- Closed
-
- relates to
-
MDEV-17280 support fast CRC for MyRocks
-
- Closed
-
It is not compiled in, because our build process does not define HAVE_SSE42, while rocksdb/util/crc32c.cc needs it to be defined:
#ifndef HAVE_SSE42
#elif defined(__GNUC__) && defined(__x86_64__) && !defined(IOS_CROSS_COMPILE)
uint32_t c_;
#elif defined(_WIN64)
__cpuidex(info, 0x00000001, 0);
#else
#endif
}