Unverified Commit b2cdf6bc authored by Maria Markova's avatar Maria Markova Committed by GitHub
Browse files

Adding of O3 on linking stage for OPTIMIZATION=-O3 cases (#12339)

Added missing O3 flag to linking stage in default option "-O3 -flto". 
Flags doesn't lead to significant changes in performance:
- +0.21% in geomean for all benchmarks on ICX bare-metal (256 cpus)
- +0.33% in geomean for all benchmarks on m6i.2xlarge (16 cpus) 
Checked on redis from Mar'30 (commit 1f76bb17 ). Comparison file is attached. 
parent ef4bb4e3
......@@ -23,7 +23,7 @@ ifeq ($(OPTIMIZATION),-O3)
else
REDIS_CFLAGS+=-flto=auto
endif
REDIS_LDFLAGS+=-flto
REDIS_LDFLAGS+=-O3 -flto
endif
DEPENDENCY_TARGETS=hiredis linenoise lua hdr_histogram fpconv
NODEPS:=clean distclean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment