Merhaba arkadaşlar sistemin başlangıçta yavaş açıldığını düşünüyorum. Gerekli çıktılar aşağıdadır ne yapmak gerekir?
1.Sorgu:
systemd-analyze
Çıktısı:
Startup finished in 3.775s (kernel) + 39.071s (userspace) = 42.846s
2.Sorgu
systemd-analyze blame
Çıktısı:
15.801s apt-daily.service
11.028s ufw.service
8.274s dev-sda7.device
6.215s systemd-modules-load.service
6.169s NetworkManager-wait-online.service
6.093s systemd-tmpfiles-setup-dev.service
6.073s systemd-journald.service
4.823s accounts-daemon.service
4.727s NetworkManager.service
4.630s ModemManager.service
3.761s lightdm.service
3.300s polkitd.service
3.189s mnt-03F93A2D75F740CD.mount
1.590s thermald.service
1.578s upower.service
1.221s iio-sensor-proxy.service
948ms keyboard-setup.service
883ms systemd-rfkill.service
878ms gpu-manager.service
807ms apparmor.service
683ms avahi-daemon.service
640ms systemd-fsck@dev-disk-by\x2duuid-76ff7bf2\x2de235\x2d4269\x2d96d7\x2
601ms grub-common.service
573ms networking.service
503ms resolvconf.service
500ms pantheon-parental-controls.service
432ms irqbalance.service
400ms dev-mqueue.mount
386ms packagekit.service
369ms dev-hugepages.mount
348ms sys-kernel-debug.mount
266ms systemd-tmpfiles-setup.service
223ms console-setup.service
221ms systemd-update-utmp.service
210ms udisks2.service
171ms dev-disk-by\x2duuid-f316d683\x2d35c1\x2d4471\x2d9e48\x2d643233be0740
162ms systemd-udevd.service
159ms boot.mount
143ms kmod-static-nodes.service
105ms systemd-sysctl.service
100ms rsyslog.service
95ms wpa_supplicant.service
78ms colord.service
lines 1-43
Açılışı arkaplanda birkaç servisi kapatıp 5 saniye kadar erkene albilirsin o da gereksiz onun yerine SSD'ye geçmeni tavsiye ederim. SSD ile %60 civarı açılış hızlanmasıyla 15 saniyelerde sistem açılır. ;)
arch üzerinde 7 sn kadar kazandırır bizlere ama sizlerde nasıl yapıldığını bilemiyorum. Bu komutların ubuntu uyarlaması gerekli :))
[ata@ata]: ~>$ systemd-analyze
Startup finished in 2.913s (kernel) + 26.493s (userspace) = 29.407s
[ata@ata]: ~>$ sudo mkinitcpio -g /boot/initramfs-linux.img
[sudo] password for ata:
==> Starting build: 4.12.8-2-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
[ata@ata]: ~>$ sudo mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.12.8-2-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.12.8-2-ARCH
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
[ata@ata]: ~>$
[ata@ata]: ~>$ systemd-analyze
Startup finished in 2.904s (kernel) + 16.103s (userspace) = 19.008s
not bu ssd ile yapılan işlemdir.
[mention=630151]@ata1[/mention], ssd ye göre biraz yavaş açılmıyormu ?
Sizinki iyiymiş yine be :P
Startup finished in 15.181s (kernel) + 30.225s (userspace) = 45.406s
Buda benimki :D
Startup finished in 3.780s (kernel) + 2.263s (userspace) = 6.043s
[mention=630158]@lnxdev[/mention]
[ata@ata]: ~>$ systemd-analyze
Startup finished in 3.015s (kernel) + 1.795s (userspace) = 4.810s
[ata@ata]: ~>$
bende neyin ne olduğunu biliyorum kardeşim ama bende açılışa ekli birçok işlem var onlar olmadan açılışım budur.hatta bazı işlemler sonrası 2.17 lere çekebiliyorum gerek var mı sence bunlara. amacımız kimin açılışı hızlı değil arkadaşa yol göstermek.
[ata@ata]: ~>$ systemd-analyze blame
972ms dev-sda2.device
357ms upower.service
289ms systemd-binfmt.service
204ms NetworkManager.service
177ms systemd-udev-trigger.service
168ms ldconfig.service
139ms systemd-journal-flush.service
138ms systemd-sysctl.service
134ms systemd-remount-fs.service
134ms kmod-static-nodes.service
130ms udisks2.service
106ms systemd-sysusers.service
91ms proc-sys-fs-binfmt_misc.mount
91ms systemd-random-seed.service
88ms dev-hugepages.mount
88ms systemd-tmpfiles-setup-dev.service
86ms dev-mqueue.mount
85ms polkit.service
83ms systemd-journald.service
61ms systemd-fsck@dev-disk-by\x2duuid-8596680f\x2d59cf\x2d4d58\x2dba
58ms user@1000.service
56ms lightdm.service
53ms systemd-logind.service
lines 1-23