[systemd-devel] Fwd: Journalctl performance
Colin Guthrie
gmane at colin.guthr.ie
Tue Oct 1 04:08:35 PDT 2013
'Twas brillig, and Lennart Poettering at 01/10/13 03:03 did gyre and gimble:
> On Mon, 30.09.13 12:48, Jason St. John (jstjohn at purdue.edu) wrote:
>
>> I've been seeing similar performance issues with the journal for
>> several recent versions of systemd (at least from v204 through v207 on
>> Arch Linux). I have journal logs from 2012-10-20 through today that
>> contain 1,268,128 lines. I just ran "journalctl" with "less" as the
>> pager, pressed "G", and it took 5.5 minutes to get all the way to the
>> bottom. journalctl used lots of CPU throughout and regularly went to
>> 99% CPU utilization.
>>
>> This is on a 3.5 year old laptop with a Core i5 M 430 and a 5,400 RPM
>> hard drive.
>
> If this only happens with some journalctl versions, any change you could
> git bisect this and fiugre out what made journalctl so slow?
Well as noted in my original mail, I've been getting similarly bad
performance between 195 and 207 and thus I'm not convinced this is a
regression as such. Seems more likely just a general problem that has
always been present but is only showing up now when sufficient amounts
of journal log data has been generated.
Perhaps some performance tests are needed to generate synthetic large
journals?
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel
mailing list