New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd-Journal by file #16038
systemd-Journal by file #16038
Conversation
…ournal directories; offer sources of journal directories
…the first message of this boot_id
Morning! Just a note, I see a README file in the additions, (I see you used the old way of adding metadata to it, doesn't work anymore, no worries) I can add it to Learn, under |
Operating systemd-journal file-by-file is about 2x faster compared to the default.
On my tests, the current master version of systemd-journal needs 29.2 seconds, while the new one needs 13.5 seconds, for a given time-frame query.
The changes on this PR:
/run/log/journal
)fstat64()
libc system call, to speed up libsystemd (Journalctl: 13x faster by caching fstat() and optimizing timestamps retrieval systemd/systemd#29261)