[MCOL-1955] Look into enabling vectorization, link-time optimization, and C++11 support Created: 2018-11-20  Updated: 2023-11-21  Resolved: 2023-10-25

Status: Closed
Project: MariaDB ColumnStore
Component/s: Columnstore Select Handler
Affects Version/s: None
Fix Version/s: 23.10

Type: New Feature Priority: Major
Reporter: Patrick LeBlanc (Inactive) Assignee: Roman
Resolution: Fixed Votes: 1
Labels: None

Issue Links:
Duplicate
is duplicated by MCOL-2260 Test compiling without -fno-tree-vect... Closed

 Description   

This should be an easy 5-20% gain. We should benchmark the following changes to the compiler options:

  • add -flto
  • look into LTO related options like -fwhole-program and -fuse-linker-plugin
  • do not use -fno-tree-vectorize
  • choose a minimum instruction set/architecture we support and specify it with -march=X. I'd suggest sandy bridge (2011). We would not want to tune for sandy bridge, so also specify -mtune=generic

C++11 should also give us an easy gain on platforms that support it; will have to mod cmakelists.txt to detect if it is supported of course.


Generated at Thu Feb 08 02:32:36 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.