[systemd-devel] Fwd: Journalctl performance

Lennart Poettering lennart at poettering.net
Mon Sep 30 19:03:11 PDT 2013


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?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list