Skip to content

Enable Ruby JIT by default - #5464

Draft
Watson1978 wants to merge 3 commits into
fluent:masterfrom
Watson1978:feat-enable-jit
Draft

Enable Ruby JIT by default#5464
Watson1978 wants to merge 3 commits into
fluent:masterfrom
Watson1978:feat-enable-jit

Conversation

@Watson1978

@Watson1978 Watson1978 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:
Fixes #5284

What this PR does / why we need it:
Enable Ruby JIT by default.

Docs Changes:

Release Note:

  • Enable Ruby JIT by default
    • The system configuration enable_jit now defaults to true.
    • JIT increases memory usage of each worker process. Set enable_jit false in the <system> section to restore the previous behavior.
    • This has no effect on Windows because YJIT is not supported there. Fluentd just logs Ruby JIT is not available on this Ruby at the info level.

TODO

  • Measure CPU usage
  • Measure memory usage

Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
@Watson1978 Watson1978 changed the title Feat enable jit Enable Ruby JIT by default Aug 7, 2026
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Enable Ruby JIT by default in future releases

1 participant