[systemd-devel] High CPU usage of journald
David Strauss
david at davidstrauss.net
Mon Feb 18 08:47:44 PST 2013
On Sun, Feb 17, 2013 at 9:54 AM, Holger Freyther <holger at freyther.de> wrote:
> Do you consider
> cutting back on how you dynamically allocate strings? E.g. stop
> using fopen, fgets, only have one dynamically tmp string for the
> various format routines one is using sequentially?
It's possible that a lot of it could also allocate on the stack or use
stack-style management of a pool in heap. This is pretty
performance-critical code, and we're seeing similar CPU overhead.
--
David Strauss
| david at davidstrauss.net
| +1 512 577 5827 [mobile]
More information about the systemd-devel
mailing list