Re: is it the future?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-09-14 0:26 GMT+03:00 Lars E. Pettersson <lars@xxxxxxxx>:
> On 09/12/14 21:12, Kevin Fenzi wrote:
>> The amount of memory and i/o is trivial, IMHO.
>
>
> Trivial? Take a look at my nine month old bug report, that has received no
> response whatsoever form the systemd maintainers, about the sluggishness of
> the journal compared to the good old text based log files.
>
> <https://bugzilla.redhat.com/show_bug.cgi?id=1047719>
>
> Even 'systemctl status some_service' take way too long time due to the
> sluggish journal.
>
It is not slow if you have little journal content, as you would in
cases where you prefer plain-text logs and set journald to not keep a
persistent log. At least in my experience, even a Raspberry pi with
less than 200 MiB of RAM can easily handle it.

If you have a large amount of content in the journal, accessing it
takes a bit time. I tend to limit the persistent journal size to
something like a few hundred megabytes. Then it can still store many
months worth of data, but performance of journalctl and systemd status
stay reasonable.

At least for me, most of the journal slowness seems to happen when the
journal data is not cached by the kernel. For example, running
systemctl status postgresql took something like 8 seconds on the first
run, but less than 10 ms on the next one.

- Joonas
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux