Dec 20, 2012

openSUSE Forums: how can I have a faster boot time? 12.2 x64 kde, over 1min

openSUSE Forums
openSUSE Forums
how can I have a faster boot time? 12.2 x64 kde, over 1min
Dec 20th 2012, 09:54

Hi, I'm pretty new to opensuse and linux in general.

I'm coming from kubuntu 12.04 and opensuse's boot time always seemed way slower, even when vanilla.
I have this 12.2 running since the day of release, was a fresh install, not updated from previous versions.

Today I timed from grub to desktop it's around 1min15sec!
I'd like to see what is bottle necking/what I could disable.

First the system is a laptop with:

  • Intel Core i7 Quad-Core 2720QM 2.2GHz, up to 3.4 GHz in Turbo Boost mode
  • 8GB DDR3
  • 500GB Hard Drive 7200rpm
  • Sandy bridge: Intel HD Graphics 3000 and NVIDIA Quadro 1000M
  • I mainly use wi-fi connection



I have Opensuse 12.2 x64, it's not vanilla, is fully bloated, I added a lot of repos and quite some apps:

Code:

#  | Alias                      | Name                              | Enabled | Refresh                         
---+-----------------------------+------------------------------------+---------+--------                         
 1 | BumbleNvidiaLTS            | BumbleNvidiaLatest                | Yes    | Yes                             
 2 | Packman                    | Packman                            | Yes    | Yes   
 3 | Wine                        | Wine                              | Yes    | Yes   
 4 | fix_vmvirtualbox            | fix vmvirtualbox                  | Yes    | Yes   
 5 | google-earth                | google-earth                      | Yes    | Yes   
 6 | home:AndreasStieger        | home:AndreasStieger                | Yes    | Yes   
 7 | home:Overman79              | home:Overman79                    | Yes    | Yes   
 8 | home:neocrust              | home:neocrust                      | Yes    | Yes   
 9 | kde49extra                  | kde49extra                        | Yes    | Yes   
10 | kde_SC_4.9_aka_kr49        | kde SC 4.9 aka kr49                | Yes    | Yes   
11 | kernel                      | kernel                            | Yes    | Yes   
12 | mozilla_repo                | mozilla repo                      | Yes    | Yes   
13 | multimedia:color_management | multimedia:color_management        | Yes    | Yes   
14 | repo-debug                  | openSUSE-12.2-Debug                | No      | Yes   
15 | repo-debug-update          | openSUSE-12.2-Update-Debug        | No      | Yes   
16 | repo-debug-update-non-oss  | openSUSE-12.2-Update-Debug-Non-Oss | No      | Yes   
17 | repo-non-oss                | openSUSE-12.2-Non-Oss              | Yes    | Yes   
18 | repo-oss                    | openSUSE-12.2-Oss                  | Yes    | Yes   
19 | repo-source                | openSUSE-12.2-Source              | No      | Yes   
20 | repo-update                | openSUSE-12.2-Update              | Yes    | Yes   
21 | repo-update-non-oss        | openSUSE-12.2-Update-Non-Oss      | Yes    | Yes   
22 | swyear_bumblebee            | swyear bumblebee                  | Yes    | Yes

---------------------------------------------------------------------------------------------------------------------------------------------

In a few words Kde 4.9, kernel 3.7.1, nvidia beta 310.19 with bumblebee (it's a sandy bridge notebook) etc.

As I said I'm pretty noob about linux backend, but I read first asked things are systemd-analyze plot and blame... here they are:
systemd-analyze
Code:

Startup finished in 5520ms (kernel) + 37300ms (userspace) = 42820ms
systemd-analyze blame
Code:

  8647ms NetworkManager.service
  6659ms avahi-daemon.service
  5071ms SuSEfirewall2_init.service
  3588ms dkms_autoinstaller.service
  3332ms systemd-vconsole-setup.service
  1485ms media-windows7.mount
  1166ms systemd-modules-load.service
  1045ms remount-rootfs.service
  805ms localnet.service
  791ms media.mount
  786ms var-lock.mount
  784ms dev-mqueue.mount
  778ms sys-kernel-security.mount
  776ms dev-hugepages.mount
  774ms udev-root-symlink.service
  774ms sys-kernel-debug.mount
  773ms var-run.mount
  755ms systemd-remount-api-vfs.service
  693ms media-posta.mount
  524ms auditd.service
  466ms rtkit-daemon.service
  462ms console-kit-daemon.service
  447ms SuSEfirewall2_setup.service
  282ms vboxdrv.service
  263ms cycle.service
  203ms systemd-readahead-collect.service
  192ms home.mount
  180ms systemd-readahead-replay.service
  159ms systemd-sysctl.service
  158ms udev.service
  155ms systemd-logind.service
  137ms syslog.service
  105ms console-kit-log-system-start.service
  103ms fbset.service
  101ms cpufreq.service
    84ms brld.service
    84ms network-remotefs.service                                                                                 
    70ms jexec.service                                                                                           
    49ms bluez-coldplug.service                                                                                   
    42ms sshd.service                                                                                             
    41ms systemd-user-sessions.service                                                                           
    39ms xdm.service                                                                                             
    37ms network.service                                                                                         
    36ms rc-local.service                                                                                         
    34ms udev-trigger.service                                                                                     
    33ms quota.service                                                                                           
    21ms systemd-tmpfiles-setup.service                                                                           
    17ms vboxautostart-service.service                                                                           
    17ms sbl.service                                                                                             
    17ms acpid.service                                                                                           
    13ms vboxballoonctrl-service.service                                                                         
    11ms proc-sys-fs-binfmt_misc.mount                                                                           
    10ms vboxweb-service.service                                                                                 
    5ms upower.service                                                                                           
    3ms sys-fs-fuse-connections.mount

systemd-analyze plot
is quite big, 414kb
https://www.dropbox.com/sh/xpy3yf3xw...oatimeslow.svg

I'm automounting these, here /etc/fstab:
Code:

UUID="695798c0-8a5f-4736-8b09-10fec7a60965"    /      ext4    acl,user_xattr,noatime  1      1
UUID="d8434392-55ee-4ade-b2b7-dd2d5814d824"    /home  ext4    acl,user_xattr,noatime  1      2
UUID="ba619292-af12-4408-af20-8b39b453186f"    swap    swap    defaults        0      0
UUID="F2DC-E082"        /media/posta    vfat    defaults,user,dmask=000,fmask=111,noatime      0      2
UUID="57BDAB375330FD37" /media/windows7 ntfs-3g defaults,locale=it_IT.utf8,noatime      0      2
proc    /proc  proc    defaults        0      0
sysfs  /sys    sysfs  noauto  0      0
debugfs /sys/kernel/debug      debugfs noauto  0      0
devpts  /dev/pts        devpts  mode=0620,gid=5 0      0


____________________________________________________________________________________________________

- What can I do to have a faster boot looking at that plot?
kernel loads in 5 sec, the rest is all userspace!


Thank you,
Roberto.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: