ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei-mezin@rambler.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] systemd -- 2 минуты ожидания
Date: Mon, 08 Sep 2014 21:44:00 +0400
Message-ID: <lukpsu$q5r$1@ger.gmane.org> (raw)
In-Reply-To: <20140908170755.GA6595@mw.mithraen.ru>

08.09.2014 21:07, Денис Смирнов пишет:

> Какая версия etcnet? Если меньше 0.9.10-alt12, надо обновить.
Версия из сегодняшнего сизифа, то есть 0.9.10-alt13.


> Используются ли какие-нибудь if{up,down}-{pre,post} скрипты?

Нет, совершенно стандартный etcnet на домашней машине, один интерфейс 
вот с такими настройками

BOOTPROTO=dhcp
TYPE=eth
CONFIG_WIRELESS=no
CONFIG_IPV4=yes
DISABLED=no
NM_CONTROLLED=no
MODULE=forcedeth

Второй интерфейс не используется:

TYPE=eth
CONFIG_WIRELESS=no
CONFIG_IPV4=yes
BOOTPROTO=static
MODULE=3c59x
ONBOOT=no


Диагностика, которую я умею, ничего не говорит.

[root@bigbear lanx]# systemd-analyze blame
           6.369s cups.service
           4.244s altlinux-openresolv.service
           4.150s systemd-udev-settle.service
           3.690s systemd-fsck-root.service
           2.187s lvm2-activation-net.service
           1.900s sshd.service
           1.334s systemd-vconsole-setup.service
           1.307s systemd-tmpfiles-setup-dev.service
           1.086s sys-kernel-debug.mount
           1.083s dev-mqueue.mount
           1.080s colord.service
           1.080s dev-hugepages.mount
           1.053s altlinux-kmsg-loglevel.service

[root@bigbear lanx]# systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" 
character.
The time the unit takes to start is printed after the "+" character.

graphical.target @2min 18.833s
└─multi-user.target @2min 18.833s
   └─cups.service @2min 12.464s +6.369s
     └─gpm.service @2min 12.236s +78ms
       └─consolesaver.service @2min 12.210s +21ms
         └─klogd.service @2min 12.038s +158ms
           └─syslog-ng.service @2min 11.387s +649ms
             └─vboxdrv.service @2min 10.691s +692ms
               └─dbus.service @10.593s
                 └─basic.target @10.578s
                   └─timers.target @10.575s
                     └─systemd-tmpfiles-clean.timer @10.575s
                       └─sysinit.target @10.555s
                         └─systemd-update-utmp.service @10.550s +3ms
                           └─systemd-tmpfiles-setup.service @10.456s +91ms
                             └─local-fs.target @10.452s
                               └─home.mount @10.406s +45ms
 
└─systemd-fsck@dev-disk-by\x2duuid-f75371f5\x2d4b9d\x2d4599\x2dbc1f\x2dbb3d71744f84.service 
@10.177s +190ms
 
└─dev-disk-by\x2duuid-f75371f5\x2d4b9d\x2d4599\x2dbc1f\x2dbb3d71744f84.device 
@10.170s


То есть система грузится за 20 секунд. Однако, на самом деле более 2 
минут. И если сделать systemd-analyze svg, то там реально шкала на 2+ 
минуты. 
https://drive.google.com/file/d/0B_EKK-X494ggbkVrRWk2dkI4YTg/edit?usp=sharing



  reply	other threads:[~2014-09-08 17:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 16:23 Alexei V. Mezin
2014-09-08 17:07 ` Денис Смирнов
2014-09-08 17:44   ` Alexei V. Mezin [this message]
2014-09-08 18:11     ` andriy
2014-09-08 18:16       ` Денис Смирнов
2014-09-09  9:34           ` Денис Смирнов
2014-09-08 18:13     ` Денис Смирнов
2014-09-08 19:04       ` Alexei V. Mezin
2014-09-08 19:10         ` Alexey Shabalin
2014-09-08 20:06         ` Денис Смирнов
2014-09-08 21:21           ` Alexei V. Mezin
2014-09-09  9:18             ` Денис Смирнов
2014-09-09 17:05               ` Alexei V. Mezin
2014-09-10 10:03                 ` Денис Смирнов
2014-09-10 20:27                   ` Alexei V. Mezin
2014-09-10 21:25                     ` Денис Смирнов
2014-09-10 22:23                       ` Alexei V. Mezin
2014-09-10 22:56                         ` Денис Смирнов
2014-09-11 16:32                           ` Alexei V. Mezin
2014-09-11 17:20                             ` Mikhail Efremov
2014-09-11 17:48                               ` Alexei V. Mezin
2014-09-11 22:21                                 ` Mikhail Efremov
2014-09-11 22:27                                   ` Денис Смирнов
2014-09-11 22:33                                     ` Mikhail Efremov
2014-09-12 10:12                                       ` Денис Смирнов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='lukpsu$q5r$1@ger.gmane.org' \
    --to=alexei-mezin@rambler.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git