You are not logged in.

#1 2021-12-11 04:26:55

eyes
Member
Registered: 2021-10-26
Posts: 25

[Solved] [Read the wiki] DHCPCD Taking up huge amount of boot time

Title explains the issue. Disabling my dhcpcd@interface service drastically increases boot speed. Here is systemd-analyze blame:

15.364s dhcpcd@enp39s0.service
 1.796s systemd-random-seed.service
  136ms systemd-journal-flush.service
  134ms dev-nvme0n1p6.device
   72ms user@1000.service
   48ms systemd-udev-trigger.service
   46ms efi.mount
   44ms ldconfig.service
   41ms systemd-journald.service
   39ms polkit.service
   27ms systemd-udevd.service
   27ms systemd-logind.service
   24ms systemd-fsck@dev-disk-by\x2duuid-651737f8\x2d8a06\x2d490e\x2d83ff\x2ded76d4bcded5.service
   21ms systemd-rfkill.service
   18ms systemd-tmpfiles-setup.service
   13ms home.mount
   13ms systemd-tmpfiles-setup-dev.service
    9ms modprobe@fuse.service
    9ms systemd-journal-catalog-update.service
    8ms systemd-binfmt.service
    7ms dev-disk-by\x2duuid-2e60dbaf\x2d03e7\x2d4453\x2d88cb\x2d4d87aa632c15.swap
    7ms systemd-sysusers.service
    7ms dev-hugepages.mount
    6ms dev-mqueue.mount
    6ms sys-kernel-debug.mount
    6ms sys-kernel-tracing.mount
    5ms kmod-static-nodes.service
    5ms user-runtime-dir@1000.service
    5ms modprobe@configfs.service
    5ms modprobe@drm.service
    3ms systemd-update-utmp.service
    3ms systemd-remount-fs.service
    3ms systemd-sysctl.service
    3ms systemd-user-sessions.service
    2ms systemd-update-done.service
    2ms rtkit-daemon.service
    2ms alsa-restore.service
    1ms proc-sys-fs-binfmt_misc.mount
    1ms tmp.mount
    1ms sys-fs-fuse-connections.mount
  981us sys-kernel-config.mount

dmesg:
http://ix.io/3HF6

journalctl | grep dhcpcd:
http://ix.io/3HF7

I've read these logs, and the only thing that I can see that appears wrong is that dhcpcd seems to be handling my wireless interface wlp41s0, which I guess could be causing a timeout of some kind since it's not configured. I don't know if this is right though, or where to go with this information.

Last edited by eyes (2021-12-16 01:01:36)

Offline

#2 2021-12-11 07:47:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,154

Re: [Solved] [Read the wiki] DHCPCD Taking up huge amount of boot time

Instead of a color grep (w/ escape codes) across all boots, please post the complete journal of one boot w/ dhcpcd enabled
Eg.

sudo journalctl -b -1 | curl -F 'f:1=<-' ix.io

for the previous one.

From what I can already see and the symptoms, also

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Offline

#3 2021-12-14 01:49:25

eyes
Member
Registered: 2021-10-26
Posts: 25

Re: [Solved] [Read the wiki] DHCPCD Taking up huge amount of boot time

seth wrote:

Instead of a color grep (w/ escape codes) across all boots

Yeah that's embarassing. I just piped it to ixio and didnt check the output. Here's what you need: http://ix.io/3IjQ

seth wrote:

From what I can already see and the symptoms, also

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

and this script:

dhcpcd@enp39s0.service                   | multi-user.target.wants
dirmngr.socket                           | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
p11-kit-server.socket                    | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants'

Last edited by eyes (2021-12-14 01:54:48)

Offline

#4 2021-12-14 02:31:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,493
Website

Re: [Solved] [Read the wiki] DHCPCD Taking up huge amount of boot time


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2021-12-16 02:40:42

eyes
Member
Registered: 2021-10-26
Posts: 25

Re: [Solved] [Read the wiki] DHCPCD Taking up huge amount of boot time

sigh



thank you for fixing my problem (not reading the arch wiki pages for packages that I install)

Offline

Board footer

Powered by FluxBB