systemd-networkdが起動プロセスで遅すぎるのはなぜですか?システム依存関係に関する質問

systemd-networkdが起動プロセスで遅すぎるのはなぜですか?システム依存関係に関する質問

systemdを使用してGentoo Linuxシステムの起動速度を向上させることができるかどうかを調べています。私のオンボードネットワークカード(rtl8111g)はキャリアを検出するのに長い時間がかかりましたが、systemd-networkdがインターフェイスを初期化した後にのみそれを試していることがわかりました。起動プロセスの初期に初期化を開始しようとしています。

ネットワークインターフェイスの初期化systemd-networkd.serviceはによって異なりますnetwork-pre.target。唯一のサービスnetwork-pre.targetですnftables-restore.service。以下はとsystemd-analyze critical-chainの出力ですsystemd-analze plot

local-fs.targetインストールを待つのは、新しいシステムパッケージを待つこととは別の問題です。)

なぜsystemd-networkd.serviceこの時点で始まるのですか?それが何を待っているのか、どうすればわかりますか?

The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

planes.target @18.601s
└─multi-user.target @18.601s
  └─getty.target @18.601s
    └─[email protected] @18.598s
      └─apache2.service @18.594s
        └─nss-lookup.target @18.590s
          └─pdns-recursor.service @17.790s +799ms
            └─network-online.target @17.750s
              └─[email protected] @17.179s +570ms
                └─basic.target @8.851s
                  └─sockets.target @8.846s
                    └─systemd-journal-remote.socket @8.842s
                      └─sysinit.target @8.740s
                        └─systemd-timesyncd.service @8.364s +369ms
                          └─systemd-tmpfiles-setup.service @8.113s +238ms
                            └─local-fs.target @8.103s
                              └─mnt-sdb3-snapshots.mount @3.073s +5.024s
                                └─systemd-fsck@dev-disk-by\x2duuid-6e2797f3\x2dd0ab\x2d4aa1\x2db262\x2dc2395fd0626e.service @2.970s +54ms
                                  └─dev-disk-by\x2duuid-6e2797f3\x2dd0ab\x2d4aa1\x2db262\x2dc2395fd0626e.device @2.888s

案内図

ベストアンサー1

おすすめ記事