[systemd-devel] High CPU usage of journald
holger at freyther.de
Sun Feb 17 02:12:47 PST 2013
first of all the good news. The same setup used to exhibit high
memory usage (and exploding virtual address space). In a relatively
idle system I see a constant CPU usage of journald of around 20% (
using the busybox top). The main issue with that is that the system
starts to feel really slow due this. Typing commands via the serial
console feels like a satellite link.
(removed the lines starting with #)
As it is included in Poky/OE-Core right now (version 197)
This is a 3.2.37 kernel with minimal cgroup support.
The service file can be seen here. It will re-load firmware, toggle
a LED and start the BTS process. If the BTS can not connect to a BSC it
will exit and the service file is asked to restart it in two seconds.
"DSP 0: Firmware loaded" is printed every time the firmware
log messages from userspace:
I am posting through gmane as attaching the file is a bit difficult. I
have uploaded them here. It is 47 lines including the messages from
systemd about re-starting the service.
Some seconds of output with strace is another paste. What is noticeable
is the polling on /proc/*/cgroup, mmapping to read the content, closing
the file, unmapping. GLIBCs fgets is a bit wasteful in this regard.
I am currently re-compiling my rootfs to not omit the framepointers and
then will hopefully be able to have useful output of perf. Is the current
More information about the systemd-devel