Hi!
I tested Profile-Guided Optimization (PGO) on Redis and want to share the results with the upstream. Also, in Redis blog you already mentioned PGO, so why not try it?
I shared my benchmarks here. According to the benchmarks, Redis performance could be improved with PGO.
More about PGO stuff in many other applications you can find here.
Comment From: madolson
@filipecosta90 Care to comment?
Comment From: zamazan4ik
@madolson did you have a chance to get feedback about the results of the benchmark? Maybe some internal discussions in Redis dev team or something like that.
Comment From: madolson
@zamazan4ik Hey, no, we're trying to wrap up 7.2 and get that pushed out. I've saved this issue and will take a deeper look when I get a chance.
Comment From: alexanius
Hello, @zamazan4ik. I'm currently investigating the impact of lto and pgo on the redis and I see some strange behavior for the benchmark. The results from run to run can differ about 20%. Between runs the redis server is restarted and the dump file is removed. Did you meet such effects?
Comment From: zamazan4ik
Hello, @zamazan4ik. I'm currently investigating the impact of lto and pgo on the redis and I see some strange behavior for the benchmark. The results from run to run can differ about 20%. Between runs the redis server is restarted and the dump file is removed. Did you meet such effects?
Hm... Didn't see such behavior in my benchmarks. Do you use taskset during the tests for binding Redis Server and Redis benchmark on particular CPU cores? Did you disable Turbo boost?
Comment From: alexanius
Hm... Didn't see such behavior in my benchmarks. Do you use taskset during the tests for binding Redis Server and Redis benchmark on particular CPU cores? Did you disable Turbo boost?
Yes, I found that taskset and chose of numa node influences much on the results. Also I'm testing on the arm platform.
Comment From: zamazan4ik
I have no experience with Redis on Arm platform so cannot help here much... But PGO definitely works in the same way on Arm and x86-64 archs.
Comment From: michaelrun
Is there more feedback on Redis + PGO?
Comment From: zamazan4ik
Is there more feedback on Redis + PGO?
Unfortunately, not from my side. Let's hope that the upstream will become interested in the PGO ;)