You are not logged in.

#1 2016-05-06 10:04:28

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Speed up journald

Is there any way to improve performance on jounald?

systemd-analyze blame
           426ms systemd-journald.service
           373ms dev-sda2.device
            87ms systemd-udev-trigger.service
            84ms NetworkManager.service
            70ms systemd-vconsole-setup.service
            69ms systemd-journal-flush.service
            62ms systemd-fsck@dev-disk-by\x2duuid-0e4a9e40\x2d43b6\x2d4890\x2da104\x2d63eb924eb0b4.service
            60ms systemd-user-sessions.service
            60ms alsa-restore.service
            59ms systemd-rfkill.service
            59ms systemd-modules-load.service
            56ms user@1000.service
            47ms systemd-udevd.service
            44ms polkit.service
            31ms systemd-hostnamed.service
            26ms colord.service
            25ms systemd-tmpfiles-setup-dev.service
            21ms tmp.mount
            20ms systemd-logind.service
            20ms home.mount
            19ms dev-mqueue.mount
            17ms wpa_supplicant.service
            17ms systemd-sysctl.service
            17ms kmod-static-nodes.service
            15ms dev-hugepages.mount
            10ms systemd-random-seed.service
            10ms sys-kernel-config.mount
             9ms systemd-remount-fs.service
             9ms sys-fs-fuse-connections.mount
             5ms systemd-tmpfiles-setup.service
             5ms systemd-update-utmp.service
             4ms systemd-backlight@backlight:acpi_video0.service
             3ms sys-kernel-debug.mount
             2ms systemd-backlight@backlight:nv_backlight.service

System boots fast but cannot helping thinking it could go quicker?


Mr Green

Offline

#2 2016-05-06 10:46:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Speed up journald

Seems pretty quick to me.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2016-05-06 13:20:26

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: Speed up journald

Would this get faster if /var/log/journal is smaller? How large is it right now for you? I don't know if it gets faster if it's smaller, but you can tweak limits in /etc/systemd/journald.conf. You can do for example "SystemMaxUse=1G", "MaxFileSec=1week".

Offline

#4 2016-05-07 13:33:11

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Speed up journald

@graysky you can always go faster.... wink

Have set max use too 50M and have cleared out journal (was 520mb).. Not changed other max file yet.


Mr Green

Offline

Board footer

Powered by FluxBB