running a core i7 2630QM and 8 GB RAM
boot time until kdm (manually timed) is aprox 1:40
this is the bootchart output, but i really cant understand a thing of whats in there, so if anyone can lead me i would be very gratefull.
running a core i7 2630QM and 8 GB RAM
boot time until kdm (manually timed) is aprox 1:40
this is the bootchart output, but i really cant understand a thing of whats in there, so if anyone can lead me i would be very gratefull.
Last edited by Catastrophe; 24th April 2012 at 03:24 AM. Reason: removed pic to avoid clutter
ASUS g74sx-bbk7 -- Fedora 17 x64
Intel CORE i7 2630QM @2GHz // nVidia GeForce GTX 560M 2GB // 8GB DDR3 1333 MHz SDRAM // 2 x 500GB 7,200rpm
Can't even read it.
You need to attach the full image...
sorry, didnt think photobucket woud scale it
ASUS g74sx-bbk7 -- Fedora 17 x64
Intel CORE i7 2630QM @2GHz // nVidia GeForce GTX 560M 2GB // 8GB DDR3 1333 MHz SDRAM // 2 x 500GB 7,200rpm
try:
it's much easier to figure out and use (it shows a time sorted list with the biggest times on the top and smallest on the bottom of the list.)systemd-analyze blame
if you also just want a simple totalled up breakdown just do:
system-analyze
Like on my machine here, I get for that:
Startup finished in 2760ms (kernel) + 2437ms (initramfs) + 18853ms (userspace) = 24050ms
thanks, this is the output
Code:$ systemd-analyze blame 60423ms sm-client.service 60098ms sendmail.service 13103ms udev-settle.service 8358ms var-lib-nfs-rpc_pipefs.mount 4751ms systemd-binfmt.service 4722ms systemd-vconsole-setup.service 4300ms fedora-loadmodules.service 3848ms proc-sys-fs-binfmt_misc.mount 3748ms bootchart.service 3212ms remount-rootfs.service 2599ms avahi-daemon.service 2340ms media.mount 2330ms sys-kernel-security.mount 2266ms dev-hugepages.mount 2260ms sys-kernel-debug.mount 2259ms dev-mqueue.mount 2101ms sshd-keygen.service 2090ms ip6tables.service 2089ms livesys.service 2088ms iptables.service 2072ms auditd.service 1664ms systemd-readahead-collect.service 1657ms systemd-readahead-replay.service 1650ms NetworkManager.service 1573ms sys-kernel-config.mount 1561ms rsyslog.service 1490ms systemd-logind.service 1439ms fedora-readonly.service 1384ms dbus.service 1276ms mcelog.service 1182ms console-kit-log-system-start.service 1088ms acpid.service 1073ms abrt-ccpp.service 1069ms netfs.service 1058ms abrt-vmcore.service 1054ms irqbalance.service 1043ms iscsid.service 965ms systemd-sysctl.service 922ms fcoe.service 845ms mdmonitor-takeover.service 713ms rpcbind.service 561ms udev-trigger.service 548ms systemd-remount-api-vfs.service 512ms udev.service 496ms mnt-Data2.mount 424ms mnt-Data1.mount 381ms fedora-storage-init.service 241ms fedora-wait-storage.service 218ms boot.mount 209ms nfs-lock.service 166ms preload.service 164ms systemd-user-sessions.service 81ms fedora-storage-init-late.service 72ms systemd-tmpfiles-setup.service 55ms console-kit-daemon.service 49ms lvm2-monitor.service 30ms livesys-late.service 18ms sandbox.service 17ms nfs-idmap.service 3ms rtkit-daemon.serviceso..... now that i have this what should i do? i dont really want to go around breaking my system for disabling a service i shouldnt have.Code:$ systemd-analyze Startup finished in 2144ms (kernel) + 2044ms (initramfs) + 169372ms (userspace) = 173562ms
Last edited by Catastrophe; 24th April 2012 at 04:04 AM.
ASUS g74sx-bbk7 -- Fedora 17 x64
Intel CORE i7 2630QM @2GHz // nVidia GeForce GTX 560M 2GB // 8GB DDR3 1333 MHz SDRAM // 2 x 500GB 7,200rpm
Those two are the biggies, you probably don't even use sendmail (if you don't know then you likely aren't). do this:
The next reboot should be much fastersu -
<root password>
systemctl stop sm-client.service
systemctl stop sendmail.service
systemctl disable sm-client.service
systemctl disable sendmail.service
exit
mmmm, that didnt seem to work..... to get to kdm still takes more than 1:30
the desktop startup after kdm does seem snappier thoughCode:$ systemd-analyze Startup finished in 2132ms (kernel) + 2946ms (initramfs) + 90352ms (userspace) = 95431ms $ systemd-analyze blame 13904ms udev-settle.service 8600ms var-lib-nfs-rpc_pipefs.mount 7650ms systemd-vconsole-setup.service 4706ms systemd-binfmt.service 4492ms fedora-loadmodules.service 4394ms proc-sys-fs-binfmt_misc.mount 3978ms bootchart.service 3577ms avahi-daemon.service 3548ms NetworkManager.service 3540ms rsyslog.service 3287ms console-kit-log-system-start.service 3267ms livesys.service 3265ms ip6tables.service 3264ms iptables.service 3249ms auditd.service 3248ms sshd-keygen.service 3213ms acpid.service 3159ms abrt-ccpp.service 3049ms fedora-readonly.service 2571ms mnt-Data1.mount 2158ms fedora-wait-storage.service 1828ms abrt-vmcore.service 1513ms fedora-storage-init-late.service 1507ms mcelog.service 1461ms irqbalance.service 1201ms media.mount 1041ms sys-kernel-security.mount 1033ms dev-hugepages.mount 1025ms sys-kernel-debug.mount 1018ms dev-mqueue.mount 914ms dbus.service 841ms remount-rootfs.service 807ms udev-trigger.service 773ms udev.service 600ms systemd-remount-api-vfs.service 593ms fedora-storage-init.service 572ms systemd-logind.service 565ms systemd-readahead-collect.service 557ms systemd-readahead-replay.service 437ms netfs.service 429ms systemd-sysctl.service 424ms mdmonitor-takeover.service 398ms iscsid.service 343ms fcoe.service 290ms nfs-lock.service 234ms boot.mount 210ms mnt-Data2.mount 162ms lvm2-monitor.service 155ms nfs-idmap.service 101ms iscsi.service 92ms systemd-user-sessions.service 84ms console-kit-daemon.service 73ms systemd-tmpfiles-setup.service 30ms sandbox.service 27ms sys-kernel-config.mount 24ms preload.service 20ms livesys-late.service 5ms rpcbind.service 2ms rtkit-daemon.service 0ms sys-fs-fuse-connections.mount
ASUS g74sx-bbk7 -- Fedora 17 x64
Intel CORE i7 2630QM @2GHz // nVidia GeForce GTX 560M 2GB // 8GB DDR3 1333 MHz SDRAM // 2 x 500GB 7,200rpm
Fedora comes with a lot of stuff you may not need. For instance, if like me you use a very simple disk setup (/dev/sda1 for root, /dev/sda2 for home and /dev/sda3 for swap), you can get rid of a bunch of disk related services that take up a lot of boot time. And if you think abrt reports are useless and don't want to file them you can disable those. Same for mce logs. Same for pcoe services. And so on and so forth. Basically, by removing or disabling the stuff you don't need/use, you'll get a faster, and possibly even stabler and more secure system.
Below is what a boot up looks like on my intel core-duo with 3GB ddr3 on a 5400 rpm hard-drive.
[root@nixpad]# systemd-analyze blame
2419ms systemd-vconsole-setup.service
1706ms remount-rootfs.service
1549ms systemd-binfmt.service
1452ms proc-sys-fs-binfmt_misc.mount
1106ms media.mount
1101ms sys-kernel-security.mount
1100ms dev-hugepages.mount
1092ms dev-mqueue.mount
1091ms sys-kernel-debug.mount
970ms sys-kernel-config.mount
842ms colord-sane.service
679ms udev-trigger.service
451ms udev.service
397ms NetworkManager.service
317ms avahi-daemon.service
269ms systemd-sysctl.service
269ms rsyslog.service
231ms systemd-readahead-replay.service
230ms systemd-readahead-collect.service
225ms dkms_autoinstaller.service
186ms vboxdrv.service
163ms systemd-remount-api-vfs.service
143ms colord.service
125ms systemd-logind.service
113ms acpid.service
107ms irqbalance.service
104ms systemd-tmpfiles-setup.service
83ms dbus.service
73ms systemd-user-sessions.service
60ms home.mount
45ms udisks2.service
25ms accounts-daemon.service
6ms rtkit-daemon.service
5ms wpa_supplicant.service[root@nixpad]# systemd-analyze
Startup finished in 2722ms (kernel) + 2105ms (initramfs) + 14147ms (userspace) = 18975ms
thanks, taking into account these advice and reading a bit on the web on which services are safe to disable, i managed to speed the process a lot, but im still above the 30 second mark, i think i can get it lower so is there any other service i can give the boot?.
edit:Code:$ systemd-analyze Startup finished in 2160ms (kernel) + 3872ms (initramfs) + 24304ms (userspace) = 30337ms $ systemd-analyze blame 5520ms fedora-loadmodules.service 5132ms systemd-vconsole-setup.service 4693ms systemd-binfmt.service 3959ms var-lib-nfs-rpc_pipefs.mount 3947ms mnt-Data1.mount 3902ms proc-sys-fs-binfmt_misc.mount 2889ms fedora-readonly.service 1402ms NetworkManager.service 1373ms avahi-daemon.service 1326ms udev-trigger.service 1294ms rsyslog.service 1004ms console-kit-log-system-start.service 999ms mdmonitor-takeover.service 992ms media.mount 978ms sys-kernel-security.mount 976ms dev-hugepages.mount 925ms sys-kernel-debug.mount 923ms systemd-logind.service 918ms dev-mqueue.mount 899ms systemd-sysctl.service 863ms dbus.service 764ms udev.service 626ms netfs.service 600ms iscsid.service 596ms systemd-remount-api-vfs.service 595ms systemd-readahead-collect.service 590ms remount-rootfs.service 588ms systemd-readahead-replay.service 538ms sandbox.service 531ms iptables.service 515ms ip6tables.service 493ms auditd.service 484ms sshd-keygen.service 472ms systemd-tmpfiles-setup.service 416ms acpid.service 284ms abrt-ccpp.service 192ms mnt-Data2.mount 149ms rpcbind.service 123ms abrt-vmcore.service 120ms irqbalance.service 100ms boot.mount 87ms nfs-lock.service 54ms preload.service 51ms console-kit-daemon.service 27ms systemd-user-sessions.service 10ms nfs-idmap.service 6ms sys-kernel-config.mount 3ms rtkit-daemon.service 0ms sys-fs-fuse-connections.mount
here's my /etc/fstab just in case (there's another ntfs partition holding win7)
Code:# # /etc/fstab # Created by anaconda on Tue Apr 10 17:21:01 2012 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=3f378778-8da5-4a52-af26-a825f601de8c / ext4 defau$ UUID=2608cfca-2b7e-4799-a2a6-da374ed2a40a /boot ext4 defau$ #ntfs /dev/sda4 /mnt/Data2 ntfs-3g default$ /dev/sdb1 /mnt/Data1 ntfs-3g default$
Last edited by Catastrophe; 24th April 2012 at 05:53 AM.
ASUS g74sx-bbk7 -- Fedora 17 x64
Intel CORE i7 2630QM @2GHz // nVidia GeForce GTX 560M 2GB // 8GB DDR3 1333 MHz SDRAM // 2 x 500GB 7,200rpm
To, catastrophe, Am i correct in assuming that you have disabled following services?
Further have you tried booting by removing ntfs entry from etc/fstab. You can compare the results to find out culprit.60423ms sm-client.service
60098ms sendmail.service
593ms fedora-storage-init.service
3978ms bootchart.service
343ms fcoe.service
3267ms livesys.service
2158ms fedora-wait-storage.service
20ms livesys-late.service
162ms lvm2-monitor.service
1513ms fedora-storage-init-late.service
1507ms mcelog.service
13904ms udev-settle.service
101ms iscsi.service
I think your entry for ntfs in /etc/fstab should be containing 0 0 at the end, however it can be clarified by more knowledgable forum member.
EDIT: Whith these lines, no warenty, nor garanty applyies, do all changes to your system at your own risk!
The outout ofr /etc/fstab looks like copy pasted from a terminal editor, as it is incomplete and ends with $..
If you dont use SCSI harddisks, you may disable the "iscsi.service" and "iscsid.service" modules.
If you dont use a NAS/NFS, you might try to disable the "netfs.service, nfs-idmap.service, nfs-lock.service" modules.
I'm not very sure how (un-)safe it is to disable: var-lib-nfs-rpc_pipefs.mount.
For you to compare:
Code:[simon@l670 bin]$ blame 4744ms udev-settle.service 2959ms systemd-vconsole-setup.service 2617ms remount-rootfs.service 2376ms media.mount 2350ms dev-hugepages.mount 2326ms sys-kernel-security.mount 2310ms sys-kernel-debug.mount 2292ms dev-mqueue.mount 2040ms udev-trigger.service 1791ms fedora-readonly.service 1650ms mdmonitor-takeover.service 1588ms udev.service 1373ms systemd-remount-api-vfs.service 1180ms autofs.service 1010ms sys-kernel-config.mount 868ms netfs.service 588ms NetworkManager.service 479ms fedora-storage-init.service 451ms vboxdrv.service 426ms systemd-sysctl.service 334ms systemd-readahead-collect.service 322ms fedora-storage-init-late.service 303ms rsyslog.service 300ms systemd-readahead-replay.service 298ms console-kit-log-system-start.service 232ms systemd-logind.service 231ms iptables.service 213ms auditd.service 205ms sshd-keygen.service 194ms home.mount 191ms avahi-daemon.service 182ms acpid.service 173ms vboxweb-service.service 168ms abrt-ccpp.service 164ms abrt-vmcore.service 143ms irqbalance.service 138ms systemd-tmpfiles-setup.service 112ms dbus.service 58ms fedora-wait-storage.service 49ms vboxballoonctrl-service.service 49ms console-kit-daemon.service 39ms dev-sda3.swap 22ms rtkit-daemon.service 14ms systemd-user-sessions.service 0ms sys-fs-fuse-connections.mount 45 services: Total = 39.552 seconds Startup finished in 2068ms (kernel) + 4177ms (initramfs) + 11592ms (userspace) = 17838msCode:#!/bin/bash # | Script written by RupertPumpkin systemd-analyze blame|awk '{print $0;sum=sum+$1} END {print NR,"services: Total =",sum/1000,"seconds"}' systemd-analyze time
Last edited by sea; 24th April 2012 at 11:39 AM.
* Shell Wrapper and Runtime Modifier (SWARM): https://github.com/sri-arjuna/SWARM
* Yet Another Simple Script Installer (YASSI): https://forums.fedoraforum.org/showthread.php?323099
* EFI Cheatsheet :: http://forums.fedoraforum.org/showthread.php?t=298546
* Windows 8+ & Fedora 20+ Dualboot :: http://forums.fedoraforum.org/showthread.php?t=298161
removed all iscsi and nfs-related services:
im pretty sure that 71 secs figure for 41 services is, well, abnormalCode:$ ./blame 3923ms fedora-loadmodules.service 3813ms systemd-binfmt.service 3769ms proc-sys-fs-binfmt_misc.mount 3724ms systemd-vconsole-setup.service 2894ms mnt-Data2.mount 2664ms mnt-Data1.mount 2556ms NetworkManager.service 2508ms avahi-daemon.service 2495ms rsyslog.service 2461ms sandbox.service 2451ms iptables.service 2431ms ip6tables.service 2416ms auditd.service 2413ms sshd-keygen.service 2395ms acpid.service 2379ms irqbalance.service 2314ms fedora-readonly.service 2304ms systemd-logind.service 2267ms systemd-user-sessions.service 2263ms dbus.service 1890ms udev-trigger.service 1742ms mdmonitor-takeover.service 1739ms media.mount 1726ms sys-kernel-security.mount 1722ms dev-hugepages.mount 1706ms sys-kernel-debug.mount 1700ms dev-mqueue.mount 1692ms udev.service 724ms systemd-remount-api-vfs.service 717ms remount-rootfs.service 381ms systemd-sysctl.service 298ms console-kit-log-system-start.service 217ms systemd-readahead-collect.service 198ms systemd-readahead-replay.service 142ms systemd-tmpfiles-setup.service 130ms boot.mount 107ms preload.service 93ms console-kit-daemon.service 33ms sys-kernel-config.mount 2ms rtkit-daemon.service 1ms rpcbind.service 41 services: Total = 71.4 seconds Startup finished in 2153ms (kernel) + 3395ms (initramfs) + 29010ms (userspace) = 34560ms
comparatively speaking the individual times for some processes seem too high, for example sillav's 397ms networkmanager vs. the 2556ms on mine, among others.
and my real fstab
Code:# # /etc/fstab # Created by anaconda on Tue Apr 10 17:21:01 2012 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=3f378778-8da5-4a52-af26-a825f601de8c / ext4 defaults,user_xattr 1 1 UUID=2608cfca-2b7e-4799-a2a6-da374ed2a40a /boot ext4 defaults 1 2 #ntfs /dev/sda4 /mnt/Data2 ntfs-3g defaults 0 0 /dev/sdb1 /mnt/Data1 ntfs-3g defaults 0 0
ASUS g74sx-bbk7 -- Fedora 17 x64
Intel CORE i7 2630QM @2GHz // nVidia GeForce GTX 560M 2GB // 8GB DDR3 1333 MHz SDRAM // 2 x 500GB 7,200rpm