PGO build #6638
Replies: 3 comments 2 replies
-
I did some PGO benchmarks with Fluent-Bit and want to share my results. Test environment
BenchmarkIn general, the benchmark methodology is the same as described in the corresponding Vector issue (link). That's a near real-life log scenario from our production (just Elasticsearch in the end instead of Configuration files
Tested configurationsI have tested the following Fluent-Bit configurations (with corresponding
ResultsHere are the results of running the benchmark on different configurations. All configurations are benchmarked on the same machine, with the same Fluent-Bit configuration, multiple times, etc. The results show how much time Fluent-Bit needs to process logs (the source log file is the same for all runs). I have rechecked - the results are consistent between runs. Also, I shared results for Instrumentation mode so you would be able to estimate how slow Fluent-Bit is in Instrumentation mode for PGO.
At least in this scenario, Fluent-Bit performs measurably better (=faster) with LTO and PGO. More results with PGO on real-life applications you can find here. |
Beta Was this translation helpful? Give feedback.
-
pretty cool, on the benchmark I wonder if PGO would have an effect if on the in_tail you added |
Beta Was this translation helpful? Give feedback.
-
@agup006 I think letting know the Fluent-Bit users about the possibility of optimizing Fluent-Bit further with PGO would be helpful in practice. What do you think about the idea of creating a dedicated page about PGO in the Fluent-Bit docs? Maybe we need to create an additional "Performance tuning" section? Here are the examples of how it's done in other projects:
|
Beta Was this translation helpful? Give feedback.
-
Hi!
Did you evaluate PGO applicability to fluentbit? I have done some investigation for Vector, and I think the same method should be applicable to fluentbit as well.
Would be awesome to get some feedback about the idea.
Beta Was this translation helpful? Give feedback.
All reactions